Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
goto sxnxC; JUvLv: header("\x41\x63\x63\145\x73\x73\x2d\103\x6f\x6e\164\162\157\154\55\..
Decoded Output download
<?
goto sxnxC; JUvLv: header("Access-Control-Allow-Methods: GET, OPTIONS"); goto SbRv2; VcvEi: if ($response !== false) { $quote_data = json_decode($response); if ($quote_data !== null) { $quote = $quote_data->content; $author = $quote_data->author; $response_data = array("quote" => $quote, "author" => $author, "join Tg" => "@Tkkytrs"); header("Content-Type: application/json"); echo json_encode($response_data); } else { http_response_code(500); echo json_encode(array("error" => "Internal Server Error")); } } else { http_response_code(500); echo json_encode(array("error" => "Internal Server Error")); } goto xF9ln; sxnxC: header("Access-Control-Allow-Origin: *"); goto JUvLv; SbRv2: header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept"); goto dkpF6; bzyHn: $response = file_get_contents_no_ssl_verify($quotable_api_url); goto VcvEi; dkpF6: function file_get_contents_no_ssl_verify($url) { $options = array("ssl" => array("verify_peer" => false, "verify_peer_name" => false)); return file_get_contents($url, false, stream_context_create($options)); } goto bCLUV; bCLUV: $quotable_api_url = "https://api.quotable.io/random"; goto bzyHn; xF9ln: ?>
Did this file decode correctly?
Original Code
goto sxnxC; JUvLv: header("\x41\x63\x63\145\x73\x73\x2d\103\x6f\x6e\164\162\157\154\55\x41\154\x6c\x6f\x77\x2d\x4d\145\x74\x68\157\x64\x73\x3a\40\107\105\x54\x2c\x20\x4f\120\x54\111\117\116\x53"); goto SbRv2; VcvEi: if ($response !== false) { $quote_data = json_decode($response); if ($quote_data !== null) { $quote = $quote_data->content; $author = $quote_data->author; $response_data = array("\161\165\157\164\x65" => $quote, "\141\x75\x74\150\157\x72" => $author, "\152\x6f\151\x6e\40\x54\147" => "\100\124\x6b\153\x79\x74\x72\163"); header("\x43\x6f\x6e\164\145\x6e\x74\x2d\x54\171\x70\x65\x3a\x20\141\x70\x70\154\x69\143\141\x74\151\157\x6e\57\x6a\163\x6f\156"); echo json_encode($response_data); } else { http_response_code(500); echo json_encode(array("\x65\x72\162\157\x72" => "\111\156\x74\145\162\x6e\141\x6c\x20\x53\x65\x72\166\145\162\x20\x45\x72\162\x6f\x72")); } } else { http_response_code(500); echo json_encode(array("\145\162\x72\157\162" => "\x49\x6e\164\145\x72\156\x61\154\40\x53\145\162\x76\145\162\x20\x45\x72\x72\157\x72")); } goto xF9ln; sxnxC: header("\x41\x63\x63\x65\x73\163\x2d\x43\157\156\164\162\157\154\x2d\x41\154\x6c\157\167\55\117\162\151\x67\x69\x6e\x3a\40\x2a"); goto JUvLv; SbRv2: header("\101\x63\143\145\163\x73\x2d\103\157\156\164\x72\157\154\55\101\x6c\154\157\167\x2d\110\x65\x61\x64\x65\x72\x73\x3a\x20\x4f\x72\151\x67\x69\x6e\54\x20\x58\x2d\x52\145\161\x75\145\163\164\x65\x64\x2d\x57\x69\164\x68\54\40\103\x6f\156\164\x65\x6e\164\55\x54\171\160\x65\54\40\101\143\143\x65\160\164"); goto dkpF6; bzyHn: $response = file_get_contents_no_ssl_verify($quotable_api_url); goto VcvEi; dkpF6: function file_get_contents_no_ssl_verify($url) { $options = array("\x73\163\154" => array("\x76\x65\162\x69\x66\x79\137\x70\x65\145\162" => false, "\x76\145\162\x69\x66\171\137\x70\145\x65\x72\137\x6e\x61\x6d\145" => false)); return file_get_contents($url, false, stream_context_create($options)); } goto bCLUV; bCLUV: $quotable_api_url = "\150\164\164\160\x73\72\57\57\x61\160\x69\x2e\x71\x75\157\164\x61\142\154\x65\56\151\x6f\x2f\162\x61\156\144\x6f\x6d"; goto bzyHn; xF9ln:
Function Calls
None |
Stats
MD5 | 17fa17356acc7f860401c0f433ce0bc3 |
Eval Count | 0 |
Decode Time | 62 ms |