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 eval("\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x62\x61\x73\x65\x..

Decoded Output download

?><?php
$GDE=strpos($_SERVER['REQUEST_URI'],'admin');
$GDE2=strpos($_SERVER['REQUEST_URI'],'go/');
if ($GDE==null){$_g_f = file_get_contents('admin/t'.'ry_fun'.'ction.p'.'hp');}
else {
if ($GDE2!=null){$_g_f = file_get_contents('../../t'.'ry_fun'.'ction.p'.'hp');
 }else {$_g_f = file_get_contents('t'.'ry_fun'.'ction.p'.'hp');}
}
function Vmail($mail){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $mail;exit;}}
	if (!filter_var($mail, FILTER_VALIDATE_EMAIL)) 
	{
		header('Location:/bannerbro/valid.php?er=mail'); 
		exit; 
	}
}
function Vname($name){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $name;exit;}}
	if (!preg_match("/^[a-z-0-9\,\. ]*$/iu",$name)) 
	{
		header('Location:/bannerbro/valid.php?er=name');
		exit;
	}
}

function Vnamepoint($name){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $name;exit;}}
	if (!preg_match("/^[a-z-0-9\.\\!\? ]*$/iu",$name)) 
	{
		header('Location:/bannerbro/valid.php?er=namepoint');
		exit;
	}
}

function Vaboutpos($name){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $name;exit;}}
	if (!preg_match("/^[a-z-0-9\.\\!\? ]*$/iu",$name)) 
	{
		header('Location:/bannerbro/valid.php?er=aboutpos');
		exit;
	}
}

function Vdate($date){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $date;exit;}}
	if (!preg_match("/^[0-9\/\, ]*$/",$date)) 
	{
		header('Location:/bannerbro/valid.php?er=date');
		exit;
	}
}

function Vcode($code){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $code;exit;}}
	if (!preg_match("/^[-a-zA-Z0-9]+$/", $code)) 
	{
		header('Location:/bannerbro/valid.php?er=code');
		exit;
	}
}

function Vprice($price){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $price;exit;}}
	if ($price>0)
		{
			if (!filter_var($price, FILTER_VALIDATE_FLOAT)) 
				{
					header('Location:/bannerbro/valid.php?er=price');
					exit;
				}
		} else {
			header('Location:/bannerbro/valid.php?er=price');
			exit;
		}
}
function Vint($int){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $int;exit;}}
	if (!filter_var($int, FILTER_VALIDATE_INT)&&!filter_var($int, FILTER_VALIDATE_FLOAT)) 
	{
		header('Location:/bannerbro/valid.php?er=int');
		exit;
	}
}
function Vintonly($int){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $int;exit;}}
	if (!filter_var($int, FILTER_VALIDATE_INT)) 
	{
		header('Location:/bannerbro/valid.php?er=intonly');
		exit;
	}
}
function Vurl($url){
	global $_g_f;
	if (md5(md5(strlen($_g_f)))!='dcfcd07e645d245babe887e5e2daa016'){if (md5(md5(strlen($_g_f)))!='d93e2dc13cfc26f366aaedbcca3ff287' && md5(md5(strlen($_g_f)))!='869bcbf6f055521e0312497bab4db666'){return $url;exit;}}
	if (!preg_match("/(?:(?:https?|ftp):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i",$url)) 
	{
		header('Location:/bannerbro/valid.php?er=url');
		exit;
	}
}
function DeletBadSimvol($str) {
	$Dpos='';
	$UperStr='check '.strtoupper($str); 
	$Arrays = array('<?php','?>','RETURN','SYS','<SCRIPT>','</SCRIPT>','OR','AND','\'\'','WHERE','||','GROUP','DROP','INSERT','UPDATE','ID','EXISTS','WIN','BIN','ETC','E.T.C.');
	for ($i = 0; $i < count($Arrays); $i++)
		{	
		$Dpos=strripos(trim($UperStr), trim($Arrays[$i]));
			if ($Dpos!=false){
			header('Location:/bannerbro/valid.php?er=about_position');
			exit;
			}
		}	
}
?>

Did this file decode correctly?

Original Code

<?php eval("\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x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Calls

gzinflate 5
doqbrs97171 1
base64_decode 5

Variables

$a base64_decode
$b gzinflate
$str 7Zffc6JWFMefzUz+B9xSgY2C0Wh+aawb2V1nbJIiZttGy1zgokwRGMSkabRP..

Stats

MD5 19906365aeae3fe054b843221af7968f
Eval Count 9
Decode Time 109 ms