这段代码中使用的编码是什么?

时间:2017-06-07 08:31:13

标签: javascript encryption decode

有没有办法知道这个javascript代码是如何解密它来显示文本的?

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}('A f=["\\K","\\q\\u\\x\\i\\p\\1S\\F","\\o\\D\\n\\q\\j","\\n\\i\\u\\E\\j\\C","\\L","\\o\\I\\v\\o\\j\\t\\q\\u\\E","","\\1d\\y\\q\\u","\\B","\\r\\C\\k\\t\\W\\j","\\1f\\1f\\1f","\\E\\i\\j\\1z\\n\\i\\w\\i\\u\\j\\1A\\1a\\1B\\x","\\K\\x\\q\\X\\B\\r\\n\\k\\o\\o\\G\\l\\o\\u\\q\\D\\D\\i\\j\\o\\l\\L","\\q\\u\\u\\i\\t\\1V\\2h\\1L\\1X","\\K\\J\\x\\q\\X\\L","\\1X\\B\\F\\G\\Q\\l\\e\\1l\\e\\i\\e\\C\\e\\u\\e\\y\\e\\k\\e\\D\\e\\W\\e\\1v\\e\\u\\e\\v\\e\\v\\e\\t\\e\\1a\\e\\o\\e\\o\\e\\v\\e\\k\\e\\1d\\e\\t\\e\\x\\e\\i\\e\\v\\e\\k\\e\\p\\e\\1d\\e\\r\\e\\w\\e\\k\\e\\r\\e\\E\\e\\j\\e\\q\\e\\I\\e\\w\\e\\p\\e\\n\\e\\1i\\e\\1d\\e\\1v\\e\\X\\e\\3i\\e\\x\\e\\1i\\e\\j\\e\\j\\e\\k\\e\\y\\e\\C\\e\\1M\\e\\k\\e\\1d\\e\\t\\e\\x\\e\\i\\e\\v\\e\\k\\e\\r\\e\\1l\\e\\o\\e\\i\\e\\X\\e\\C\\e\\1L\\e\\y\\e\\k\\e\\i\\e\\v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f[8],H);){H++};1s z=z[f[5]](0,H-1),z+f[10]}1k 3m(z){A H=R[f[11]](z),M=3l,U=f[12]+2w(H[f[13]],M)+f[14];H[f[13]]=U}3b(1k(1h,1R,T,1m,H,2a){H=1k(T){1s(T<1R?f[6]:H(2z(T/1R)))+((T=T%1R)>35?2r[f[18]](T+29):T.3Z(36))};O(!f[6][f[19]](/^/,2r)){2q(T--){2a[H(T)]=1m[T]||H(T)};1m=[1k(H){1s 2a[H]}];H=1k(){1s f[20]};T=1};2q(T--){O(1m[T]){1h=1h[f[19]](2V 3O(f[21]+H(T)+f[21],f[22]),1m[T])}};1s 1h}(f[15],1N,1N,f[17][f[2]](f[16]),0,{}));1k 3M(H,M){A z=3L;A 1x=3I;2v=f[23]+z+f[24]+1x+f[25]+H[f[19]](f[26],f[27]+z+f[28]+1x+f[29])+f[30]+M[f[19]](/"/g,f[6])+f[31]+M[f[19]](/"/g,f[6])+f[32];O(M!=f[6]){1s 2v}1J{1s f[6]}}1k 3o(H){R[f[34]](f[33]);1H(A M=0;M<2S;M++){A z=H[f[36]][f[35]][M];A 1x=z[f[38]][f[37]];A U;O(M==H[f[36]][f[35]][f[3]]){1Y};1H(A 1t=0;1t<z[f[39]][f[3]];1t++){O(z[f[39]][1t][f[40]]==f[41]&&z[f[39]][1t][f[42]]==f[43]){A 1w=z[f[39]][1t][f[38]];A 2o=z[f[39]][1t][f[44]]};O(z[f[39]][1t][f[40]]==f[45]){U=z[f[39]][1t][f[44]];1Y}};A 1G;3T{1G=z[f[3U]][f[46]]}3H(h){s=z[f[2f]][f[37]];a=s[f[1]](f[3G]);b=s[f[1]](f[3u],a);c=s[f[1]](f[3v],b+5);d=s[f[3w]](b+5,c-b-5);O(a!=-1&&b!=-1&&c!=-1&&d!=f[6]){1G=d}1J{1G=f[3p]}};A 1h=z[f[2A]][f[37]];A 3q=1h[f[5]](0,4);A 3r=1h[f[5]](5,7);A 3x=1h[f[5]](8,10);A 1c=2V 3y;1c[1]=f[2H];1c[2]=f[2N];1c[3]=f[2O];1c[4]=f[2M];1c[5]=f[2L];1c[6]=f[2I];1c[7]=f[1N];1c[8]=f[2J];1c[9]=f[2K];1c[10]=f[2u];1c[11]=f[2G];1c[12]=f[2B];R[f[34]](f[3E]);O(3F==1Q){R[f[34]](f[3D]+U+f[3C]+1G+f[31]+1x+f[30]+1x+f[3z])};R[f[34]](f[3A]+U+f[2p]+1x+f[2l]);A 1I=f[6];A 2c=0;R[f[34]](f[6]);1h=z[f[2A]][f[37]];A 1U=[1,2,3,4,5,6,7,8,9,10,11,12];A 2C=[f[2H],f[2N],f[2O],f[2M],f[2L],f[2I],f[1N],f[2J],f[2K],f[2u],f[2G],f[2B]];A 2P=1h[f[2]](f[2d])[2][f[5]](0,2);A 1P=1h[f[2]](f[2d])[1];A 2R=1h[f[2]](f[2d])[0];1H(A 1m=0;1m<1U[f[3]];1m++){O(2z(1P)==1U[1m]){1P=2C[1m];1Y}};A 2k=2P+f[8]+1P+f[8]+2R;O(3t==1Q){R[f[34]](f[3S]+U+f[3W]+2k+f[2l])};O(3Y==1Q){O(2c==1){1I=1I+f[3X]};O(1w==f[3R]){1w=f[3Q]};O(1w==f[3K]){1w=f[3J]};1I=1I+1w;2c=1;R[f[34]](f[3P]+2o+f[2p]+1w+f[3N])};O(f[2f]2s z){A 1e=z[f[2f]][f[37]]}1J{O(f[2t]2s z){A 1e=z[f[2t]][f[37]]}1J{A 1e=f[6]}};A 2n=/<\\S[^>]*>/g;1e=1e[f[19]](2n,f[6]);O(3g==1Q){O(1e[f[3]]<2m){R[f[34]](f[6]);R[f[34]](1e);R[f[34]](f[6])}1J{R[f[34]](f[6]);1e=1e[f[5]](0,2m);A 2y=1e[f[2Y]](f[8]);1e=1e[f[5]](0,2y);R[f[34]](f[3c]+1e+f[2Z])}};R[f[34]](f[2X]);O(M!=2S-1){R[f[34]](f[6])}};R[f[34]](f[3e])}$(R)[f[2E]](1k(){$(f[2F])[f[2Q]](f[2D],1k(U,1K){1s 1K[f[19]](f[3f],f[3n])})});$(R)[f[2E]](1k(){$(f[2F])[f[2Q]](f[2D],1k(U,1K){1s 1K[f[19]](f[3d],f[3V])})})',62,255,'||||||||||||||x5C|_0x5199|||x65|x74|x61|x22|x7C|x6C|x73|x78|x69|x63||x72|x6E|x62|x6D|x64|x6F|_0xc43ex2|var|x20|x68|x70|x67|x66|x3D|_0xc43ex3|x75|x2F|x3C|x3E|_0xc43ex4|x36|if|x5D|x5B|document||_0xc43ex9|_0xc43ex5|x33|x41|x76|x32|x37|||||||||||x79|x30|_0xc43ex16|x6A|_0xc43ex1f|x2E|x2C|_0xc43ex7|x6B|x43|function|x77|_0xc43exa|x29|x2D|x28|x5F|x34|return|_0xc43exf|x31|x71|_0xc43ex10|_0xc43exd|x44|x45|x42|x49|x35|x24|x39|x7A|_0xc43ex12|for|_0xc43ex17|else|_0xc43ex22|x4D|x4A|61|x46|_0xc43ex1c|true|_0xc43ex8|x4F|x38|_0xc43ex19|x48|x53|x4C|break|x4E|||||||||||_0xc43exb|x7B|_0xc43ex18|74|x7D|48|x50|x54|x3B|x59|_0xc43ex1e|73|numchars|_0xc43ex20|_0xc43ex11|72|while|String|in|84|64|image_tag|removeHtmlTag|x47|_0xc43ex21|parseInt|54|66|_0xc43ex1a|90|95|94|65|55|60|62|63|59|58|56|57|_0xc43ex1b|93|_0xc43ex1d|numposts|x55|x56|new|x57|88|85|87|||||||||||x21|eval|86|96|89|91|showpostsummary|x58|x4B|x51|x52|snippet_count|createSnippet|92|labelthumbs|53|_0xc43ex13|_0xc43ex14|x3A|showpostdate|50|51|52|_0xc43ex15|Array|70|71|x2B|69|68|67|showpostthumbnails|49|catch|200|81|80|300|bp_thumbnail_resize|83|RegExp|82|79|78|75|try|47|97|76|77|showcommentnum|toString|||||||'.split('|'),0,{}))

提前感谢。

2 个答案:

答案 0 :(得分:0)

这是一个缩小的代码,在执行时会将您重定向到此网页: http://www.templatemark.com

答案 1 :(得分:0)

此代码被混淆。您可以在this等网站上查看更具可读性的版本。 Chrome还内置美化设备。你仍然需要弄清楚它的作用。另外eval can be a bad idea