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 ${"\x47\x4c\x4fB\x41LS"}["\x64\x6f\x6f\x75hm\x6f"]="\x66\x6fpe\x6e";${"G\x4c\x4fBA\x..
Decoded Output download
<style type="text/css">
#error{
background: #ffdbdb;
float: left;
padding: 8px 15px;
color: #991616;
border-radius: 5px;
}
</style>
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Simple login form</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="login">
<h1 class="login-heading">
<strong>Bem vindo.</strong> Digite o seu serial.</h1>
<form method="post">
<input type="text" name="serial" placeholder="Serial do pgina" required="required" class="input-txt" />
<div class="login-footer">
<button type="submit" class="btn btn--right">Continuar </button>
</div>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4c\x4fB\x41LS"}["\x64\x6f\x6f\x75hm\x6f"]="\x66\x6fpe\x6e";${"G\x4c\x4fBA\x4cS"}["\x68h\x70l\x73\x6ck\x6b"]="\x73\x74\x61\x74\x75\x73";${"G\x4cO\x42\x41\x4c\x53"}["\x63vy\x61\x69\x72\x6a\x73p"]="st\x72";${"\x47\x4cO\x42\x41L\x53"}["u\x6b\x79\x6e\x68\x73\x64\x75\x77"]="\x73tri\x6eg";${"G\x4c\x4f\x42A\x4c\x53"}["\x68f\x78\x6cga\x6c\x64x\x6a\x73"]="V\x65r\x69\x66\x69c\x61\x53e\x45x\x69\x73te\x61L\x69ce\x6e\x63a";${"GL\x4fB\x41\x4cS"}["lpm\x76f\x6d\x69x\x65"]="\x73e\x72\x69\x61l";${"\x47L\x4f\x42\x41\x4cS"}["n\x70\x64u\x6awvdl"]="\x75r\x6c\x62a\x73e";${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x6e\x66\x6bkym\x73\x72\x65"]="\x69\x6e\x69";echo "\x3cs\x74\x79le\x20\x74ype\x3d\x22text/c\x73s\x22\x3e\n\x20 \x23\x65r\x72or{\n\x20\x20\x20\x20bac\x6b\x67ro\x75\x6e\x64: #\x66f\x64\x62db\x3b\n\x20 \x20 \x66l\x6f\x61t:\x20\x6c\x65ft\x3b\n\x20\x20 \x20p\x61ddi\x6e\x67: 8\x70\x78\x20\x31\x35\x70\x78\x3b\n\x20 \x20\x63\x6fl\x6fr: #99\x31\x3616\x3b\n \x20\x20 \x62o\x72der-ra\x64i\x75\x73: \x35p\x78\x3b\n\x20\x20}\n\x3c/s\x74\x79le>\n\n\x3c\x21DO\x43T\x59\x50\x45 h\x74\x6dl\x3e\n\x3c\x68\x74m\x6c\x20lan\x67\x3d\x22\x65n\x22 \x3e\n\n<he\x61\x64\x3e\n\x20\x20\x3cm\x65t\x61 \x63\x68a\x72set=\x22U\x54F-8\x22\x3e\n <\x74\x69\x74l\x65\x3eS\x69\x6dple l\x6f\x67i\x6e \x66\x6frm\x3c/\x74i\x74le\x3e\n \n\x20 \x3c\x6ci\x6ek \x72\x65\x6c=\"\x73\x74yles\x68\x65\x65t\x22\x20h\x72ef=\x22\x68t\x74p\x73://cdnjs.c\x6c\x6fudfl\x61\x72\x65.c\x6f\x6d/\x61\x6a\x61\x78/li\x62s/\x6d\x65\x79\x65r-r\x65\x73\x65\x74/2\x2e0/\x72es\x65t\x2e\x6di\x6e\x2ecss\">\n\n\x20 \n \x20\x20 \x3c\x6cink\x20\x72\x65l\x3d\x22styl\x65\x73hee\x74\" h\x72ef=\"\x63ss/\x73\x74\x79\x6ce\x2ec\x73s\x22>\n\n \n\x3c/hea\x64\x3e\n\n<\x62\x6fd\x79\x3e\n\n\x20\x20\x3c\x64\x69\x76 c\x6ca\x73\x73=\x22\x63on\x74\x61in\x65r\x22\x3e\n\x20 \x3c\x64\x69\x76\x20class\x3d\x22\x6c\x6f\x67i\x6e\x22>\n\x20 \t\x3ch\x31\x20cla\x73s\x3d\"\x6co\x67i\x6e-hea\x64\x69\x6e\x67\x22>\n\x20 \x20 \x20\x3cst\x72o\x6e\x67\x3e\x42em\x20vi\x6ed\x6f\x2e</\x73\x74r\x6fng\x3e\x20\x44\x69gite\x20o \x73eu\x20se\x72\x69a\x6c.\x3c/h\x31>\n\x20\x20\x20\x20 \x20\x3c\x66orm\x20\x6d\x65thod=\"\x70\x6fs\x74\">\n \x20\x20 <input\x20\x74\x79pe\x3d\x22\x74\x65xt\x22 \x6e\x61m\x65=\x22se\x72ia\x6c\x22 plac\x65h\x6f\x6cder\x3d\x22\x53\x65\x72ia\x6c do\x20\x70\x67\x69n\x61\" \x72equ\x69\x72ed\x3d\"re\x71u\x69re\x64\x22\x20\x63l\x61\x73\x73\x3d\x22\x69\x6e\x70\x75\x74-tx\x74\x22\x20/\x3e\n\x20 \x20 \x20 \x20\n \x20\x20\x20\x20\x20 \x20\x20<\x64\x69\x76\x20\x63las\x73\x3d\x22\x6c\x6f\x67\x69n-\x66o\x6ft\x65r\x22>\n\x20 \x20 \x20\x20\x20\x20\x20 \x20\x20\n\x20\x20 \x20\x20\x20\x20\x20 \x20\x20<\x62\x75tton \x74\x79\x70\x65=\x22submit\x22\x20c\x6c\x61ss=\"\x62\x74n\x20\x62\x74n--r\x69\x67h\x74\"\x3eCon\x74in\x75a\x72\x20 \x3c/b\x75t\x74o\x6e>\n \x20\x20 \n\n\x20 \x20\x20\x20 \x20</\x64\x69\x76\x3e\n\n\x20\x20 \x20 \x20\x20 \x20";if(isset($_POST["seria\x6c"])){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x6b\x69\x6e\x64u\x78x\x65ez"]="\x73\x65\x72\x69\x61\x6c";${${"\x47\x4cO\x42\x41\x4cS"}["\x69\x6b\x69\x6edux\x78eez"]}=htmlentities(trim($_POST["s\x65ri\x61\x6c"]));include".\x2e/\x62a\x73\x65/b\x61se.\x70h\x70";${${"\x47LO\x42\x41L\x53"}["\x68\x6e\x66k\x6b\x79\x6d\x73\x72e"]}=file_get_contents(${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x70\x64\x75\x6a\x77\x76\x64\x6c"]}."/in\x64ex.ph\x70?\x69\x64=".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6cp\x6d\x76\x66\x6d\x69x\x65"]});${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68f\x78l\x67\x61\x6c\x64\x78\x6as"]}=strpos(${${"\x47L\x4f\x42A\x4c\x53"}["\x68\x6e\x66\x6b\x6b\x79\x6d\x73\x72\x65"]},"\x4ci\x63\x65n\x61\x20no exi\x73\x74e \x21");if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x66x\x6c\x67\x61\x6c\x64xj\x73"]}==true){echo"<\x64\x69\x76 i\x64\x3d\x22\x65\x72r\x6fr\x22>Sr\x69\x61\x6c\x20in\x76a\x6cid\x6f \x21</\x64\x69v>";}else{$onjljyypceew="\x73\x74a\x74u\x73";function getstr($string,$start,$end){$qpyocpt="\x73\x74\x72";$ejrtuvo="\x73t\x61\x72\x74";$aqmzpacs="\x73tr";$ufwlwu="\x65\x6e\x64";${"GL\x4f\x42\x41\x4c\x53"}["kv\x69\x62\x79\x6e\x63\x78\x64c"]="\x73\x74\x72";${$aqmzpacs}=explode(${$ejrtuvo},${${"G\x4cO\x42\x41\x4c\x53"}["\x75k\x79\x6ehs\x64\x75\x77"]});${${"G\x4c\x4f\x42A\x4c\x53"}["\x63v\x79\x61\x69\x72\x6a\x73p"]}=explode(${$ufwlwu},${$qpyocpt}[1]);return${${"G\x4cOB\x41\x4cS"}["\x6bvi\x62\x79\x6ec\x78\x64\x63"]}[0];}$pfqmgvrvob="\x69\x6ei";${${"\x47\x4c\x4f\x42A\x4cS"}["\x68h\x70\x6c\x73\x6ck\x6b"]}=getstr(${$pfqmgvrvob},"<di\x76 \x69\x64\x3d\"\x73\x74a\x74u\x73\x22\x3e","</\x64\x69\x76\x3e");if(${$onjljyypceew}!=="1"){echo"<di\x76\x20\x69\x64=\"e\x72\x72or\x22>\x53\x72\x69a\x6c\x20\x64\x65sa\x74ivad\x6f\x20\x21</\x64\x69v>";}else{$xeovukyonw="\x66\x6f\x70\x65\x6e";${"G\x4c\x4fBA\x4cS"}["\x73\x6ble\x65\x75\x68\x62"]="s\x65ria\x6c";$rrgpamw="\x43\x72\x69a\x53\x65rial";$jxindgk="Cr\x69\x61\x53\x65r\x69\x61\x6c";${$rrgpamw}="\n<?php\n\$seria\x6c\x20= \"".${${"G\x4cOB\x41\x4cS"}["s\x6b\x6c\x65\x65\x75\x68b"]}."\"; //S\x45\x52\x49\x41L A\x44IQUIRI\x44\x4f SM\x41\x52\x547\n?\x3e\n";${$xeovukyonw}=fopen("\x2e\x2e/\x73e\x72i\x61l/se\x72\x69\x61\x6c.php","w+\x62");fwrite(${${"\x47L\x4f\x42\x41L\x53"}["\x64o\x6f\x75\x68\x6do"]},${$jxindgk});fclose(${${"G\x4cO\x42\x41L\x53"}["\x64\x6f\x6f\x75\x68\x6do"]});echo"\x3csc\x72ip\x74>\x77i\x6ed\x6f\x77\x2e\x6co\x63\x61\x74ion\x2ehre\x66=\"\x2e./i\x6ed\x65x.p\x68\x70?ad\x6din\x64e\x73\x62loq\x75\x65\x22</s\x63ri\x70\x74\x3e";}}}echo "\n \x20 \x20\x20 </f\x6f\x72m\x3e\n \x20\x3c/d\x69\x76>\n\x3c/\x64i\x76\x3e\n\x20\x20\n \x20\n\n\x20 \x20 <script\x20 s\x72c=\x22\x6a\x73/\x69ndex.j\x73\"\x3e\x3c/sc\x72i\x70\x74\x3e\n\n\n\n\n</b\x6fdy>\n\n\x3c/html>\n";
?>
Function Calls
| trim | 1 |
| htmlentities | 1 |
Stats
| MD5 | ae743243b49e4e395d1c8ac51730f7f4 |
| Eval Count | 0 |
| Decode Time | 166 ms |