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 echo "<!DO\x43\x54Y\x50E htm\x6c\x20PUB\x4c\x49C \"-//\x573C//D\x54\x44\x20\x58H\x54..

Decoded Output download

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login Register</title>
<style type="text/css">
@import url("css/maxreport.css");
</style>
</head>

<body>



<div id="container">
  <div id="header">WEB REPORT</div>  
   
  <div id="middle_column">
    <div id="inner_right">
    	<p> Login</p>
        <form id="form1" name="form1" method="post" action="login.php">
    <p>
      <label for="username">Agen ID</label>
      <input type="text" name="username" id="username" />
    </p>    
      <p>
        <label for="password">Password</label>
        <input type="password" name="password" id="password" />
      </p>
      <p>
        <input type="submit" name="Login" id="Login" value="Login" />        
      </p>
    </form> 
    </div>
  </div>
  <div id="footer">Copyright &copy; SimpleMachinE 2012 </div>
</div>
<script>	
 
</script>
</body>
</html>

Did this file decode correctly?

Original Code

<?php echo "<!DO\x43\x54Y\x50E htm\x6c\x20PUB\x4c\x49C \"-//\x573C//D\x54\x44\x20\x58H\x54M\x4c \x31\x2e0 \x54r\x61\x6esitio\x6e\x61\x6c//EN\"\x20\"htt\x70://ww\x77\x2ew\x33.org/T\x52/x\x68tml1/DTD/xh\x74ml\x31-\x74ra\x6e\x73\x69t\x69\x6fnal\x2ed\x74\x64\"\x3e\n<h\x74\x6d\x6c\x20\x78\x6d\x6cn\x73=\x22h\x74\x74\x70://\x77\x77\x77.\x77\x33\x2eo\x72g/\x319\x39\x39/x\x68\x74\x6dl\">\n\x3ch\x65ad\x3e\n<me\x74a h\x74\x74\x70-\x65q\x75\x69\x76=\"Con\x74e\x6e\x74-\x54ype\x22\x20conte\x6et=\x22te\x78\x74/\x68t\x6dl\x3b\x20ch\x61rse\x74=utf-\x38\"\x20/\x3e\n\x3c\x74\x69t\x6c\x65>\x4cog\x69\x6e\x20Re\x67ister\x3c/t\x69\x74\x6c\x65\x3e\n\x3c\x73\x74\x79l\x65 ty\x70e=\"\x74e\x78t/c\x73s\"\x3e\n@\x69\x6d\x70\x6f\x72\x74 url(\"c\x73s/\x6d\x61\x78repor\x74.css\")\x3b\n</\x73\x74y\x6c\x65>\n\x3c/h\x65\x61\x64\x3e\n\n\x3cb\x6fd\x79>\n";$yoxgcouws="\x6d\x73\x67";${"\x47L\x4f\x42\x41\x4c\x53"}["\x7a\x61\x71\x78y\x69\x7a\x69\x78f"]="a\x67\x65\x6e";${$yoxgcouws}=$_GET["msg"];${${"\x47\x4c\x4fBA\x4c\x53"}["\x7a\x61\x71xyi\x7a\x69\x78f"]}=($_GET["ag\x65ni\x64"])?$_GET["\x61\x67e\x6eid"]:"";echo "\n\n\n\x3cdi\x76 i\x64=\"c\x6f\x6e\x74a\x69\x6ee\x72\x22\x3e\n\x20\x20<d\x69\x76\x20\x69d\x3d\"h\x65\x61\x64\x65r\x22>\x57E\x42\x20REPO\x52\x54</\x64iv>\x20\x20\n \x20 \n\x20 \x3c\x64iv i\x64=\x22\x6d\x69dd\x6ce_c\x6f\x6c\x75m\x6e\"\x3e\n \x20\x20 \x3c\x64\x69\x76 \x69\x64=\"i\x6e\x6e\x65r\x5f\x72\x69\x67\x68\x74\">\n\x20   \t<\x70\x3e Lo\x67\x69n</p>\n\x20\x20\x20\x20\x20  \x20\x3cfo\x72m \x69\x64\x3d\"f\x6f\x72m\x31\x22 \x6eam\x65\x3d\"form1\x22\x20m\x65\x74\x68\x6fd\x3d\x22post\x22 \x61\x63\x74\x69\x6fn\x3d\x22\x6c\x6f\x67i\x6e\x2ep\x68p\">\n \x20\x20 \x3cp\x3e\n\x20\x20\x20\x20\x20 \x3c\x6cabel\x20f\x6fr\x3d\"\x75\x73e\x72\x6e\x61\x6de\"\x3eA\x67\x65\x6e\x20\x49D</l\x61\x62e\x6c>\n\x20\x20\x20 \x20 <i\x6ep\x75t ty\x70e\x3d\x22\x74e\x78t\x22\x20\x6eame\x3d\"us\x65\x72\x6e\x61me\" i\x64=\x22\x75s\x65\x72name\x22\x20/\x3e\n \x20 \x20\x3c/\x70>\x20\x20\x20 \n      <p\x3e\n    \x20 \x20\x20<\x6c\x61\x62el\x20for\x3d\"pa\x73s\x77\x6fr\x64\x22>P\x61s\x73\x77\x6fr\x64</\x6ca\x62e\x6c\x3e\n\x20    \x20 \x20\x3cin\x70\x75t\x20t\x79pe\x3d\x22p\x61\x73swor\x64\x22 \x6eame\x3d\"\x70a\x73swor\x64\" i\x64\x3d\"\x70a\x73\x73word\" />\n\x20   \x20\x20</\x70\x3e\n  \x20\x20\x20\x20<p\x3e\n\x20\x20   \x20\x20 <\x69\x6epu\x74\x20\x74yp\x65=\x22s\x75b\x6d\x69\x74\"\x20n\x61\x6d\x65=\"Lo\x67i\x6e\x22\x20id\x3d\"Log\x69n\" valu\x65\x3d\x22\x4c\x6f\x67i\x6e\x22 />   \x20\x20 \x20\x20\n\x20\x20\x20\x20 \x20\x3c/p\x3e\n \x20\x20\x20\x3c/for\x6d\x3e\x20\n   \x20\x3c/div>\n\x20\x20\x3c/d\x69\x76\x3e\n\x20 \x3cd\x69v \x69\x64\x3d\"\x66\x6foter\"\x3eC\x6fpyr\x69\x67\x68t\x20\x26co\x70\x79;\x20S\x69mp\x6c\x65MachinE\x202\x301\x32 </\x64i\x76\x3e\n\x3c/d\x69\x76>\n\x3c\x73cr\x69\x70t\x3e\t\n";${"\x47L\x4f\x42A\x4c\x53"}["\x68\x75\x79\x68tf\x77\x73\x79\x63\x79"]="\x6d\x73\x67";if(${${"\x47L\x4fB\x41\x4c\x53"}["\x68\x75\x79\x68\x74f\x77\x73y\x63\x79"]})echo"\x61lert\x20('$msg\x27); \n";echo "\x20\n</s\x63ri\x70t>\n</\x62\x6fd\x79\x3e\n\x3c/\x68\x74ml\x3e";
?>

Function Calls

None

Variables

msg None
agen
GLOBALS [{'key': 'zaqxyizixf', 'value': 'agen'}, {'key': 'huyhtfwsycy', 'value': 'msg'}]
$yoxgcouws msg

Stats

MD5 7d9509847371b06255a768655c741ba3
Eval Count 0
Decode Time 83 ms