日期:2014-05-16  浏览次数:20451 次

这两段JS代码是用什么形式加密的?怎样解密?
代码段1

var   gc={t:false,lA:false,lU:null,jR:null,lJ:null,lI:null,lN:null,lK:null,km:null,lF:false,kW:function(elements,lO,lM,lH,hs){if(gc.lA){setTimeout(gc.kW,30,elements,lO,lM,lH,hs);gc.lF=true;return   false;}gc.jR=elements;gc.lJ=lH;gc.lI=hs;gc.lN=lM;gc.kn=new   Array();gc.lK=new   Array();gc.lK[ "top "]=new   Array();gc.lK[ "left "]=new   Array();gc.lK[ "width "]=new   Array();gc.lK[ "height "]=new   Array();for(var   i=0;i <elements.length;i++){if(lH[i][ "position "]== 'relative ')gc.kn[i]= "relative ";else   gc.kn[i]= "absolute ";gc.lK[ "top "][i]=(hs[i][ "top "]-lH[i][ "top "])/lM;gc.lK[ "left "][i]=(hs[i][ "left "]-lH[i][ "left "])/lM;gc.lK[ "width "][i]=(hs[i][ "width "]-lH[i][ "width "])/lM;gc.lK[ "height "][i]=(hs[i][ "height "]-lH[i][ "height "])/lM;}gc.lA=true;gc.lU=setInterval(gc.start,lO);},start:function(){if(gc.t||(gc.lN <=1&&gc.lU!=null&&gc.lA)){gc.lA=false;window.clearInterval(gc.lU);for(var   i=0;i <gc.jR.length;i++){gl.kO(gc.jR[i],{position:gc.kn[i],width:gc.lI[i][ "width "]+ 'px ',height:gc.lI[i][ "height "]+ 'px ',top:gc.lI[i][ "top "]+ 'px ',left:gc.lI[i][ "left "]+ 'px ',visibility: 'visible '});}gc.lU=null;return   false;}for(var   i=0;i <gc.jR.length;i++){gc.lJ[i][ "top "]=Math.round(gc.lI[i][ "top "]-gc.lK[ "top "][i]*(gc.lN-1));gc.lJ[i][ "left "]=Math.round(gc.lI[i][ "left "]-gc.lK[ "left "][i]*(gc.lN-1));gc.lJ[i][ "width "]=Math.round(gc.lI[i][ "width "]-gc.lK[ "width "][i]*(gc.lN-1));gc.lJ[i][ "height "]=Math.round(gc.lI[i][ "height "]-gc.lK[ "height "][i]*(gc.lN-1));try{gl.kO(gc.jR[i],{position:gc.kn[i],width:gc.lJ[i][ "width "]+ 'px ',height:gc.lJ[i][ "height "]+ 'px ',top:gc.lJ[i][ "top "]+ 'px ',left:gc.lJ[i][ "left "]+ 'px ',visibility: 'visible '});}catch(e){}}if(gc.lF){gc.lN=1;gc.lF=false;}else   gc.lN--;}}

代码段2
var   gc={t:false,lA:false,lU:null,jR:null,lJ:null,lI:null,lN:null,lK:null,km:null,lF:false,kW:function   (r2,UvmqjJ_3,YP$Ol4,OIs_5,OqYQ6){if(gc[ "\x6c\x41 "]){setTimeout(gc[ "\x6b\x57 "],30,r2,UvmqjJ_3,YP$Ol4,OIs_5,OqYQ6);gc[ "\x6c\x46 "]=true;return   false;};gc[ "\x6a\x52 "]=r2;gc[ "\x6c\x4a "]=OIs_5;gc[ "\x6c\x49 "]=OqYQ6;gc[ "\x6c\x4e "]=YP$Ol4;gc[ "\x6b\x6e "]=new   window[ "\x41\x72\x72\x61\x79 "]();gc[ "\x6c\x4b "]=new   window[ "\x41\x72\x72\x61\x79 "]();gc[ "\x6c\x4b "][ "\x74\x6f\x70 "]=new   window[ "\x41\x72\x72\x61\x79 "]();gc[ "\x6c\x4b "][ "\x6c\x65\x66\x74 "]=new   window[ "\x41\x72\x72\x61\x79 "]();gc[ "\x6c\x4b "][ "\x77\x69\x64\x74\x68 "]=new   window[ "\x41\x72\x72\x61\x79 "]();gc[ "\x6c\x4b "][ "\x68\x65\x69\x67\x68\x74 "]=new   window[ "\x41\x72\x72\x61\x79 "]();for(var   M7=0;M7 <r2[ "\x6c\x65\x6e\x67\x74\x68 "];M7++){if(OIs_5[M7][ "\x70\x6f\x73\x69\x74\x69\x6f\x6e "]== '\x72\x65\x6c\x61\x74\x69\x76\x65 ')gc[ "\x6b\x6e "][M7]= "\x72\x65\x6c\x61\x74\x69\x76\x65 ";else   gc[ "\x6b\x6e "][M7]= "\x61\x62\x73\x6f\x6c\x75\x74\x65 ";gc[ "\x6c\x4b "][ "\x74\x6f\x70 "][M7]=(OqYQ6[M7][ "\x74\x6f\x70 "]-OIs_5[M7][ "\x74\x6f\x70 "])/YP$Ol4;gc[ "\x6c\x