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

Signing you up...

Thank you for signing up!

PHP Decode

<!DOCTYPE html><!--STATUS OK--><html> <head> <meta http-equiv="content-type" content="te..

Decoded Output download

<!DOCTYPE html><!--STATUS OK--><html> 
<head> 
<meta http-equiv="content-type" content="text/html;charset=utf-8"> 
<script> 
window.alert = function()   
{      
confirm("4MNF{6eab0221c717bce1bc0af4f104f39e07}"); 
 window.location.href="xs.php";  
} 
</script> 
<title>Welcome into Moe's world</title> 
</head> 
<body> 
<h1 align=center>Welcome into Moe's world</h1> 
<?php  
setcookie("PHPSESSID", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImZha2UiLCJuYW1lIjoibG9sIGRvIHlvdSB0aGluayBJJ20gZ29ubmEgcHV0IHRoZSBmbGFnIGhlcmUgPyAiLCJsb2wiOjExMTExMTExMTF9.qHX3rjZKP-XdvzkucblSnmojuUW9a2lqpEtMXYP_7ug", time()+3600); 
ini_set("display_errors", 0); 
$str = $_GET["keyword"]; 
$str00 = $_GET["t_sort"]; 
$str11=$_COOKIE["PHPSESSID"]; 
$str22=str_replace(">","",$str11); 
$str33=str_replace("<","",$str22); 
echo "".htmlspecialchars($str).".</h2>".'<center> 
<form id=search> 
<input name="t_link"  value="'.'" type="hidden"> 
<input name="t_history"  value="'.'" type="hidden"> 
<input name="t_sort"  value="'.htmlspecialchars($str00).'" type="hidden"> 
<input name="t_cook"  value="'.$str33.'" type="hidden"> 
</form> 
</center>'; 
?> 
<center> 
<img src="uploads-telugu.gif"> 
</center> 
</body> 
</html> 

Did this file decode correctly?

Original Code

<!DOCTYPE html><!--STATUS OK--><html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<script>
window.alert = function()  
{     
confirm("4MNF{6eab0221c717bce1bc0af4f104f39e07}");
 window.location.href="xs.php"; 
}
</script>
<title>Welcome into Moe's world</title>
</head>
<body>
<h1 align=center>Welcome into Moe's world</h1>
<?php 
setcookie("PHPSESSID", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImZha2UiLCJuYW1lIjoibG9sIGRvIHlvdSB0aGluayBJJ20gZ29ubmEgcHV0IHRoZSBmbGFnIGhlcmUgPyAiLCJsb2wiOjExMTExMTExMTF9.qHX3rjZKP-XdvzkucblSnmojuUW9a2lqpEtMXYP_7ug", time()+3600);
ini_set("display_errors", 0);
$str = $_GET["keyword"];
$str00 = $_GET["t_sort"];
$str11=$_COOKIE["PHPSESSID"];
$str22=str_replace(">","",$str11);
$str33=str_replace("<","",$str22);
echo "".htmlspecialchars($str).".</h2>".'<center>
<form id=search>
<input name="t_link"  value="'.'" type="hidden">
<input name="t_history"  value="'.'" type="hidden">
<input name="t_sort"  value="'.htmlspecialchars($str00).'" type="hidden">
<input name="t_cook"  value="'.$str33.'" type="hidden">
</form>
</center>';
?>
<center>
<img src="uploads-telugu.gif">
</center>
</body>
</html>

Function Calls

time 1
setcookie 1

Variables

None

Stats

MD5 ad8321d2a8a53154fc7f4700eab8ca3d
Eval Count 0
Decode Time 85 ms