Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$source = file_get_contents('obfuscated_source.php'); if (preg_match_all('/\\x(..)/', $so..
Decoded Output download
<? $source = file_get_contents('obfuscated_source.php');
if (preg_match_all('/\x(..)/', $source, $matches)) {
for ($i = 0, $len = count($matches[0]); $i < $len; ++$i) {
$source = str_replace($matches[0][$i], chr(hexdec($matches[1][$i])), $source);
}
}
file_put_contents('source.php', $source); ?>
Did this file decode correctly?
Original Code
$source = file_get_contents('obfuscated_source.php');
if (preg_match_all('/\\x(..)/', $source, $matches)) {
for ($i = 0, $len = count($matches[0]); $i < $len; ++$i) {
$source = str_replace($matches[0][$i], chr(hexdec($matches[1][$i])), $source);
}
}
file_put_contents('source.php', $source);
Function Calls
preg_match_all | 1 |
file_get_contents | 1 |
Stats
MD5 | 447ef15670802d1ecd4277fe1d1db076 |
Eval Count | 0 |
Decode Time | 56 ms |