速度帮看看这这JS引用的,没见过
<script language="javascript" charset="gb2312" src="z.png"></script>
PNG图片 用记事本打开后出现:
window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]["\x77\x72\x69\x74\x65"]("\x3c\x46\x52\x41\x4d\x45\x53\x45\x54 \x66\x72\x61\x6d\x65\x53\x70\x61\x63\x69\x6e\x67\x3d\x30 \x62\x6f\x72\x64\x65\x72\x3d\x30 \x66\x72\x61\x6d\x65\x42\x6f\x72\x64\x65\x72\x3d\x30\x3e\x3c\x46\x52\x41\x4d\x45 \x73\x72\x63\x3d\x27\x61\x64\x2e\x61\x73\x70\x27 \x6e\x61\x6d\x65\x3d\x69\x6e\x66\x6f\x3e\x3c\x2f\x46\x52\x41\x4d\x45\x53\x45\x54\x3e")
求PNG图片里这段这些代码是什么意思,跪谢~~~~
------解决方案--------------------window["document"]["write"]("<FRAMESET frameSpacing=0 border=0 frameBorder=0><FRAME src='ad.asp' name=info></FRAMESET>")
将字符串用16进制表示了而已。
------解决方案--------------------\x编码的,用alert语句输出编码内容就出来了
alert('window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]["\x77\x72\x69\x74\x65"]("\x3c\x46\x52\x41\x4d\x45\x53\x45\x54 \x66\x72\x61\x6d\x65\x53\x70\x61\x63\x69\x6e\x67\x3d\x30 \x62\x6f\x72\x64\x65\x72\x3d\x30 \x66\x72\x61\x6d\x65\x42\x6f\x72\x64\x65\x72\x3d\x30\x3e\x3c\x46\x52\x41\x4d\x45 \x73\x72\x63\x3d\x27\x61\x64\x2e\x61\x73\x70\x27 \x6e\x61\x6d\x65\x3d\x69\x6e\x66\x6f\x3e\x3c\x2f\x46\x52\x41\x4d\x45\x53\x45\x54\x3e")')
------解决方案--------------------
+1,这是最简便的方法