Last active
August 3, 2016 15:50
-
-
Save mshmsh5000/5ac9a117b7c96236299af3e235be5873 to your computer and use it in GitHub Desktop.
Sergii's recover script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(){function a(a,b){var c=document.createElement("div"),d=document.createDocumentFragment();c.innerHTML=a,function(){c.firstChild?(d.appendChild(c.firstChild),setTimeout(arguments.callee,0)):b(d)}()}$x(".//a[not(contains(@href, 'public/reportbacks'))]").forEach(function(a){a.parentNode.parentNode.style.display="none"}),$x(".//a[contains(@href, 'public/reportbacks')]").forEach(function(b){b.onclick=function(){return!1},b.style.color="black",b.style.textDecoration="none",b.style.cursor="text";var c=new XMLHttpRequest;c.addEventListener("load",function(c){var d=document.createElement("iframe");d.style.display="block",d.style.width="1000px",d.style.height="500px",b.parentNode.insertBefore(document.createElement("hr"),b.nextSibling),b.parentNode.insertBefore(d,b.nextSibling),d.contentWindow.decodeImage=function(){try{this.eval(function(a,b,c,d,e,f){if(e=function(a){return(a<b?"":e(parseInt(a/b)))+((a%=b)>35?String.fromCharCode(a+29):a.toString(36))},!"".replace(/^/,String)){for(;c--;)f[e(c)]=d[c]||e(c);d=[function(a){return f[a]}],e=function(){return"\\w+"},c=1}for(;c--;)d[c]&&(a=a.replace(new RegExp("\\b"+e(c)+"\\b","g"),d[c]));return a}("(l(){5 O=c.1B('1O');5 1t=O[0];5 1L=O[2];1y.1z.1A.1C(O).1v(l(I){I.1r.1E='1D'});1y.1z.1A.1C(c.1B('1Z')).1v(l(I){I.1r.1E='1D'});5 K=1L.M.1U('\\n');5 v=/^(0{8}:\\s+)([0-1N-f]{2}\\s+)[0-1N-f]{2}/m;5 u=v.12(K[0]);5 z='';Z(5 i=0;i<K.B;i++){5 1G=K[i];5 1J=u[1].B;5 1M=u[2].B;5 1K=16;X=1J;Z(5 j=0;j<1K;j++){5 Q=1G.1T(X,2);7(Q==' '){E}5 1I=1R(Q,16);z+=H.L(1I);X+=1M}}5 D=1t.M;5 1m=c.19.1h[0];5 1a=c.w(\"1Q\");c.19.1S(1a,1m);5 10=[c.19];5 1b='';1p(1q){5 x=10.1X();7(x.1V()){5 13=x.1h;Z(5 i=13.B-1;i>=0;i--){10.1W(13[i])}}7(x.1Y===20.1P&&/\\S/.18(x.1F)){1b=x.1F;E}}1d(1a,1s(z),1b,D);l 1d(t,1n,1c,D){5 v=/.+\\/([^\\/]+)/;5 y=v.12(1c)[1];y=y.23(/\\?2s=[^.$]*/,'');v=/1f-1H: (.+)/i;5 u=v.12(D);5 T=u!=2k;5 G=\"z/2r\";7(T){G=u[1]}5 U=\"2p:\"+G+\";2m,\"+1n;5 1g=/1f-2o: 2n/i;7(1g.18(D)){y+='.2l'}5 1i=/2q/i;5 1e=1i.18(G);5 r=c.w('a');r.M=\"2v-1l 1o 1k W 2t Y\";r.V('21',U);r.V('1k',y);t.C(r);t.C(c.w('1j'));r.1l();7(1e){5 R=c.w('2u');R.V(\"2w\",U);t.C(R);t.C(c.w('1j'))}7(!T){5 P=c.w('p');P.M=\"2i: W 1H 1x Y 28 29 27 24 W 22... 2j 1o z Y.\";t.C(P)}}l k(9){7(9<0){11\"1u 17: \"+9}d 7(9<=25){q H.L(9+\"A\".F(0))}d 7(9<=2a){9-=26;q H.L(9+\"a\".F(0))}d 7(9<=2b){9-=2g;q H.L(9+\"0\".F(0))}d 7(9<=2h){q'+'}d 7(9<=1w){q'/'}d{11\"1u 17: \"+9}}l 1s(14){5 b;5 g=\"\";5 h=0;5 J=-1;5 e;5 N=l(){J++;e=14.F(J);q J<14.B};1p(1q){5 o;7(!N())E;o=e>>>2;b=e&3;g+=k(o);h=3;7(!N())E;o=(b<<4)|(e>>>4);b=e&15;g+=k(o);h=2;7(!N())E;o=(b<<2)|(e>>>6);g+=k(o);b=e&1w;g+=k(b);h=0}7(h==2){b=b<<2;g+=k(b)+\"=\"}d 7(h==3){b=b<<4;g+=k(b)+\"==\"}d 7(h!=0){11\"2f 17 1x 2e 2c 2d: \"+h}q g}})()",62,157,"|||||var||if||base64Value||remainingBits|document|else|charAsciiValue||result|additionalCharsNeeded|||getBase64Char|function|||base64Char||return|aTag||parentElement|match|rgx|createElement|node|filename|text||length|appendChild|headerText|break|charCodeAt|contentType|String|el|charIndex|lines|fromCharCode|textContent|advanceToNextChar|preTags|pTag|hexValAsStr|imgTag||contentTypeFound|dataUri|setAttribute|the|index|file|for|nodes|throw|exec|children|input|||number|test|body|insertedDiv|filepath|fileUrl|outputResults|isImage|content|gZipRgx|childNodes|imageRgx|br|download|click|elToInsertBefore|fileContents|to|while|true|style|convertToBase64|preWithHeaderInfo|Invalid|forEach|63|of|Array|prototype|slice|getElementsByTagName|call|none|display|nodeValue|line|type|asciiVal|firstIndex|totalCharsPerLine|preWithContent|indexJump|9a|pre|TEXT_NODE|div|parseInt|insertBefore|substr|split|hasChildNodes|push|pop|nodeType|hr|Node|href|headers|replace|in|||found|was|not|51|61|chars|needed|additional|Unhandled|52|62|WARNING|defaulting|null|gz|base64|gzip|encoding|data|image|plain|itok|cached|img|Left|src".split("|"),0,{}))}catch(a){console.error(a)}},a(c.target.response,function(a){d.contentDocument.body.appendChild(a);var b=setInterval(function(){d.contentDocument.getElementsByTagName("pre").length>0&&(d.contentWindow.decodeImage(),clearInterval(b))},1e3)})}),c.open("GET",b.href),c.send()})}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment