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 ifvvl; ifvvl: require "./token.php"; goto S1Pz5; S1Pz5: $id = @$_GET["id"]; ..
Decoded Output download
<?php
goto ifvvl; ifvvl: require "./token.php"; goto S1Pz5; S1Pz5: $id = @$_GET["id"]; goto Lfg0S; Lfg0S: if (!empty($id)) { $str = indihometv($id); $start = strpos($str, "https://streaming.indihometv.com"); $end = strpos($str, "';var", $start + 1); if ($start !== false && $end !== false) { $length = $end - $start; $playlist = substr($str, $start, $length); header("HTTP/1.1 307 Temporary Redirect"); header("Location: " . $playlist); echo $playlist; die; } else { echo "APIV2"; } } else { echo "APIV2"; } goto jr7W0; jr7W0: function indihometv($id) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://www.indihometv.com/livetv/" . $id); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); curl_setopt($ch, CURLOPT_ENCODING, "gzip, deflate"); $headers = array("Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", "Accept-Language: en-US,en;q=0.9", "Connection: keep-alive", "Cookie: " . $GLOBALS["Cookie"], "Referer: https://www.indihometv.com/tv/live", "Sec-Fetch-Dest: document", "Sec-Fetch-Mode: navigate", "Sec-Fetch-Site: same-origin", "Sec-Fetch-User: ?1", "Upgrade-Insecure-Requests: 1", "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36", "Sec-Ch-Ua: "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"", "Sec-Ch-Ua-Mobile: ?0", "Sec-Ch-Ua-Platform: "Windows"", "X-Forwarded-For: 180.252.165.100"); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $result = curl_exec($ch); if (curl_errno($ch)) { echo "Error:" . curl_error($ch); } curl_close($ch); return $result; } goto uc3xi; uc3xi: ?>
Did this file decode correctly?
Original Code
<?php
goto ifvvl; ifvvl: require "./token.php"; goto S1Pz5; S1Pz5: $id = @$_GET["id"]; goto Lfg0S; Lfg0S: if (!empty($id)) { $str = indihometv($id); $start = strpos($str, "https://streaming.indihometv.com"); $end = strpos($str, "';var", $start + 1); if ($start !== false && $end !== false) { $length = $end - $start; $playlist = substr($str, $start, $length); header("HTTP/1.1 307 Temporary Redirect"); header("Location: " . $playlist); echo $playlist; die; } else { echo "APIV2"; } } else { echo "APIV2"; } goto jr7W0; jr7W0: function indihometv($id) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://www.indihometv.com/livetv/" . $id); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); curl_setopt($ch, CURLOPT_ENCODING, "gzip, deflate"); $headers = array("Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", "Accept-Language: en-US,en;q=0.9", "Connection: keep-alive", "Cookie: " . $GLOBALS["Cookie"], "Referer: https://www.indihometv.com/tv/live", "Sec-Fetch-Dest: document", "Sec-Fetch-Mode: navigate", "Sec-Fetch-Site: same-origin", "Sec-Fetch-User: ?1", "Upgrade-Insecure-Requests: 1", "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36", "Sec-Ch-Ua: "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"", "Sec-Ch-Ua-Mobile: ?0", "Sec-Ch-Ua-Platform: "Windows"", "X-Forwarded-For: 180.252.165.100"); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $result = curl_exec($ch); if (curl_errno($ch)) { echo "Error:" . curl_error($ch); } curl_close($ch); return $result; } goto uc3xi; uc3xi: ?>
Function Calls
| None |
Stats
| MD5 | 9f4f0325a6d81207a3b03b558c993438 |
| Eval Count | 0 |
| Decode Time | 37 ms |