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

Signing you up...

Thank you for signing up!

PHP Decode

echo "\x3c!\x44OCTY\x50\x45 \x68\x74\x6d\x6c\x3e\n\x3c\x68t\x6d\x6c \x6ca\x6e\x67=\"en\">\..

Decoded Output download

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
    <style>
        body { font-family: Arial, sans-serif; }
        .login-box { max-width: 300px; margin: 50px auto; border: 1px solid #ccc; padding: 20px; }
        label { display: block; margin-bottom: 5px; }
        input[type="text"], input[type="password"] { width: 100%; padding: 8px; margin-bottom: 10px; }
        input[type="submit"] { padding: 10px; width: 100%; background-color: #007BFF; color: white; border: none; }
    </style>
</head>
<body>
<div class="login-box">
    <h2>Login</h2>
    <form method="POST" action="authenticate.php">
        <label for="username">Username:</label>
        <input type="text" id="username" name="username" required>
        <label for="password">Password:</label>
        <input type="password" id="password" name="password" required>
        <input type="submit" value="Login">
    </form>
</div>
</body>
</html>

Did this file decode correctly?

Original Code

echo "\x3c!\x44OCTY\x50\x45 \x68\x74\x6d\x6c\x3e\n\x3c\x68t\x6d\x6c \x6ca\x6e\x67=\"en\">\n<\x68ead>\n \x20  <\x6d\x65\x74\x61\x20\x63\x68\x61r\x73et=\"U\x54\x46-8\x22>\n \x20\x20 <\x74\x69t\x6ce\x3eLo\x67\x69n\x3c/\x74i\x74l\x65>\n \x20 \x20\x3cs\x74y\x6ce\x3e\n  \x20\x20\x20\x20  \x62\x6f\x64\x79 { \x66o\x6et-fa\x6di\x6c\x79: \x41\x72i\x61l,\x20\x73a\x6es-\x73\x65rif\x3b }\n \x20\x20\x20\x20\x20 \x20\x2el\x6f\x67\x69\x6e-bo\x78\x20{ m\x61x-\x77\x69d\x74\x68:\x20\x3300p\x78\x3b\x20\x6d\x61\x72gi\x6e: \x35\x30px\x20a\x75t\x6f; \x62\x6fr\x64\x65\x72:\x20\x31\x70\x78 s\x6f\x6cid #\x63c\x63\x3b \x70\x61d\x64\x69n\x67: 2\x30p\x78;\x20}\n \x20\x20\x20 \x20 \x20la\x62el { d\x69\x73\x70\x6ca\x79: \x62\x6cock\x3b \x6d\x61r\x67\x69\x6e-bo\x74\x74om:\x205px;\x20}\n\x20 \x20 \x20  \x20i\x6e\x70\x75t[\x74y\x70e=\"\x74e\x78t\x22], \x69n\x70ut[\x74\x79p\x65\x3d\"pas\x73\x77ord\x22]\x20{\x20\x77idth:\x20\x31\x30\x30\x25\x3b\x20p\x61d\x64i\x6e\x67:\x20\x38px\x3b \x6dargin-bo\x74t\x6f\x6d:\x20\x31\x30\x70x; }\n \x20 \x20 \x20\x20\x20\x69n\x70\x75\x74[typ\x65=\x22s\x75\x62m\x69t\"] { \x70\x61d\x64i\x6eg:\x20\x310px\x3b \x77i\x64\x74h: \x3100\x25; b\x61c\x6b\x67\x72o\x75\x6e\x64-co\x6c\x6fr: #\x3007BFF\x3b \x63o\x6c\x6fr: \x77\x68\x69\x74\x65\x3b\x20\x62\x6frd\x65\x72:\x20\x6e\x6fn\x65\x3b\x20}\n\x20  \x20</\x73ty\x6ce\x3e\n</\x68\x65ad>\n<\x62o\x64y\x3e\n\x3cd\x69v \x63\x6cas\x73\x3d\"login-b\x6f\x78\"\x3e\n \x20 \x20<h\x32>L\x6f\x67i\x6e</h2\x3e\n\x20\x20  \x3cfo\x72\x6d\x20me\x74ho\x64\x3d\"P\x4fST\"\x20\x61c\x74io\x6e\x3d\x22au\x74he\x6et\x69c\x61\x74e\x2e\x70hp\x22>\n\x20     \x20\x20<lab\x65l\x20for=\x22username\">\x55s\x65\x72\x6e\x61m\x65:</\x6c\x61\x62\x65l\x3e\n \x20  \x20\x20\x20\x20<i\x6epu\x74 \x74yp\x65\x3d\x22\x74ext\x22\x20id\x3d\"u\x73\x65rn\x61\x6d\x65\x22\x20nam\x65\x3d\x22us\x65\x72\x6ea\x6d\x65\x22\x20\x72\x65qui\x72e\x64\x3e\n\x20\x20\x20  \x20  \x3c\x6c\x61\x62\x65\x6c f\x6fr\x3d\"\x70asswo\x72d\x22\x3e\x50\x61ss\x77\x6frd:</\x6c\x61\x62el\x3e\n\x20 \x20\x20\x20\x20  <i\x6ep\x75t ty\x70\x65=\x22\x70\x61\x73sw\x6f\x72d\" \x69\x64=\x22pas\x73w\x6fr\x64\" n\x61\x6d\x65=\x22pass\x77ord\x22\x20r\x65qu\x69red>\n\x20 \x20  \x20\x20\x20<i\x6ep\x75t\x20typ\x65\x3d\x22su\x62\x6d\x69t\x22\x20va\x6cue=\x22L\x6fgin\x22>\n\x20\x20  \x3c/\x66or\x6d\x3e\n\x3c/\x64i\x76\x3e\n</\x62\x6fdy>\n</h\x74\x6dl\x3e\n";

Function Calls

None

Variables

None

Stats

MD5 4e65bf5437302a5fedd249bc73db0320
Eval Count 0
Decode Time 64 ms