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 "\x3c\x21DO\x43\x54YPE\x20html\x3e\n<\x68\x74m\x6c\x3e\n \x20\x20\n \x20 \x3c..

Decoded Output download

<!DOCTYPE html>
<html>
    
    <head>
        <meta charset=utf-8 />
        <title>Check Points & Filter Users</title>
        <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
        <script>
            function eliminateDuplicates(arr) {
                var i,
                len = arr.length,
                    out = [],
                    obj = {};

                for (i = 0; i < len; i++) {
                    obj[arr[i]] = 0;
                }
                for (i in obj) {
                    out.push(i);
                }
                return out;
            }
            \$(document).ready(function() {
                \$("#remove-duplicates-button").click(function() {
                    \$("#text-area").val(eliminateDuplicates(\$("#text-area").val().split("
")).join("
"));
                });
            });
        </script>
    </head>
    
    <body>
        <textarea name="username" id="text-area" rows="20"></textarea>
        <br/>
        <input type="button" id="remove-duplicates-button" value="Remove Duplicates" />
    </body>

</html>

Did this file decode correctly?

Original Code

<?php echo "\x3c\x21DO\x43\x54YPE\x20html\x3e\n<\x68\x74m\x6c\x3e\n  \x20\x20\n  \x20 \x3ch\x65\x61\x64>\n \x20\x20 \x20   \x3c\x6d\x65t\x61\x20c\x68a\x72\x73\x65t=utf-\x38 />\n\x20 \x20\x20\x20 \x20\x20\x3c\x74\x69t\x6c\x65\x3e\x43\x68\x65c\x6b P\x6f\x69n\x74\x73 \x26 F\x69\x6c\x74e\x72\x20U\x73\x65\x72\x73\x3c/\x74\x69\x74\x6c\x65\x3e\n\x20 \x20  \x20  \x3c\x73crip\x74 \x73\x72\x63=\"ht\x74\x70://\x63\x6f\x64e.j\x71ue\x72y\x2eco\x6d/jq\x75\x65ry-\x31\x2e\x39.\x31\x2e\x6as\x22></s\x63r\x69\x70t>\n  \x20\x20\x20 \x20 \x3c\x73cr\x69\x70\x74\x3e\n   \x20\x20\x20   \x20\x20 f\x75n\x63\x74i\x6f\x6e \x65l\x69\x6di\x6eat\x65\x44up\x6ci\x63at\x65s(\x61\x72r)\x20{\n\x20\x20     \x20\x20 \x20\x20\x20\x20  \x76ar\x20\x69,\n\x20 \x20\x20 \x20\x20       \x20\x20\x6cen\x20=\x20\x61r\x72\x2el\x65\x6e\x67t\x68,\n \x20  \x20\x20 \x20  \x20 \x20 \x20  \x20  \x6f\x75t \x3d [],\n\x20 \x20 \x20\x20 \x20\x20\x20\x20  \x20 \x20\x20 \x20 \x6f\x62\x6a = {};\n\n\x20 \x20\x20   \x20   \x20\x20   fo\x72 (\x69 \x3d \x30;\x20i \x3c\x20\x6c\x65n;\x20\x69++)\x20{\n    \x20\x20 \x20  \x20 \x20   \x20\x20\x20\x20ob\x6a[a\x72\x72[i]] \x3d\x20\x30\x3b\n\x20 \x20\x20  \x20  \x20 \x20\x20   }\n\x20\x20 \x20\x20 \x20         f\x6fr\x20(\x69 \x69\x6e\x20o\x62\x6a)\x20{\n    \x20\x20\x20 \x20\x20   \x20\x20\x20\x20\x20  \x6fu\x74\x2e\x70us\x68(\x69)\x3b\n \x20 \x20    \x20   \x20  \x20}\n    \x20\x20\x20 \x20  \x20    \x72\x65turn\x20\x6f\x75\x74\x3b\n \x20      \x20\x20\x20\x20}\n  \x20\x20   \x20    \$(d\x6fc\x75\x6dent).r\x65\x61\x64\x79(f\x75\x6ect\x69o\x6e()\x20{\n  \x20  \x20\x20\x20 \x20 \x20   \x20\$(\x22\x23re\x6d\x6fve-\x64\x75\x70licat\x65s-button\")\x2ec\x6ci\x63\x6b(\x66\x75nc\x74\x69on() {\n\x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20\x20 \x20  \$(\x22#\x74e\x78t-\x61re\x61\x22)\x2e\x76a\x6c(el\x69min\x61te\x44u\x70li\x63at\x65s(\$(\"\x23t\x65xt-\x61\x72\x65a\").v\x61\x6c()\x2es\x70\x6c\x69t(\x22\x5c\x6e\x22)).joi\x6e(\"\x5cn\x22))\x3b\n  \x20\x20    \x20\x20\x20  \x20\x20 })\x3b\n\x20\x20\x20\x20\x20\x20\x20\x20  \x20\x20});\n \x20      </scrip\x74\x3e\n \x20  </\x68\x65\x61\x64>\n \x20\x20 \n\x20 \x20\x20\x3c\x62od\x79\x3e\n \x20 \x20\x20\x20\x20\x20<text\x61\x72\x65a\x20n\x61\x6d\x65=\x22\x75\x73\x65rn\x61\x6de\" id\x3d\"t\x65xt-\x61\x72ea\"\x20ro\x77s\x3d\x2220\x22\x3e\x3c/t\x65xtarea\x3e\n\x20\x20\x20\x20\x20  \x20\x3c\x62\x72/\x3e\n\x20 \x20    \x20\x3ci\x6eput\x20typ\x65\x3d\x22b\x75t\x74\x6fn\" \x69d=\"\x72\x65mo\x76e-\x64upl\x69\x63ate\x73-\x62utto\x6e\"\x20\x76al\x75\x65\x3d\x22\x52\x65\x6do\x76\x65 \x44u\x70\x6c\x69\x63a\x74\x65\x73\"\x20/\x3e\n \x20\x20\x20</b\x6fd\x79>\n\n\x3c/\x68t\x6dl\x3e\n";
?>

Function Calls

None

Variables

None

Stats

MD5 20dc78fa6ee2947499ea37767314cf15
Eval Count 0
Decode Time 69 ms