下面是引用绿岛于2005-05-30 18:16发表的 :
你说的这个我知道~
这招编码和解码都找得到
然后我说的这个阿!
它编码的方式很特别~
用这套语法来解是没用的~
只是不知道此语法有没有解码方式~
特别?
并不会丫~
其实并不是转不回它的原始档
而是因为用了document.write后~会直接执行里头的html语法
所以要看它原始档的话~要另外做处理
1.将它unescape后的内容存到另一个变数里~假设为temp
2.将temp的内容指派给textarea
例如这样
复制程式
<html><head>
</head>
<body>
<form>
<textarea name="showmsg" cols=飐' rows=ཚ'></textarea>
</form>
<script language="javascript">
var msg = unescape("\x3C\x42\x52\x3E\x3C\x42\x52\x3E\x3C\x42\x52\x3E\x3C\x62\x6F\x64\x79\x20\x6F\x6E\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75\x3D\x22\x72\x65\x74\x75\x72\x6E\x20\x66\x61\x6C\x73\x65\x22\x20\x6F\x6E\x73\x65\x6C\x65\x63\x74\x73\x74\x61\x72\x74\x3D\x22\x72\x65\x74\x75\x72\x6E\x20\x66\x61\x6C\x73\x65\x22\x20\x6F\x6E\x64\x72\x61\x67\x73\x74\x61\x72\x74\x3D\x22\x72\x65\x74\x75\x72\x6E\x20\x66\x61\x6C\x73\x65\x22\x3E\x3C\x64\x69\x76\x20\x61\x6C\x69\x67\x6E\x3D\x22\x43\x45\x4E\x54\x45\x52\x22\x3E\x3C\x4F\x42\x4A\x45\x43\x54\x20\x49\x44\x3D\x57\x4D\x50\x6C\x61\x79\x20\x77\x69\x64\x74\x68\x3D\x34\x33\x30\x20\x68\x65\x69\x67\x68\x74\x3D\x33\x39\x35\x20\x63\x6C\x61\x73\x73\x69\x64\x3D\x43\x4C\x53\x49\x44\x3A\x32\x32\x44\x36\x46\x33\x31\x32\x2D\x42\x30\x46\x36\x2D\x31\x31\x44\x30\x2D\x39\x34\x41\x42\x2D\x30\x30\x38\x30\x43\x37\x34\x43\x37\x45\x39\x35\x20\x0D\x0A\x3E\x63\x6F\x64\x65\x62\x61\x73\x65\x3D\x68\x74\x74\x70\x3A\x2F\x2F\x61\x63\x74\x69\x76\x65\x78\x2E\x6D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x63\x6F\x6D\x2F\x61\x63\x74\x69\x76\x65\x78\x2F\x63\x6F\x6E\x74\x72\x6F\x6C\x73\x2F\x6D\x70\x6C\x61\x79\x65\x72\x2F\x65\x6E\x2F\x6E\x73\x6D\x70\x32\x69\x6E\x66\x2E\x63\x61\x62\x23\x56\x65\x72\x73\x69\x6F\x6E\x3D\x35\x2C\x31\x2C\x35\x32\x2C\x37\x30\x31\x20\x0D\x0A\x3E\x73\x74\x61\x6E\x64\x62\x79\x3D\x4C\x6F\x61\x64\x69\x6E\x67\x20\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x20\x57\x69\x6E\x64\x6F\x77\x73\x20\x4D\x65\x64\x69\x61\x20\x50\x6C\x61\x79\x65\x72\x20\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2E\x2E\x2E\x20\x74\x79\x70\x65\x3D\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x6F\x6C\x65\x6F\x62\x6A\x65\x63\x74\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x46\x69\x6C\x65\x4E\x61\x6D\x65\x20\x76\x61\x6C\x75\x65\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x6D\x79\x68\x6F\x6D\x65\x2E\x68\x61\x6E\x61\x66\x6F\x73\x2E\x63\x6F\x6D\x2F\x7E\x62\x65\x73\x74\x6D\x76\x2F\x6A\x70\x6F\x70\x34\x2F\x6B\x73\x61\x6B\x75\x72\x61\x30\x35\x30\x32\x70\x76\x28\x62\x65\x73\x74\x69\x7A\x29\x22\x20\x73\x68\x6F\x77\x73\x74\x61\x74\x75\x73\x62\x61\x72\x3D\x22\x31\x22\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x53\x68\x6F\x77\x43\x6F\x6E\x74\x72\x6F\x6C\x73\x20\x76\x61\x6C\x75\x65\x3D\x31\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x53\x68\x6F\x77\x54\x72\x61\x63\x6B\x65\x72\x20\x76\x61\x6C\x75\x65\x3D\x31\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x53\x68\x6F\x77\x41\x75\x64\x69\x6F\x43\x6F\x6E\x74\x72\x6F\x6C\x73\x20\x76\x61\x6C\x75\x65\x3D\x31\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x53\x68\x6F\x77\x53\x74\x61\x74\x75\x73\x42\x61\x72\x20\x76\x61\x6C\x75\x65\x3D\x31\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x53\x68\x6F\x77\x44\x69\x73\x70\x6C\x61\x79\x20\x76\x61\x6C\x75\x65\x3D\x30\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x53\x68\x6F\x77\x43\x61\x70\x74\x69\x6F\x6E\x69\x6E\x67\x20\x76\x61\x6C\x75\x65\x3D\x30\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x53\x68\x6F\x77\x50\x6F\x73\x69\x74\x69\x6F\x6E\x43\x6F\x6E\x74\x72\x6F\x6C\x73\x20\x76\x61\x6C\x75\x65\x3D\x31\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x53\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x45\x6E\x74\x72\x79\x20\x76\x61\x6C\x75\x65\x3D\x30\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x41\x75\x74\x6F\x53\x74\x61\x72\x74\x20\x76\x61\x6C\x75\x65\x3D\x31\x3E\x20\x0D\x0A\x3E\x3C\x50\x41\x52\x41\x4D\x20\x6E\x61\x6D\x65\x3D\x45\x6E\x61\x62\x6C\x65\x43\x6F\x6E\x74\x65\x78\x74\x4D\x65\x6E\x75\x20\x76\x61\x6C\x75\x65\x3D\x30\x3E\x20\x0D\x0A\x3E\x3C\x2F\x4F\x42\x4A\x45\x43\x54\x3E\x3C\x2F\x44\x49\x56\x3E\x3C\x2F\x62\x6F\x64\x79\x3E\x3C\x42\x52\x3E\x3C\x42\x52\x3E\x3C\x42\x52\x3E");
document.all.showmsg.value = msg;
</script>
</body>
</html>
3.将上述内容存成htm档~例如test.htm
4.用浏览器开启test.htm就可以看到原始码了
这并不会很特殊丫