Created
August 2, 2016 09:02
-
-
Save millken/c83fcdf3506975534c48a01116b66654 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<html> | |
<body> | |
<input type="text" id="SpammersGoAwayCode" value="" /> | |
<script> | |
var _0xea8f=["","\x6C\x65\x6E\x67\x74\x68","\x70\x75\x73\x68","\x63\x68\x61\x72\x43\x6F\x64\x65\x41\x74","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x66\x75\x6E\x63\x74\x69\x6F\x6E","\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x69\x6E\x64\x65\x78\x4F\x66","\x6E\x6F\x77","\x72\x61\x6E\x64\x6F\x6D","\x30\x30\x30\x30"];function sha1(_0xc386x2){var _0xc386x3=function(_0xc386x5,_0xc386xd){return _0xc386x5<<_0xc386xd|_0xc386x5>>>32-_0xc386xd;},_0xc386x4=function(_0xc386x5){var _0xc386xd=_0xea8f[0],_0xc386x2,_0xc386x6;for(_0xc386x2=7;0<=_0xc386x2;_0xc386x2--){_0xc386x6=_0xc386x5>>>4*_0xc386x2&15,_0xc386xd+=_0xc386x6.toString(16);};return _0xc386xd;},_0xc386x5,_0xc386x6,_0xc386x7=Array(80),_0xc386x8=1732584193,_0xc386x9=4023233417,_0xc386xa=2562383102,_0xc386xb=271733878,_0xc386xc=3285377520,_0xc386xd,_0xc386xe,_0xc386xf,_0xc386x10,_0xc386x11;_0xc386x2=unescape(encodeURIComponent(_0xc386x2));_0xc386xd=_0xc386x2[_0xea8f[1]];var _0xc386x12=[];for(_0xc386x5=0;_0xc386x5<_0xc386xd-3;_0xc386x5+=4){_0xc386x6=_0xc386x2[_0xea8f[3]](_0xc386x5)<<24|_0xc386x2[_0xea8f[3]](_0xc386x5+1)<<16|_0xc386x2[_0xea8f[3]](_0xc386x5+2)<<8|_0xc386x2[_0xea8f[3]](_0xc386x5+3),_0xc386x12[_0xea8f[2]](_0xc386x6);};switch(_0xc386xd%4){case 0:_0xc386x5=2147483648;break;;case 1:_0xc386x5=_0xc386x2[_0xea8f[3]](_0xc386xd-1)<<24|8388608;break;;case 2:_0xc386x5=_0xc386x2[_0xea8f[3]](_0xc386xd-2)<<24|_0xc386x2[_0xea8f[3]](_0xc386xd-1)<<16|32768;break;;case 3:_0xc386x5=_0xc386x2[_0xea8f[3]](_0xc386xd-3)<<24|_0xc386x2[_0xea8f[3]](_0xc386xd-2)<<16|_0xc386x2[_0xea8f[3]](_0xc386xd-1)<<8|128;;};for(_0xc386x12[_0xea8f[2]](_0xc386x5);14!=_0xc386x12[_0xea8f[1]]%16;){_0xc386x12[_0xea8f[2]](0);};_0xc386x12[_0xea8f[2]](_0xc386xd>>>29);_0xc386x12[_0xea8f[2]](_0xc386xd<<3&4294967295);for(_0xc386x2=0;_0xc386x2<_0xc386x12[_0xea8f[1]];_0xc386x2+=16){for(_0xc386x5=0;16>_0xc386x5;_0xc386x5++){_0xc386x7[_0xc386x5]=_0xc386x12[_0xc386x2+_0xc386x5];};for(_0xc386x5=16;79>=_0xc386x5;_0xc386x5++){_0xc386x7[_0xc386x5]=_0xc386x3(_0xc386x7[_0xc386x5-3]^_0xc386x7[_0xc386x5-8]^_0xc386x7[_0xc386x5-14]^_0xc386x7[_0xc386x5-16],1);};_0xc386x6=_0xc386x8;_0xc386xd=_0xc386x9;_0xc386xe=_0xc386xa;_0xc386xf=_0xc386xb;_0xc386x10=_0xc386xc;for(_0xc386x5=0;19>=_0xc386x5;_0xc386x5++){_0xc386x11=_0xc386x3(_0xc386x6,5)+(_0xc386xd&_0xc386xe|~_0xc386xd&_0xc386xf)+_0xc386x10+_0xc386x7[_0xc386x5]+1518500249&4294967295,_0xc386x10=_0xc386xf,_0xc386xf=_0xc386xe,_0xc386xe=_0xc386x3(_0xc386xd,30),_0xc386xd=_0xc386x6,_0xc386x6=_0xc386x11;};for(_0xc386x5=20;39>=_0xc386x5;_0xc386x5++){_0xc386x11=_0xc386x3(_0xc386x6,5)+(_0xc386xd^_0xc386xe^_0xc386xf)+_0xc386x10+_0xc386x7[_0xc386x5]+1859775393&4294967295,_0xc386x10=_0xc386xf,_0xc386xf=_0xc386xe,_0xc386xe=_0xc386x3(_0xc386xd,30),_0xc386xd=_0xc386x6,_0xc386x6=_0xc386x11;};for(_0xc386x5=40;59>=_0xc386x5;_0xc386x5++){_0xc386x11=_0xc386x3(_0xc386x6,5)+(_0xc386xd&_0xc386xe|_0xc386xd&_0xc386xf|_0xc386xe&_0xc386xf)+_0xc386x10+_0xc386x7[_0xc386x5]+2400959708&4294967295,_0xc386x10=_0xc386xf,_0xc386xf=_0xc386xe,_0xc386xe=_0xc386x3(_0xc386xd,30),_0xc386xd=_0xc386x6,_0xc386x6=_0xc386x11;};for(_0xc386x5=60;79>=_0xc386x5;_0xc386x5++){_0xc386x11=_0xc386x3(_0xc386x6,5)+(_0xc386xd^_0xc386xe^_0xc386xf)+_0xc386x10+_0xc386x7[_0xc386x5]+3395469782&4294967295,_0xc386x10=_0xc386xf,_0xc386xf=_0xc386xe,_0xc386xe=_0xc386x3(_0xc386xd,30),_0xc386xd=_0xc386x6,_0xc386x6=_0xc386x11;};_0xc386x8=_0xc386x8+_0xc386x6&4294967295;_0xc386x9=_0xc386x9+_0xc386xd&4294967295;_0xc386xa=_0xc386xa+_0xc386xe&4294967295;_0xc386xb=_0xc386xb+_0xc386xf&4294967295;_0xc386xc=_0xc386xc+_0xc386x10&4294967295;};_0xc386x11=_0xc386x4(_0xc386x8)+_0xc386x4(_0xc386x9)+_0xc386x4(_0xc386xa)+_0xc386x4(_0xc386xb)+_0xc386x4(_0xc386xc);return _0xc386x11[_0xea8f[4]]();};_0xea8f[5]!=typeof String[_0xea8f[7]][_0xea8f[6]]&&(String[_0xea8f[7]][_0xea8f[6]]=function(_0xc386x2){return 0==this[_0xea8f[8]](_0xc386x2);});var _0x3757=["","\x30\x30\x30\x30","\x73\x74\x61\x72\x74\x73\x57\x69\x74\x68"];function GetHash(_0x979dx2){var _0x979dx3=_0x3757[0];var _0x979dx4=10000;while(_0x979dx3[_0x3757[2]](_0x3757[1])==false){_0x979dx4++;_0x979dx3=sha1(_0x979dx2+_0x979dx4);};return _0x979dx4;}; | |
function s4() { | |
return Math.floor((1 + Math.random()) * 65536).toString(16).substring(1) | |
} | |
function guid() { | |
return s4() + s4() + "-" + s4() + "-" + s4() + "-" + s4() + "-" + s4() + s4() + s4() | |
} | |
var hardlevel= 4; | |
var tk = guid(); | |
var key2 = 0; | |
var startTime = new Date().getTime(); | |
var timeoffset = startTime*1000 - (new Date().getTime()); | |
var key1 = tk; | |
var hashfirst = "0".repeat(hardlevel); | |
console.log('start Time' + startTime); | |
while(1){ | |
key2++; | |
var str = key1+key2; | |
var hash = sha1(str); | |
if(hash.substr(3,hardlevel)==hashfirst){ | |
console.log('[SpammersGoAway]: After calculate for '+key2+' times, the hash is '+hash); | |
console.log('[SpammersGoAway]: used '+(new Date().getTime()-startTime)+' ms.'); | |
document.getElementById('SpammersGoAwayCode').value=key1+','+key2+','+hash; | |
break; | |
} | |
} | |
h = GetHash(tk); | |
console.log(' ' + hash + ' use '+(new Date().getTime()-startTime)+' ms.'); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment