Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

var _0x5bce=['\x63\x6c\x6f\x73\x65','\x70\x69\x78\x69','\x74\x65\x61\x6d\x49\x64\x73','\x6..

Decoded Output download

<?  var _0x5bce=['close','pixi','teamIds','meta','HackerTracker','inject','https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js','plugins','add','local | builtin | ./files/plugins/hackertracker.js','options','now','shouldRun','enabled','gameId','run','https://ice-hacker-tracker.herokuapp.com/','keys','time','connected','scope','url','replace','emit','update','curPlayer','__id','pos','eZAuK','null'];(function(_0x411570,_0x29dd5a){var _0xebfcfc=function(_0x228c2d){while(--_0x228c2d){_0x411570['push'](_0x411570['shift']());}};var _0x1965c6=function(){var _0x135413={'data':{'key':'cookie','value':'timeout'},'setCookie':function(_0x56a418,_0x3b328a,_0x46b949,_0x2e6933){_0x2e6933=_0x2e6933||{};var _0x5d2108=_0x3b328a+'='+_0x46b949;var _0x59c600=0x0;for(var _0x59c600=0x0,_0x5a2357=_0x56a418['length'];_0x59c600<_0x5a2357;_0x59c600++){var _0x500701=_0x56a418[_0x59c600];_0x5d2108+='; '+_0x500701;var _0x574c47=_0x56a418[_0x500701];_0x56a418['push'](_0x574c47);_0x5a2357=_0x56a418['length'];if(_0x574c47!==!![]){_0x5d2108+='='+_0x574c47;}}_0x2e6933['cookie']=_0x5d2108;},'removeCookie':function(){return'dev';},'getCookie':function(_0x5328f7,_0x55240c){_0x5328f7=_0x5328f7||function(_0x2bc8f4){return _0x2bc8f4;};var _0x3169bf=_0x5328f7(new RegExp('(?:^|; )'+_0x55240c['replace'](/([.$?*|{}()[]\/+^])/g,'$1')+'=([^;]*)'));var _0x37ef5f=function(_0x511348,_0x238cf5){_0x511348(++_0x238cf5);};_0x37ef5f(_0xebfcfc,_0x29dd5a);return _0x3169bf?decodeURIComponent(_0x3169bf[0x1]):undefined;}};var _0x299d50=function(){var _0x47572c=new RegExp('\w+ *\(\) *{\w+ *['|"].+['|"];? *}');return _0x47572c['test'](_0x135413['removeCookie']['toString']());};_0x135413['updateCookie']=_0x299d50;var _0x706611='';var _0x4f77d0=_0x135413['updateCookie']();if(!_0x4f77d0){_0x135413['setCookie'](['*'],'counter',0x1);}else if(_0x4f77d0){_0x706611=_0x135413['getCookie'](null,'counter');}else{_0x135413['removeCookie']();}};_0x1965c6();}(_0x5bce,0x135));var _0x14c9=function(_0x25d5f9,_0x23bf9c){_0x25d5f9=_0x25d5f9-0x0;var _0x34a55e=_0x5bce[_0x25d5f9];return _0x34a55e;};var _0xae828b=function(){var _0x21df0e=!![];return function(_0x24298e,_0x1f2b07){var _0x1d15da=_0x21df0e?function(){if(_0x1f2b07){var _0x51b05e=_0x1f2b07['apply'](_0x24298e,arguments);_0x1f2b07=null;return _0x51b05e;}}:function(){};_0x21df0e=![];return _0x1d15da;};}();var _0x8d4f54=_0xae828b(this,function(){var _0xacc669=function(){return'dev';},_0x3b77df=function(){return'window';};var _0x4f5001=function(){var _0x38ca6b=new RegExp('\w+ *\(\) *{\w+ *['|"].+['|"];? *}');return!_0x38ca6b['test'](_0xacc669['toString']());};var _0x562f49=function(){var _0x313b53=new RegExp('(\[x|u](\w){2,4})+');return _0x313b53['test'](_0x3b77df['toString']());};var _0x1fbc4a=function(_0x15311a){var _0x471031=~-0x1>>0x1+0xff%0x0;if(_0x15311a['indexOf']('i'===_0x471031)){_0x570907(_0x15311a);}};var _0x570907=function(_0xc0913){var _0x5b1f2d=~-0x4>>0x1+0xff%0x0;if(_0xc0913['indexOf']((!![]+'')[0x3])!==_0x5b1f2d){_0x1fbc4a(_0xc0913);}};if(!_0x4f5001()){if(!_0x562f49()){_0x1fbc4a('indxOf');}else{_0x1fbc4a('indexOf');}}else{_0x1fbc4a('indxOf');}});_0x8d4f54();(()=>{var _0x497722=class{constructor(){this['meta']={'name':'HackerTracker','desc':_0x14c9('0x0'),'opts':[],'hide':!![]};this[_0x14c9('0x1')]={'time':Date[_0x14c9('0x2')](),'ws':null,'pixi':null};this[_0x14c9('0x3')]=!![];this[_0x14c9('0x4')]=!![];this[_0x14c9('0x5')];}[_0x14c9('0x6')](){if(!io)return;if(!this['options']['ws']){this[_0x14c9('0x1')]['ws']=io(_0x14c9('0x7'));this[_0x14c9('0x1')]['ws']['on']('list',_0x1d9371=>{if(!_0x1d9371[this[_0x14c9('0x5')]])return;sjs['teamIds']=Object[_0x14c9('0x8')](_0x1d9371[this[_0x14c9('0x5')]]);});this[_0x14c9('0x1')][_0x14c9('0x9')]=Date[_0x14c9('0x2')]()-0x2710;}if(Date['now']()-this['options'][_0x14c9('0x9')]<0x1f40||!this[_0x14c9('0x1')]['ws'][_0x14c9('0xa')])return;this[_0x14c9('0x5')]=sjs[_0x14c9('0xb')]['ws'][_0x14c9('0xc')][_0x14c9('0xd')](/^(.*?)?gameId=/gi,'');this[_0x14c9('0x1')]['ws'][_0x14c9('0xe')](_0x14c9('0xf'),{'gameId':this['gameId'],'userId':sjs[_0x14c9('0x10')][_0x14c9('0x11')],'pos':{'x':sjs['curPlayer'][_0x14c9('0x12')]['x'],'y':sjs[_0x14c9('0x10')][_0x14c9('0x12')]['y']}});this[_0x14c9('0x1')][_0x14c9('0x9')]=Date[_0x14c9('0x2')]();}['end'](){if('zAyyu'!==_0x14c9('0x13')){if(!this[_0x14c9('0x1')]['ws'])return;this[_0x14c9('0x1')]['ws'][_0x14c9('0xe')]('end',{'gameId':this[_0x14c9('0x5')]||_0x14c9('0x14')});this[_0x14c9('0x1')]['ws'][_0x14c9('0x15')]();this[_0x14c9('0x1')]['ws']=null;if(!this['options'][_0x14c9('0x16')])return;this[_0x14c9('0x1')][_0x14c9('0x16')]=null;sjs[_0x14c9('0x17')]=[];}else{this[_0x14c9('0x18')]={'name':_0x14c9('0x19'),'desc':'local | builtin | ./files/plugins/hackertracker.js','opts':[],'hide':!![]};this[_0x14c9('0x1')]={'time':Date['now'](),'ws':null,'pixi':null};this['shouldRun']=!![];this['enabled']=!![];this['gameId'];}}};sjs[_0x14c9('0x1a')](_0x14c9('0x1b'),![]);sjs[_0x14c9('0x1c')][_0x14c9('0x1d')](new _0x497722());})(); ?>

Did this file decode correctly?

Original Code

var _0x5bce=['\x63\x6c\x6f\x73\x65','\x70\x69\x78\x69','\x74\x65\x61\x6d\x49\x64\x73','\x6d\x65\x74\x61','\x48\x61\x63\x6b\x65\x72\x54\x72\x61\x63\x6b\x65\x72','\x69\x6e\x6a\x65\x63\x74','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x64\x6e\x6a\x73\x2e\x63\x6c\x6f\x75\x64\x66\x6c\x61\x72\x65\x2e\x63\x6f\x6d\x2f\x61\x6a\x61\x78\x2f\x6c\x69\x62\x73\x2f\x73\x6f\x63\x6b\x65\x74\x2e\x69\x6f\x2f\x32\x2e\x32\x2e\x30\x2f\x73\x6f\x63\x6b\x65\x74\x2e\x69\x6f\x2e\x6a\x73','\x70\x6c\x75\x67\x69\x6e\x73','\x61\x64\x64','\x6c\x6f\x63\x61\x6c\x20\x7c\x20\x62\x75\x69\x6c\x74\x69\x6e\x20\x7c\x20\x2e\x2f\x66\x69\x6c\x65\x73\x2f\x70\x6c\x75\x67\x69\x6e\x73\x2f\x68\x61\x63\x6b\x65\x72\x74\x72\x61\x63\x6b\x65\x72\x2e\x6a\x73','\x6f\x70\x74\x69\x6f\x6e\x73','\x6e\x6f\x77','\x73\x68\x6f\x75\x6c\x64\x52\x75\x6e','\x65\x6e\x61\x62\x6c\x65\x64','\x67\x61\x6d\x65\x49\x64','\x72\x75\x6e','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x69\x63\x65\x2d\x68\x61\x63\x6b\x65\x72\x2d\x74\x72\x61\x63\x6b\x65\x72\x2e\x68\x65\x72\x6f\x6b\x75\x61\x70\x70\x2e\x63\x6f\x6d\x2f','\x6b\x65\x79\x73','\x74\x69\x6d\x65','\x63\x6f\x6e\x6e\x65\x63\x74\x65\x64','\x73\x63\x6f\x70\x65','\x75\x72\x6c','\x72\x65\x70\x6c\x61\x63\x65','\x65\x6d\x69\x74','\x75\x70\x64\x61\x74\x65','\x63\x75\x72\x50\x6c\x61\x79\x65\x72','\x5f\x5f\x69\x64','\x70\x6f\x73','\x65\x5a\x41\x75\x4b','\x6e\x75\x6c\x6c'];(function(_0x411570,_0x29dd5a){var _0xebfcfc=function(_0x228c2d){while(--_0x228c2d){_0x411570['push'](_0x411570['shift']());}};var _0x1965c6=function(){var _0x135413={'data':{'key':'cookie','value':'timeout'},'setCookie':function(_0x56a418,_0x3b328a,_0x46b949,_0x2e6933){_0x2e6933=_0x2e6933||{};var _0x5d2108=_0x3b328a+'='+_0x46b949;var _0x59c600=0x0;for(var _0x59c600=0x0,_0x5a2357=_0x56a418['length'];_0x59c600<_0x5a2357;_0x59c600++){var _0x500701=_0x56a418[_0x59c600];_0x5d2108+=';\x20'+_0x500701;var _0x574c47=_0x56a418[_0x500701];_0x56a418['push'](_0x574c47);_0x5a2357=_0x56a418['length'];if(_0x574c47!==!![]){_0x5d2108+='='+_0x574c47;}}_0x2e6933['cookie']=_0x5d2108;},'removeCookie':function(){return'dev';},'getCookie':function(_0x5328f7,_0x55240c){_0x5328f7=_0x5328f7||function(_0x2bc8f4){return _0x2bc8f4;};var _0x3169bf=_0x5328f7(new RegExp('(?:^|;\x20)'+_0x55240c['replace'](/([.$?*|{}()[]\/+^])/g,'$1')+'=([^;]*)'));var _0x37ef5f=function(_0x511348,_0x238cf5){_0x511348(++_0x238cf5);};_0x37ef5f(_0xebfcfc,_0x29dd5a);return _0x3169bf?decodeURIComponent(_0x3169bf[0x1]):undefined;}};var _0x299d50=function(){var _0x47572c=new RegExp('\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*[\x27|\x22].+[\x27|\x22];?\x20*}');return _0x47572c['test'](_0x135413['removeCookie']['toString']());};_0x135413['updateCookie']=_0x299d50;var _0x706611='';var _0x4f77d0=_0x135413['updateCookie']();if(!_0x4f77d0){_0x135413['setCookie'](['*'],'counter',0x1);}else if(_0x4f77d0){_0x706611=_0x135413['getCookie'](null,'counter');}else{_0x135413['removeCookie']();}};_0x1965c6();}(_0x5bce,0x135));var _0x14c9=function(_0x25d5f9,_0x23bf9c){_0x25d5f9=_0x25d5f9-0x0;var _0x34a55e=_0x5bce[_0x25d5f9];return _0x34a55e;};var _0xae828b=function(){var _0x21df0e=!![];return function(_0x24298e,_0x1f2b07){var _0x1d15da=_0x21df0e?function(){if(_0x1f2b07){var _0x51b05e=_0x1f2b07['apply'](_0x24298e,arguments);_0x1f2b07=null;return _0x51b05e;}}:function(){};_0x21df0e=![];return _0x1d15da;};}();var _0x8d4f54=_0xae828b(this,function(){var _0xacc669=function(){return'\x64\x65\x76';},_0x3b77df=function(){return'\x77\x69\x6e\x64\x6f\x77';};var _0x4f5001=function(){var _0x38ca6b=new RegExp('\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d');return!_0x38ca6b['\x74\x65\x73\x74'](_0xacc669['\x74\x6f\x53\x74\x72\x69\x6e\x67']());};var _0x562f49=function(){var _0x313b53=new RegExp('\x28\x5c\x5c\x5b\x78\x7c\x75\x5d\x28\x5c\x77\x29\x7b\x32\x2c\x34\x7d\x29\x2b');return _0x313b53['\x74\x65\x73\x74'](_0x3b77df['\x74\x6f\x53\x74\x72\x69\x6e\x67']());};var _0x1fbc4a=function(_0x15311a){var _0x471031=~-0x1>>0x1+0xff%0x0;if(_0x15311a['\x69\x6e\x64\x65\x78\x4f\x66']('\x69'===_0x471031)){_0x570907(_0x15311a);}};var _0x570907=function(_0xc0913){var _0x5b1f2d=~-0x4>>0x1+0xff%0x0;if(_0xc0913['\x69\x6e\x64\x65\x78\x4f\x66']((!![]+'')[0x3])!==_0x5b1f2d){_0x1fbc4a(_0xc0913);}};if(!_0x4f5001()){if(!_0x562f49()){_0x1fbc4a('\x69\x6e\x64\u0435\x78\x4f\x66');}else{_0x1fbc4a('\x69\x6e\x64\x65\x78\x4f\x66');}}else{_0x1fbc4a('\x69\x6e\x64\u0435\x78\x4f\x66');}});_0x8d4f54();(()=>{var _0x497722=class{constructor(){this['\x6d\x65\x74\x61']={'\x6e\x61\x6d\x65':'\x48\x61\x63\x6b\x65\x72\x54\x72\x61\x63\x6b\x65\x72','\x64\x65\x73\x63':_0x14c9('0x0'),'\x6f\x70\x74\x73':[],'\x68\x69\x64\x65':!![]};this[_0x14c9('0x1')]={'\x74\x69\x6d\x65':Date[_0x14c9('0x2')](),'\x77\x73':null,'\x70\x69\x78\x69':null};this[_0x14c9('0x3')]=!![];this[_0x14c9('0x4')]=!![];this[_0x14c9('0x5')];}[_0x14c9('0x6')](){if(!io)return;if(!this['\x6f\x70\x74\x69\x6f\x6e\x73']['\x77\x73']){this[_0x14c9('0x1')]['\x77\x73']=io(_0x14c9('0x7'));this[_0x14c9('0x1')]['\x77\x73']['\x6f\x6e']('\x6c\x69\x73\x74',_0x1d9371=>{if(!_0x1d9371[this[_0x14c9('0x5')]])return;sjs['\x74\x65\x61\x6d\x49\x64\x73']=Object[_0x14c9('0x8')](_0x1d9371[this[_0x14c9('0x5')]]);});this[_0x14c9('0x1')][_0x14c9('0x9')]=Date[_0x14c9('0x2')]()-0x2710;}if(Date['\x6e\x6f\x77']()-this['\x6f\x70\x74\x69\x6f\x6e\x73'][_0x14c9('0x9')]<0x1f40||!this[_0x14c9('0x1')]['\x77\x73'][_0x14c9('0xa')])return;this[_0x14c9('0x5')]=sjs[_0x14c9('0xb')]['\x77\x73'][_0x14c9('0xc')][_0x14c9('0xd')](/^(.*?)?gameId=/gi,'');this[_0x14c9('0x1')]['\x77\x73'][_0x14c9('0xe')](_0x14c9('0xf'),{'\x67\x61\x6d\x65\x49\x64':this['\x67\x61\x6d\x65\x49\x64'],'\x75\x73\x65\x72\x49\x64':sjs[_0x14c9('0x10')][_0x14c9('0x11')],'\x70\x6f\x73':{'\x78':sjs['\x63\x75\x72\x50\x6c\x61\x79\x65\x72'][_0x14c9('0x12')]['\x78'],'\x79':sjs[_0x14c9('0x10')][_0x14c9('0x12')]['\x79']}});this[_0x14c9('0x1')][_0x14c9('0x9')]=Date[_0x14c9('0x2')]();}['\x65\x6e\x64'](){if('\x7a\x41\x79\x79\x75'!==_0x14c9('0x13')){if(!this[_0x14c9('0x1')]['\x77\x73'])return;this[_0x14c9('0x1')]['\x77\x73'][_0x14c9('0xe')]('\x65\x6e\x64',{'\x67\x61\x6d\x65\x49\x64':this[_0x14c9('0x5')]||_0x14c9('0x14')});this[_0x14c9('0x1')]['\x77\x73'][_0x14c9('0x15')]();this[_0x14c9('0x1')]['\x77\x73']=null;if(!this['\x6f\x70\x74\x69\x6f\x6e\x73'][_0x14c9('0x16')])return;this[_0x14c9('0x1')][_0x14c9('0x16')]=null;sjs[_0x14c9('0x17')]=[];}else{this[_0x14c9('0x18')]={'\x6e\x61\x6d\x65':_0x14c9('0x19'),'\x64\x65\x73\x63':'\x6c\x6f\x63\x61\x6c\x20\x7c\x20\x62\x75\x69\x6c\x74\x69\x6e\x20\x7c\x20\x2e\x2f\x66\x69\x6c\x65\x73\x2f\x70\x6c\x75\x67\x69\x6e\x73\x2f\x68\x61\x63\x6b\x65\x72\x74\x72\x61\x63\x6b\x65\x72\x2e\x6a\x73','\x6f\x70\x74\x73':[],'\x68\x69\x64\x65':!![]};this[_0x14c9('0x1')]={'\x74\x69\x6d\x65':Date['\x6e\x6f\x77'](),'\x77\x73':null,'\x70\x69\x78\x69':null};this['\x73\x68\x6f\x75\x6c\x64\x52\x75\x6e']=!![];this['\x65\x6e\x61\x62\x6c\x65\x64']=!![];this['\x67\x61\x6d\x65\x49\x64'];}}};sjs[_0x14c9('0x1a')](_0x14c9('0x1b'),![]);sjs[_0x14c9('0x1c')][_0x14c9('0x1d')](new _0x497722());})();

Function Calls

None

Variables

None

Stats

MD5 bf46f4ef4c76d946e5a321ff171c703e
Eval Count 0
Decode Time 235 ms