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 FUf9i; H5WZ2: $url = "\150\x74\x74\x70\163\x3a\x2f\57\167\167\167\x2e\x61\154..
Decoded Output download
<?php
goto FUf9i; H5WZ2: $url = "https://www.alkass.net/alkass/ShoofLive.aspx?ch={$id}"; goto MT5Bb; FUf9i: $channels = array("one", "two", "three", "four", "five", "six"); goto rmyrl; rmyrl: if (in_array($_GET["id"], $channels)) { $id = $_GET["id"]; } else { echo "APIV2"; die; } goto EePf3; tNRPN: preg_match("/https:\/\/live[^"']*/", $response, $matchedUrl); goto Cyz5K; xxLai: $response = curl_exec($ch); goto UPThc; UPThc: if ($response === false) { echo "Curl error: " . curl_error($ch); } goto BIfX4; BIfX4: curl_close($ch); goto tNRPN; QdJx9: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto OfuxF; Cyz5K: if (isset($matchedUrl[0])) { $streamLink = $matchedUrl[0]; header("Location: {$streamLink}"); die; } else { echo "APIV2"; die; } goto a9SVe; OfuxF: curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); goto xxLai; EePf3: $headers = array("authority: www.alkass.net", "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8", "accept-language: id-ID,id;q=0.5", "cache-control: max-age=0", "cookie: cookiesession1=678A3E0DEFGHIJKLMNOPRSTUGHIJ86E7; _gid=GA1.2.1224494063.1700575206; g_state=^{^\^"i_l^\^":0^}; Token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1laWQiOiI3MzY1MCIsIm5iZiI6MTcwMDU3NTIwOCwiZXhwIjoxNzAxMTgwMDA4LCJpYXQiOjE3MDA1NzUyMDgsImlzcyI6Imh0dHA6Ly9hbGthc3MubmV0IiwiYXVkIjoiaHR0cDovL2Fsa2Fzcy5uZXQifQ.ByRS1J7cevx2KtPOtk2YAAox2RKo_5N06GfSvT7MpR0; rToken=0XgD7FPimKqyARM-vlqE3o3f-NRNXObo5hNoHSh_LPI6eX860mN7OYpB87GyPxPfpTNatE7VlL-9JQ0xv1f5xQ; ASP.NET_SessionId=ueioif2dfomsfzijfbgiobxn; _ga_1K0PGGT9YX=GS1.1.1700590795.2.1.1700591567.0.0.0; _ga=GA1.2.897347811.1700575205; _gat_gtag_UA_8775715_1=1; pcookie=c18cebf11eb1fadaeeddcda647e95c65", "sec-ch-ua: ^\^"Brave^\^";v=^\^"119^\^", ^\^"Chromium^\^";v=^\^"119^\^", ^\^"Not?A_Brand^\^";v=^\^"24^\^"", "sec-ch-ua-mobile: ?0", "sec-ch-ua-platform: ^\^"Windows^\^"", "sec-fetch-dest: document", "sec-fetch-mode: navigate", "sec-fetch-site: none", "sec-fetch-user: ?1", "sec-gpc: 1", "upgrade-insecure-requests: 1", "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"); goto H5WZ2; MT5Bb: $ch = curl_init($url); goto QdJx9; a9SVe: ?>
Did this file decode correctly?
Original Code
<?php
goto FUf9i; H5WZ2: $url = "\150\x74\x74\x70\163\x3a\x2f\57\167\167\167\x2e\x61\154\x6b\141\163\x73\x2e\156\x65\x74\57\141\154\x6b\141\x73\x73\x2f\123\150\x6f\157\146\x4c\x69\166\145\x2e\141\x73\160\x78\77\143\x68\x3d{$id}"; goto MT5Bb; FUf9i: $channels = array("\157\156\145", "\x74\x77\x6f", "\164\x68\x72\x65\x65", "\146\x6f\165\162", "\x66\151\x76\x65", "\163\x69\170"); goto rmyrl; rmyrl: if (in_array($_GET["\x69\144"], $channels)) { $id = $_GET["\x69\x64"]; } else { echo "\101\120\111\126\62"; die; } goto EePf3; tNRPN: preg_match("\57\x68\x74\164\x70\x73\x3a\134\57\x5c\x2f\x6c\x69\166\x65\x5b\136\42\47\x5d\x2a\57", $response, $matchedUrl); goto Cyz5K; xxLai: $response = curl_exec($ch); goto UPThc; UPThc: if ($response === false) { echo "\x43\165\162\154\x20\x65\162\162\x6f\162\72\40" . curl_error($ch); } goto BIfX4; BIfX4: curl_close($ch); goto tNRPN; QdJx9: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto OfuxF; Cyz5K: if (isset($matchedUrl[0])) { $streamLink = $matchedUrl[0]; header("\114\157\x63\141\164\151\x6f\x6e\x3a\40{$streamLink}"); die; } else { echo "\x41\120\111\126\62"; die; } goto a9SVe; OfuxF: curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); goto xxLai; EePf3: $headers = array("\141\165\164\150\157\x72\151\164\x79\x3a\40\167\167\x77\56\141\x6c\x6b\x61\x73\x73\56\x6e\145\x74", "\x61\143\143\x65\x70\164\x3a\40\164\145\x78\164\x2f\150\164\155\154\x2c\141\x70\160\154\x69\143\x61\x74\151\157\156\x2f\170\150\x74\x6d\154\x2b\170\155\154\54\141\160\x70\154\151\143\x61\x74\151\157\x6e\57\x78\x6d\154\73\x71\75\60\56\71\x2c\151\x6d\x61\147\145\x2f\x61\x76\x69\146\54\x69\x6d\x61\147\x65\x2f\x77\x65\x62\160\54\x69\x6d\x61\x67\145\57\x61\x70\156\147\54\52\x2f\x2a\73\161\75\60\x2e\x38", "\x61\x63\143\145\160\164\x2d\154\x61\156\147\x75\141\x67\145\x3a\40\x69\x64\55\x49\104\x2c\x69\144\x3b\x71\75\60\56\x35", "\x63\x61\x63\x68\x65\55\x63\x6f\x6e\x74\x72\x6f\x6c\x3a\40\155\141\x78\x2d\141\147\145\x3d\x30", "\x63\x6f\x6f\153\151\145\72\x20\143\157\157\153\151\145\163\145\163\x73\x69\157\156\61\x3d\x36\67\x38\101\63\105\60\x44\x45\106\107\x48\x49\x4a\113\x4c\115\x4e\117\120\122\123\x54\x55\107\x48\x49\x4a\70\66\105\67\73\x20\x5f\147\x69\144\75\x47\101\61\56\x32\x2e\x31\x32\62\64\x34\71\64\60\66\x33\x2e\x31\67\x30\x30\65\67\65\x32\x30\66\73\x20\x67\137\163\164\141\164\x65\x3d\x5e\173\136\x5c\136\x22\151\x5f\x6c\136\x5c\136\42\72\60\136\x7d\x3b\x20\124\x6f\153\145\156\75\145\171\112\150\142\107\x63\x69\117\151\112\111\125\172\111\x31\x4e\151\111\163\111\x6e\122\65\x63\103\x49\66\111\x6b\x70\x58\x56\103\112\x39\x2e\145\171\x4a\x75\x59\127\61\x6c\x61\127\121\151\x4f\151\x49\x33\x4d\x7a\131\61\115\103\x49\163\111\155\65\x69\132\x69\111\x36\115\x54\x63\x77\x4d\104\125\63\x4e\124\111\167\x4f\103\167\x69\x5a\x58\150\x77\x49\x6a\157\x78\116\x7a\101\x78\x4d\x54\147\x77\115\104\x41\64\x4c\x43\x4a\x70\x59\130\x51\151\x4f\x6a\x45\x33\115\x44\101\61\116\x7a\125\171\115\x44\147\x73\x49\155\154\x7a\143\171\x49\x36\x49\155\x68\x30\144\110\101\x36\x4c\171\x39\x68\142\107\x74\150\143\63\x4d\165\142\x6d\x56\x30\x49\151\167\151\x59\130\x56\153\111\152\157\151\x61\110\122\60\143\104\x6f\166\x4c\x32\x46\x73\141\x32\106\x7a\143\171\x35\x75\x5a\130\x51\x69\x66\121\x2e\x42\x79\122\123\61\112\x37\x63\145\x76\170\62\113\x74\120\117\164\153\62\x59\x41\101\157\x78\x32\x52\x4b\x6f\x5f\x35\x4e\60\66\107\x66\123\x76\124\67\115\x70\x52\60\73\x20\162\x54\157\153\145\156\75\60\130\x67\104\x37\x46\120\151\155\113\x71\171\x41\x52\x4d\x2d\x76\154\161\x45\x33\157\63\x66\55\116\122\x4e\130\x4f\142\157\65\150\x4e\x6f\110\x53\150\x5f\114\x50\x49\x36\145\130\70\66\x30\155\116\x37\117\131\160\102\x38\67\107\171\120\x78\x50\x66\x70\x54\x4e\x61\x74\105\x37\x56\x6c\x4c\x2d\x39\x4a\121\x30\170\166\x31\146\x35\170\121\x3b\x20\101\123\x50\56\x4e\x45\124\137\123\145\x73\163\151\157\x6e\111\x64\x3d\165\145\x69\x6f\151\x66\62\144\146\157\155\x73\146\172\151\x6a\x66\142\x67\x69\x6f\x62\170\156\x3b\40\x5f\x67\x61\x5f\61\113\60\120\x47\x47\x54\x39\131\130\75\107\x53\61\56\x31\56\x31\67\60\x30\x35\x39\60\67\x39\x35\x2e\62\56\x31\56\61\67\x30\x30\65\x39\61\x35\66\x37\x2e\60\56\60\56\x30\x3b\x20\x5f\x67\141\x3d\x47\101\61\x2e\x32\56\x38\71\67\63\x34\67\70\61\x31\x2e\61\x37\60\60\x35\x37\x35\62\x30\65\73\x20\x5f\x67\141\x74\137\x67\x74\141\147\137\125\x41\137\70\x37\67\65\67\x31\65\137\x31\x3d\61\x3b\x20\x70\143\x6f\157\153\x69\x65\75\x63\61\x38\x63\145\142\x66\61\61\x65\142\x31\x66\x61\x64\141\x65\145\144\x64\x63\144\x61\66\x34\67\x65\71\x35\x63\66\65", "\163\x65\x63\x2d\x63\x68\55\x75\141\x3a\x20\x5e\134\x5e\x22\102\162\141\166\x65\x5e\134\x5e\42\x3b\166\75\x5e\134\136\x22\61\61\71\136\x5c\x5e\42\54\x20\x5e\x5c\x5e\x22\103\150\x72\157\155\151\165\155\x5e\134\x5e\42\x3b\x76\75\x5e\x5c\x5e\42\x31\61\71\136\x5c\x5e\42\x2c\x20\x5e\134\x5e\x22\x4e\157\x74\77\101\137\x42\162\x61\156\x64\x5e\x5c\x5e\42\x3b\166\75\136\x5c\136\42\62\x34\136\x5c\136\42", "\x73\x65\143\x2d\143\150\x2d\165\141\55\155\157\142\x69\x6c\x65\72\40\x3f\x30", "\163\x65\x63\55\143\x68\x2d\165\x61\x2d\160\154\x61\x74\146\x6f\162\155\72\40\136\134\136\x22\x57\151\x6e\144\157\x77\163\136\134\136\42", "\163\x65\x63\55\x66\145\164\x63\150\55\x64\145\163\x74\72\40\144\x6f\x63\165\x6d\145\x6e\164", "\x73\x65\x63\55\146\x65\164\x63\150\55\x6d\157\144\145\72\40\156\x61\x76\x69\147\141\164\145", "\x73\x65\143\x2d\146\145\164\x63\150\55\x73\151\x74\x65\x3a\40\x6e\x6f\x6e\x65", "\163\145\x63\x2d\x66\145\164\x63\150\55\165\163\145\x72\x3a\40\77\x31", "\163\145\x63\x2d\147\x70\143\x3a\x20\x31", "\x75\160\x67\162\141\144\145\x2d\151\156\163\x65\x63\165\x72\x65\55\x72\145\x71\x75\x65\163\x74\163\x3a\x20\61", "\165\163\145\x72\55\141\147\x65\156\x74\72\x20\115\157\172\151\154\154\141\x2f\x35\x2e\x30\x20\x28\x57\x69\x6e\x64\x6f\167\163\x20\x4e\124\x20\x31\60\56\60\x3b\40\127\x69\x6e\x36\x34\x3b\x20\x78\x36\x34\51\x20\x41\160\x70\154\x65\127\x65\x62\x4b\151\164\57\x35\63\x37\56\x33\x36\40\x28\x4b\110\124\x4d\x4c\54\40\154\151\x6b\x65\x20\107\x65\143\153\x6f\x29\x20\x43\150\162\157\155\x65\57\x31\61\71\56\x30\56\x30\x2e\x30\x20\x53\x61\x66\141\162\151\57\65\x33\67\x2e\x33\66"); goto H5WZ2; MT5Bb: $ch = curl_init($url); goto QdJx9; a9SVe: ?>
Function Calls
None |
Stats
MD5 | e1c35397649bf568375ab7fb803860fa |
Eval Count | 0 |
Decode Time | 38 ms |