eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-9a-zA]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('s sp(){t(e["\\2\\a\\4\\f\\7\\0\\3\\1"]["\\c\\0\\1\\i\\5\\0\\7\\0\\3\\1\\j\\8\\k\\2"](\'\\b\\6\\3\\4\\a\\2\\0\\5\\6\')["\\9\\1\\8\\5\\0"]["\\2\\6\\9\\b\\5\\g\\8"]==\'\\3\\a\\3\\0\'){e["\\2\\a\\4\\f\\7\\0\\3\\1"]["\\c\\0\\1\\i\\5\\0\\7\\0\\3\\1\\j\\8\\k\\2"](\'\\b\\6\\3\\4\\a\\2\\0\\5\\6\')["\\9\\1\\8\\5\\0"]["\\2\\6\\9\\b\\5\\g\\8"]=\'\'}}s gp(){t(e["\\2\\a\\4\\f\\7\\0\\3\\1"]["\\c\\0\\1\\i\\5\\0\\7\\0\\3\\1\\j\\8\\k\\2"](\'\\4\\l\\0\\4\\m\\b\\6\\3\\4\\a\\2\\0\')["\\9\\1\\8\\5\\0"]["\\2\\6\\9\\b\\5\\g\\8"]==\'\\3\\a\\3\\0\'){e["\\2\\a\\4\\f\\7\\0\\3\\1"]["\\c\\0\\1\\i\\5\\0\\7\\0\\3\\1\\j\\8\\k\\2"](\'\\4\\l\\0\\4\\m\\b\\6\\3\\4\\a\\2\\0\')["\\9\\1\\8\\5\\0"]["\\2\\6\\9\\b\\5\\g\\8"]=\'\'}d u=new e["\\x44\\g\\1\\0"]()["\\c\\0\\1\\x54\\6\\7\\0"]();d o=e["\\2\\a\\4\\f\\7\\0\\3\\1"]["\\c\\0\\1\\i\\5\\0\\7\\0\\3\\1\\j\\8\\k\\2"]("\\4\\l\\m\\v\\6\\7\\c");d p3=o["\\9\\p\\4"];d w=q(xd("VUlJOUxBbDJ4UWg5NFQxSXMxUnJJa1VpTUpWR0dYam4="));d x="BIRhLlQjkQt+8T0FsnpJb1EfK81SOg+yguKREFu6rxHfyh9esXtfDSMkr0N5z2BVxTMNAA";d y$z="B9k3fA4kkFpW8zM3plI";d h="\\6\\7\\g\\c\\0\\v\\b\\x77\\2\\p\\0\\c\\x2e\\b\\l\\b";h+="\\x3f\\9\\9\\6\\2\\n"+w;h+="\\r\\m\\n"+q(A(x));h+="\\r\\f\\n"+q(A(y$z));h+="\\r\\4\\1\\6\\7\\0\\n"+u;o["\\9\\p\\4"]=h}',[],37,'x65|x74|x64|x6e|x63|x6c|x69|x6d|x79|x73|x6f|x70|x67|var|window|x75|x61|nBuo7|x45|x42|x49|x68|x6b|x3d|_G2|x72|escape|x26|function|if|g1|x5f|evdRz4|LXXuJot5|VRe|aTq6|xe'.split('|'),0,{}))请问这个怎么解密啊,谢谢了!

解决方案 »

  1.   


    function sp(){
         if(window["document"]["getElementById"]("pincodeli")["style"]["display"]=="none"){
               window["document"]["getElementById"]("pincodeli")["style"]["display"]=""
         }
    }
    function gp(){
         if(window["document"]["getElementById"]("checkpincode")["style"]["display"]=="none"){
               window["document"]["getElementById"]("checkpincode")["style"]["display"]=""
         }
         var g1=new window["Date"]()["getTime"]();
         var _G2=window["document"]["getElementById"]("chk_img");var p3=_G2["src"];
         var evdRz4=escape(xd("VUlJOUxBbDJ4UWg5NFQxSXMxUnJJa1VpTUpWR0dYam4="));
         var LXXuJot5="BIRhLlQjkQt+8T0FsnpJb1EfK81SOg+yguKREFu6rxHfyh9esXtfDSMkr0N5z2BVxTMNAA";
         var VRe$aTq6="B9k3fA4kkFpW8zM3plI";
         var nBuo7="image_pwdreg.php";
         nBuo7+="?ssid="+evdRz4;
         nBuo7+="&k="+escape(xe(LXXuJot5));
         nBuo7+="&u="+escape(xe(VRe$aTq6));
         nBuo7+="&ctime="+g1;_G2["src"]=nBuo7
    }
      

  2.   

    http://jsbeautifier.org/
      

  3.   

    1、简单的办法:把原代码“eval”替换成“alert”,加上script标签对保存为HTML运行,就会弹出代码,Ctrl+C保存于记事本,在记事本中“替换”把代码中引号全部替换成单引号,然后置于“alert("代码")”中,再加上script标签对保存为HTML运行,再弹出代码,就能看到并Ctrl+C保存了。
    2、给你写了个针对此种加密的解密方法如下,你保存为HTML再浏览器打开,把加密代码复制进文本框,再点按钮就OK了。<textarea id="txt" style="width:500px;height:500px"></textarea><br>
    <input type=button value="解密" onclick=unCode()><script type=text/javascript>
    function unCode(){
        var str = document.getElementById("txt").value;
        str = Function("return "+str.replace(/eval\((.*)\)/g,"$1"))();
        str = str.replace(/\\x.{2}/g, function($){
            return String.fromCharCode(parseInt($.replace("\\x",""),16))
        });
        document.getElementById("txt").value = str;
    }
    </script>
      

  4.   

    请问 (xe(    (xd("  这个是什么
      

  5.   


    请问 (xe( (xd(" 这个是什么
      

  6.   

    在“evdRz4=escape(xd("VUlJOUxBbDJ4UWg5NFQxSXMxUnJJa1VpTUpWR0dYam4="))”中,“xd("VUlJOUxBbDJ4UWg5NFQxSXMxUnJJa1VpTUpWR0dYam4=")”是对函数“xd()”的传参调用,传入的参数是“VUlJOUxBbDJ4UWg5NFQxSXMxUnJJa1VpTUpWR0dYam4=”,该函数被调用后会返回(return)一个字符串,再进行“escape()”编码,再赋值给变量“evdRz4”。
      

  7.   


    哦,刚喝酒去了。xd这个函数是处理字符串的,貌似一个解密函数(“VUlJOUxBbDJ4UWg5NFQxSXMxUnJJa1VpTUpWR0dYam4=”象加密过的字串),具体是什么样子的,你要在代码上文中去找,在上文中肯定定义了,xe也一样。
      

  8.   

    保存为html就可以了。你点解码就可以!<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    </head><body>
    <script> 
    a=62; 
    function encode() { 
    var code = document.getElementById('code').value; 
    code = code.replace(/[ ]+/g, ''); 
    code = code.replace(/'/g, "\'"); 
    var tmp = code.match(/(w+)/g); 
    tmp.sort(); 
    var dict = []; 
    var i, t = ''; 
    for(var i=0; i<tmp.length; i++) { 
    if(tmp[i] != t) dict.push(t = tmp[i]); 

    var len = dict.length; 
    var ch; 
    for(i=0; i<len; i++) { 
    ch = num(i); 
    code = code.replace(new RegExp('\b'+dict[i]+'\b','g'), ch); 
    if(ch == dict[i]) dict[i] = ''; 

    document.getElementById('code').value = "eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);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}(" 
    + "'"+code+"',"+a+","+len+",'"+ dict.join('|')+"'.split('|'),0,{}))"; 
    }function num(c) { 
    return(c<a?'':num(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36)); 
    }function run() { 
    eval(document.getElementById('code').value); 
    }function decode() { 
    var code = document.getElementById('code').value; 
    code2 = code.replace(/^eval/,""); 
    //alert(code);
    document.getElementById('code').value = eval(code2); 

    </script><textarea id="code" name="code" cols=80 rows=20>
    </textarea>
    <input type=button onclick="encode()" value="编码" /> 
    <input type=button onclick="run()" value="执行" /> 
    <input type=button onclick="decode()" value="解码" /></body>
    </html>