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

Signing you up...

Thank you for signing up!

PHP Decode

$input = 'du`k!Ci`fE0fScJDAOc5B`I!Ci&aj_qq'; $output = ""; $index = 0; $length = strlen..

Decoded Output download

eval(agF1gTdKEBPd6CaJ('bk`rr

Did this file decode correctly?

Original Code

$input = 'du`k!Ci`fE0fScJDAOc5B`I!Ci&aj_qq';
$output = "";
$index = 0;
$length = strlen($input);
while ($index < $length) {
    if ($input[$index] == ' ') {
        $output .= " ";
    } else if ($input[$index] == '!') {
        $output .= chr((ord($input[$index + 1]) - ord('A')) * 16 + (ord($input[$index + 2]) - ord('a')));
        $index += 2;
    } else {
        $output .= chr(ord($input[$index]) + 1);
    }
    $index++;
}
echo $output;

Function Calls

chr 28
ord 34
strlen 1

Variables

$index 32
$input du`k!Ci`fE0fScJDAOc5B`I!Ci&aj_qq
$length 32
$output eval(agF1gTdKEBPd6CaJ('bk`rr

Stats

MD5 7a65ee4221bf5a05b5b863bc6bc62e51
Eval Count 0
Decode Time 335 ms