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 /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  | 
    |              on 2023-10-07 10:59:52              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 namespace GDPlayer; use Done\Subtitles\Subtitles; use GDPlayer\{Core, Helper, Security}; use GDPlayer\Model\VideoSources; ini_set("max_execution_time", -1); ini_set("zlib.output_compression", "Off"); ini_set("output_buffering", "Off"); class StreamHelper extends \GDPlayer\StreamCacheHelper { protected $bufferSize = 1048576; protected $bypassRateLimit = false; protected $cacheMaxAge = 0; protected $ch = null; protected $core; protected $fp; protected $header = []; protected $helper; protected $isMP4 = false; protected $mantas; protected $security; protected $slashReplacement = "-gdpSlash-"; protected $tmpPath = "tmp/hosts/"; protected $videoEmail; protected $videoId = ''; protected $videoTitle = ''; protected $vSources; public function __construct(string $vHost = '', string $vID = '', string $url = '', bool $bypassRateLimit = false) { goto yKxynnrBnRqVJ610; fC3vaQk8B9JgSvPV: E9lW9zZ4K3UXoFzU: goto qojvOk52ENVeHPlX; byOVbvNI6E8jiO1a: header("Connection: close", true); goto lITdVXWVxnSeHj44; Bj8KKM4wkY2bdVsH: session_write_close(); goto v8IkCJZQy5Bdvlgl; bFT_Mj8CwauMZPk4: session_write_close(); goto TxDteIJ5sXdddcjP; QGgvInT7LxduSQcT: goto cc3WewTwsiUdWVmx; goto bfQYZLiNudKV4H8U; gjbEFdwAotYW7Noi: CIoyEaB_NoJw0L1Z: goto ciTDH7nZls3nRNP4; m344W0cD1ureJcl1: $verboseDir = sprintf("%s/cache/streaming/%s/", rtrim(BASE_DIR, "\/"), $this->videoHost); goto l5pIYNEU1IMF306Y; dK9QYB6rs1wax2ag: session_write_close(); goto m344W0cD1ureJcl1; brPm4VOwWSUwloL9: $this->videoURL = trim(strtr($url, ["slave%5B0%5D" => "slave%5B%5D", "slave[0]" => "slave[]", $this->slashReplacement => "%2f", " " => "%20", "?&" => "?"]), "?#"); goto ccwxMdxaY_UR5cS9; Rt_Wa7_QMgp87g_c: $baseName = basename($path); goto tzYaWoN27fs3P43g; acr_WZEG4DpvWjMG: curl_setopt($this->ch, CURLOPT_HEADERFUNCTION, array($this, "headerCallback")); goto OkWUZYmQNASHCtXK; jI1GK_juwoSWbGDT: curl_setopt($this->ch, CURLOPT_NOBODY, false); goto acr_WZEG4DpvWjMG; j079m02lEqdfnLY_: SPl9ILPnmXHfGwp3: goto mF5IudMnx4m6IO2m; FdE0eyuO0v3FBaAE: cZVhBzY5PU_lWaa7: goto dzuGYeQpHHUAISZu; XU873eZoXdBWqCIH: $this->vSources = new VideoSources(); goto ZJpFSk2Im8VPN1GK; ciTDH7nZls3nRNP4: curl_setopt($this->ch, CURLOPT_VERBOSE, true); goto OlHt1wnShia1O6uL; B45BD2E7WYvfE35L: curl_setopt($this->ch, CURLOPT_URL, $this->videoURL); goto kSzxclr9SVruhjhR; hrfl8sJXT3GG8FJY: $this->cacheFile = $this->getCacheFile(); goto YaatY0lcldcV5rc4; ccwxMdxaY_UR5cS9: $this->cacheMaxAge = $this->core->timeout($this->videoHost); goto EkTRC3Jw6SgvN_tY; mF5IudMnx4m6IO2m: @parse_str(parse_url($url, PHP_URL_QUERY), $qry); goto AtxoQMEExadrs45P; FGqPAq61MQB1VpB9: $this->header[] = "Host: " . $this->helper->getHostOrigin($this->videoURL); goto aIudsvQG4IF4Y73f; RVH3QG83P8gy9jHO: if (!ob_get_status()) { goto cZVhBzY5PU_lWaa7; } goto Bj8KKM4wkY2bdVsH; yfesaLrOuCLI0I_7: $ipHeaders = $this->helper->bypassRateLimit(); goto JP_KtFSjgl9xLkAz; JP_KtFSjgl9xLkAz: $this->iCache->save($ipLimitKey, $ipHeaders, 2592000, "rate_limit_ips"); goto QGgvInT7LxduSQcT; ZZQrMeIzK7SSfMOL: header("Accept-Ranges: bytes", true); goto byOVbvNI6E8jiO1a; AtxoQMEExadrs45P: if (!isset($qry["ext"])) { goto HMHcSkt6g2MmX3M5; } goto RyBrisSjvwgcbaAr; QebE8GPEybb8U7r2: session_write_close(); goto rJFA2MW9NBcN4ZP0; tzYaWoN27fs3P43g: $fileName = pathinfo($path, PATHINFO_FILENAME); goto REXj7AG1mlJttjWE; RmbPJ_01_ODQYKhq: cc3WewTwsiUdWVmx: goto qgFC3mgb9erzdHA8; v8IkCJZQy5Bdvlgl: ob_end_clean(); goto FdE0eyuO0v3FBaAE; lITdVXWVxnSeHj44: if ($this->cfFriendly) { goto SPl9ILPnmXHfGwp3; } goto QebE8GPEybb8U7r2; iNpBWYjukTBWbcr3: $this->bypassRateLimit = $bypassRateLimit; goto RVH3QG83P8gy9jHO; D4YU0P4DlNqcC1UI: $this->core = new Core(); goto zv2Q0vtDhPAlMT2M; V36scTqI5vWV351C: $ipHeaders = $prevIpHeaders; goto RmbPJ_01_ODQYKhq; ZJpFSk2Im8VPN1GK: $this->videoHost = $vHost; goto e6FBTAEOBXF2Rbeh; Fv2XOGBBv0piIzcg: session_write_close(); goto V36scTqI5vWV351C; IPk3IJJyyyG5BnpT: header_remove("Connection"); goto ZZQrMeIzK7SSfMOL; bfQYZLiNudKV4H8U: qoY3d3H80EO1_rv_: goto Fv2XOGBBv0piIzcg; zv2Q0vtDhPAlMT2M: $this->helper = new Helper(); goto dwSwRHKr53k_eVIz; TxDteIJ5sXdddcjP: $ipLimitKey = "rate_limit_" . $this->videoHost . "_" . keyFilter($this->videoId); goto ow35rxHPr2Vf72_B; OqvF_vTUTEm8SfK5: if (!$bypassRateLimit) { goto l1Z2_RfpAwgnJ04O; } goto bFT_Mj8CwauMZPk4; FztaETq4VGjMrCYL: session_write_close(); goto JxIO50Ph2yx8Vl1o; JxIO50Ph2yx8Vl1o: create_dir($verboseDir); goto gjbEFdwAotYW7Noi; lPmfB2kKv6DUt1IH: parent::__construct(); goto D4YU0P4DlNqcC1UI; X0cFQqwNLBvrADq5: if (!empty($prevIpHeaders)) { goto qoY3d3H80EO1_rv_; } goto PloBvjPThbhaLRY1; rJFA2MW9NBcN4ZP0: $this->allowResHeaders[] = "content-type"; goto j079m02lEqdfnLY_; qgFC3mgb9erzdHA8: $this->header = array_merge($this->header, $ipHeaders); goto iedp0WjLVYVqGnYC; PloBvjPThbhaLRY1: session_write_close(); goto yfesaLrOuCLI0I_7; RyBrisSjvwgcbaAr: session_write_close(); goto Cz4OIv6q1Ogyu_TQ; OkWUZYmQNASHCtXK: if (!$this->prodMode) { goto E9lW9zZ4K3UXoFzU; } goto dK9QYB6rs1wax2ag; NxypZ6AX2I0zSeZV: curl_setopt($this->ch, CURLOPT_BUFFERSIZE, $this->bufferSize); goto eWga8U2Rl4Vcwgro; dzuGYeQpHHUAISZu: ob_start(); goto IPk3IJJyyyG5BnpT; ow35rxHPr2Vf72_B: $prevIpHeaders = $this->iCache->get($ipLimitKey); goto X0cFQqwNLBvrADq5; gbPOofn_kwWhnCmS: curl_setopt($this->ch, CURLOPT_HEADER, false); goto jI1GK_juwoSWbGDT; OlHt1wnShia1O6uL: curl_setopt($this->ch, CURLOPT_STDERR, fopen($verboseDir . keyFilter($this->videoId) . ".txt", "w")); goto fC3vaQk8B9JgSvPV; e6FBTAEOBXF2Rbeh: $this->videoId = $vID; goto iNpBWYjukTBWbcr3; kSzxclr9SVruhjhR: curl_setopt($this->ch, CURLOPT_CUSTOMREQUEST, "GET"); goto NxypZ6AX2I0zSeZV; Cz4OIv6q1Ogyu_TQ: $path = parse_url($url, PHP_URL_PATH); goto Rt_Wa7_QMgp87g_c; aIudsvQG4IF4Y73f: $this->ch = $this->helper->getCurlDefaultConfig(curl_init(), 0); goto B45BD2E7WYvfE35L; GVu1UAK_Nip3fk0g: HMHcSkt6g2MmX3M5: goto brPm4VOwWSUwloL9; yKxynnrBnRqVJ610: session_write_close(); goto lPmfB2kKv6DUt1IH; EkTRC3Jw6SgvN_tY: $this->cacheBaseDir = getVideoCacheFileDir($this->videoHost, $this->videoId); goto hrfl8sJXT3GG8FJY; YaatY0lcldcV5rc4: $this->header = $this->core->defaultHeaders($this->videoHost); goto OqvF_vTUTEm8SfK5; dwSwRHKr53k_eVIz: $this->mantas = new Subtitles(); goto kL2QcOIIvhJKmUwA; kL2QcOIIvhJKmUwA: $this->security = new Security(); goto XU873eZoXdBWqCIH; eWga8U2Rl4Vcwgro: curl_setopt($this->ch, CURLOPT_DNS_SERVERS, in_array($this->videoHost, ["cloudmailru", "filemoon", "okru", "vk", "yadisk"]) ? "77.88.8.8,77.88.8.1" : null); goto gbPOofn_kwWhnCmS; l5pIYNEU1IMF306Y: if (is_dir($verboseDir)) { goto CIoyEaB_NoJw0L1Z; } goto FztaETq4VGjMrCYL; iedp0WjLVYVqGnYC: l1Z2_RfpAwgnJ04O: goto FGqPAq61MQB1VpB9; REXj7AG1mlJttjWE: $url = trim(strtr($url, ["ext={$qry["ext"]}" => '', $baseName . "?" => $fileName . "." . $qry["ext"] . "?"]), "?&#"); goto GVu1UAK_Nip3fk0g; qojvOk52ENVeHPlX: } public function setCookie($cookie) { goto EbToRu8s2uCZ1WyB; L64uDhtLdN4MNb12: QVC1bXPAGsMA2iHS: goto De_LsF7JHiOC6vI3; K720G1ztX9N6xjIG: curl_setopt($this->ch, CURLOPT_COOKIE, $cookie); goto L64uDhtLdN4MNb12; JUS3yYgdQwRwElu_: if (empty($cookie)) { goto QVC1bXPAGsMA2iHS; } goto sC5X2BJ1u0cjXNTN; sC5X2BJ1u0cjXNTN: session_write_close(); goto K720G1ztX9N6xjIG; EbToRu8s2uCZ1WyB: session_write_close(); goto JUS3yYgdQwRwElu_; De_LsF7JHiOC6vI3: } public function setReferer(string $referer = '') { goto OFGI7UvGou3ojtkG; BHCh39oL9qWSBeYz: $origin = $this->helper->getHostOrigin($referer, true); goto fpsHl8p2gc3pWMNJ; fpsHl8p2gc3pWMNJ: $this->header[] = "Origin: " . $origin; goto wzRChmOLGFMWw0x4; wzRChmOLGFMWw0x4: $this->header[] = "Referer: " . $referer; goto pRJbGkpDtw4qnJHO; OFGI7UvGou3ojtkG: session_write_close(); goto BHCh39oL9qWSBeYz; pRJbGkpDtw4qnJHO: } public function setCache(int $created = 0, int $expired = 0) { goto qXHasSILcpHxz7CL; JUGm4TNOEiQFFcgo: $this->cacheExpires = $expired; goto Dm9rwtWY6F26obSp; qXHasSILcpHxz7CL: session_write_close(); goto b4FczEJtKtmRh7fs; b4FczEJtKtmRh7fs: $this->cacheCreated = $created; goto JUGm4TNOEiQFFcgo; Dm9rwtWY6F26obSp: } public function setLiveToken(bool $live = false, string $token = null) { goto xPBjiEJY52c09gLo; OW9jYmdtJbT9CATL: $this->live = $live; goto RqkhteHGAq8ZQC4w; xPBjiEJY52c09gLo: session_write_close(); goto OW9jYmdtJbT9CATL; RqkhteHGAq8ZQC4w: $this->token = $token; goto CT8fBafGJGSTdLXS; CT8fBafGJGSTdLXS: } private function parseCFUrl(string $path = '', string $query = '', string $fragment = '') { goto KuuDhqtnZ7pdj30D; ONKrXl1QhpDPOfEt: return trim($path . $query . $fragment, "?#"); goto LaJegetJVa1FHmXF; amwYXuvufeGrhAhh: $fileExt = pathinfo($path, PATHINFO_EXTENSION); goto pnr7o2pV8iU9l19h; pnr7o2pV8iU9l19h: $videoExt = ["ts", "mp4", "m4s", "m4v", "m4a", "aac", "mp3", "ac3"]; goto CgC4bbN37kXJq91Q; ISZFGg7WOegTNlgh: $fileName = pathinfo($path, PATHINFO_FILENAME); goto amwYXuvufeGrhAhh; oeswgHyH2ep07hJe: $query = "?ext=" . $fileExt . "&" . ltrim($query, "?"); goto v6Zkk3jg8z2iaDk3; Cb9b4ktfzvN3LNuR: q0sYATj4leX807fp: goto ONKrXl1QhpDPOfEt; Yf9CG5dQZJLquqyM: FGYCUHEbiPdu1FST: goto Cb9b4ktfzvN3LNuR; CgC4bbN37kXJq91Q: $excludeExt = ["mpd", "srt", "vtt", "txt", "js"]; goto xsZkLgN9Hwl7P0Ee; KuuDhqtnZ7pdj30D: session_write_close(); goto GW3uL54UYWcAhPMH; GW3uL54UYWcAhPMH: if (!$this->cfFriendly) { goto q0sYATj4leX807fp; } goto v0apnkWF1BBPNgHK; v0apnkWF1BBPNgHK: session_write_close(); goto ISZFGg7WOegTNlgh; k1Dux2ChNvhudVsK: session_write_close(); goto p8iScg8FwaPDURUS; v6Zkk3jg8z2iaDk3: $path = in_array($fileExt, $videoExt) ? strtr($path, [$baseName => $fileName . ".js"]) : strtr($path, [$baseName => $fileName . ".txt"]); goto Yf9CG5dQZJLquqyM; p8iScg8FwaPDURUS: $baseName = basename($path); goto oeswgHyH2ep07hJe; xsZkLgN9Hwl7P0Ee: if (!(!empty($query) && !in_array($fileExt, $excludeExt))) { goto FGYCUHEbiPdu1FST; } goto k1Dux2ChNvhudVsK; LaJegetJVa1FHmXF: } protected function bypassURL(string $val = '', string $separator = "/segments/") { goto A1t0aJ5bp0Qb3jZf; aiyKyZpJSwrEXHrz: $scheme = parse_url($masterURL, PHP_URL_SCHEME); goto Idt7_L63dvwbd_Ue; OESKQCRKN89ajBQ0: $urlParser = parse_url($val); goto nFCBuauw8CIrQF1w; nFCBuauw8CIrQF1w: $ref = $this->helper->getHostOrigin($val, true) . "/"; goto vnDPitK9DLMiRE3s; f84dZgDlbFmiMHQN: GvtYY6brjpNsGeyx: goto SugD6cssTuxuRva9; DmBUtchZGXHzRp3h: $path = ltrim($path, "/"); goto g4tMgTJlumkYfwBx; uEHagBkPEwjybNr6: if (validate_url($val)) { goto Va9G07mKximcArgC; } goto qEJCTqCQMZyCntAz; p0pWI34Gx4x1gBGt: $separator = trim($separator, "/"); goto cKkqvMituug0qLDB; HO5NPB5eUjyBFU0x: V1s1qZekj1h1LlDT: goto XXu7mhqAVoMtXMtT; EK7PyLU038zYiUsI: Q9sOCRJLkPwf9BN0: goto agFI8H3k4QUBa02k; aCSTtj7A2eQaRBrJ: $path = ltrim(strtr($path, [$this->tmpPath . $this->videoHost => '', "//" => "/"]), "/"); goto T0jsEUTias54fZNN; atVKU0cxmTmy0kzG: $ref = $this->helper->getHostOrigin($ref, true) . "/"; goto FCKF4CkOPcZ0ZHWD; owqALg2N70A8BFAk: $ref = ''; goto SbX5A03oMN5EiGUf; FCKF4CkOPcZ0ZHWD: $path = ltrim($path, "/"); goto EK7PyLU038zYiUsI; YvTbVlxYur0H3c8C: Va9G07mKximcArgC: goto aqnJW1cJpWVA8whW; vC62CFtdBO9ne3e7: $cPath = count($exPath) - 1; goto Yb7WKt_Z7Vr42h6U; iJbC2NFrgbCFcNgM: $query .= $this->getAmp() . "live=" . ($this->live ? "true" : "false"); goto hqDWzW3refP4tRKz; Wsm1aeFmkkTvRHRm: goto WhyOOcgQBTQFE_Nq; goto vHxZJQSgVdefVvQb; MZWl8bpSq5tRla2p: eYHkzVCKntYFZ5nO: goto bnrtDyMNofZtGubr; vuY4myL3Ita9MzEv: $exUrl = array_reverse(explode("/", rtrim($xUrl, "/"))); goto dQoKdEH3EOGeZCxC; wGOxvx3LTraPNaSV: $urlParser = parse_url($masterURL); goto aiyKyZpJSwrEXHrz; piK3aZ_AlZ2Q0p0j: $masterURL = rtrim(strtr($masterURL, [basename($masterURL) => '']), "/") . "/" . ltrim($val, "/"); goto JgFNsuksl190Psyu; qJbZGGI9aSnNGGAk: session_write_close(); goto k4MPvMeRcz2HxJLa; gX01AjejtPttrG4k: return $this->parseCFUrl($path, $query, $fragment); goto SanS7cVmz25Lf3DD; PaWEge8_U4s1fd0y: $masterURL = $this->videoURL; goto L0Ecw623jCvC1SVB; DcQIfuoaK_alJ1H9: goto Q9sOCRJLkPwf9BN0; goto V6vqm7SOf087nAGi; cKkqvMituug0qLDB: $originURLEncoded = $this->security->encryptURL($ref); goto DmBUtchZGXHzRp3h; aqnJW1cJpWVA8whW: session_write_close(); goto OESKQCRKN89ajBQ0; C0sH3eAXzLiHvO7H: session_write_close(); goto TLLVjqTe5p2iz5K2; UkfWsq7wNmoFhrPj: $path = ''; goto ad4RPaGTRG5yX7eg; agFI8H3k4QUBa02k: $key = $this->security->encryptURL($this->videoHost . "~" . $this->videoId); goto zxsBFCmDtlk3jSKA; JNKo41dwyKZ1dVSV: goto Q9sOCRJLkPwf9BN0; goto copOD76XJ69titgU; m8tWzBpGASthFidj: session_write_close(); goto a0avqOxA82HIuCdF; BwFzYT2Hy2brNGJd: if (!empty($urlParser)) { goto D2m9GzPn5uKxbSty; } goto C0sH3eAXzLiHvO7H; Q2OOAmd_w0tagODd: session_write_close(); goto cF1KVAUt0sVpdk5x; NTj7KmVpCmbdbszt: $xUrl = $this->helper->replaceURLScheme($val); goto Wsm1aeFmkkTvRHRm; JgFNsuksl190Psyu: goto sRwPSRlSd2dD05F_; goto f84dZgDlbFmiMHQN; k4MPvMeRcz2HxJLa: $fragment = "#" . $urlParser["fragment"]; goto HO5NPB5eUjyBFU0x; copOD76XJ69titgU: s7NzPEYIX_1CglEh: goto m8tWzBpGASthFidj; hqDWzW3refP4tRKz: $fragment = ''; goto jz_xsUt687CSFR2v; WOMHzUzAyRx8a5Hm: if (substr($path, 0, 3) === "../") { goto SU3Ll49pLsUspQ2v; } goto qHPKjWtgyvQbIrob; vnDPitK9DLMiRE3s: $scheme = parse_url($val, PHP_URL_SCHEME); goto NTj7KmVpCmbdbszt; Yb7WKt_Z7Vr42h6U: $exUrl = array_reverse(array_slice($exUrl, 0, $cPath)); goto ozTujBQB35gIYQsa; uNhgRW2fiagLvu8H: session_write_close(); goto atVKU0cxmTmy0kzG; gvnz1btz2dY1q38_: $path = strtr($urlParser["path"], ["%2f" => $this->slashReplacement, "%2F" => $this->slashReplacement]); goto MZWl8bpSq5tRla2p; ad4RPaGTRG5yX7eg: if (empty($urlParser["path"])) { goto eYHkzVCKntYFZ5nO; } goto rxw97bhBy0hB1xLk; H9u2WmM6bbt5SYrj: D2m9GzPn5uKxbSty: goto UkfWsq7wNmoFhrPj; zxsBFCmDtlk3jSKA: $query = "?data=" . $key; goto F46Y9KVrOgCrIs53; g4tMgTJlumkYfwBx: if (!$this->isMPD) { goto E_Di7FU_6HRgU0OB; } goto PhVw4OsvpnTUp1eO; SQgvq6CQaoC2G2_r: sRwPSRlSd2dD05F_: goto wGOxvx3LTraPNaSV; Idt7_L63dvwbd_Ue: $xUrl = $this->helper->replaceURLScheme($masterURL); goto yNkcp4Py0vOZBdf0; L0Ecw623jCvC1SVB: $urlParser = []; goto owqALg2N70A8BFAk; vHxZJQSgVdefVvQb: L57CvhqsnyFJEHY3: goto TrU8EGOoxNAqjgEm; waxvBQ55lVSbqoTc: SU3Ll49pLsUspQ2v: goto s130o5ALkCFA85dG; PhVw4OsvpnTUp1eO: session_write_close(); goto aCSTtj7A2eQaRBrJ; BClDS4gPmqVcPcZo: kvY2e3w2arwlgfMS: goto iJbC2NFrgbCFcNgM; A1t0aJ5bp0Qb3jZf: session_write_close(); goto PaWEge8_U4s1fd0y; fi7dhleKjvG17xBj: $path = sprintf("%s/%s/%s/%s", $baseURL, $separator, $originURLEncoded, $path); goto gX01AjejtPttrG4k; XXu7mhqAVoMtXMtT: $baseURL = trim($this->helper->replaceURLScheme(BASE_URL), "/"); goto p0pWI34Gx4x1gBGt; TLLVjqTe5p2iz5K2: return $val; goto H9u2WmM6bbt5SYrj; V6vqm7SOf087nAGi: GVlemLSoocxk83Sj: goto uNhgRW2fiagLvu8H; rxw97bhBy0hB1xLk: session_write_close(); goto gvnz1btz2dY1q38_; cF1KVAUt0sVpdk5x: $query .= "&" . $urlParser["query"]; goto BClDS4gPmqVcPcZo; jz_xsUt687CSFR2v: if (empty($urlParser["fragment"])) { goto V1s1qZekj1h1LlDT; } goto qJbZGGI9aSnNGGAk; za8ifj633AWBkbrE: $masterURL = $ref . ltrim($val, "/"); goto SQgvq6CQaoC2G2_r; qEJCTqCQMZyCntAz: if (validate_url($masterURL)) { goto L57CvhqsnyFJEHY3; } goto oB7fwp1JsSl1laEX; a0avqOxA82HIuCdF: $path = ltrim($path, "./"); goto B7YbsRKNkPedF4Yx; TrU8EGOoxNAqjgEm: session_write_close(); goto ZcAXdd1VuwhuNDEJ; bnrtDyMNofZtGubr: if (substr($path, 0, 2) === "./") { goto s7NzPEYIX_1CglEh; } goto WOMHzUzAyRx8a5Hm; dQoKdEH3EOGeZCxC: $exPath = explode("../", $path); goto vC62CFtdBO9ne3e7; SugD6cssTuxuRva9: session_write_close(); goto za8ifj633AWBkbrE; yNkcp4Py0vOZBdf0: WhyOOcgQBTQFE_Nq: goto BwFzYT2Hy2brNGJd; qHPKjWtgyvQbIrob: if (substr($path, 0, 1) === "/") { goto GVlemLSoocxk83Sj; } goto JNKo41dwyKZ1dVSV; ZcAXdd1VuwhuNDEJ: $ref = $this->helper->getHostOrigin($masterURL, true) . "/"; goto PhMKOE8yojW4hOWu; s130o5ALkCFA85dG: session_write_close(); goto vuY4myL3Ita9MzEv; B7YbsRKNkPedF4Yx: goto Q9sOCRJLkPwf9BN0; goto waxvBQ55lVSbqoTc; oB7fwp1JsSl1laEX: goto WhyOOcgQBTQFE_Nq; goto YvTbVlxYur0H3c8C; KYw2UXeWKwXGxPPJ: session_write_close(); goto piK3aZ_AlZ2Q0p0j; T0jsEUTias54fZNN: E_Di7FU_6HRgU0OB: goto fi7dhleKjvG17xBj; ozTujBQB35gIYQsa: $ref = $scheme . "://" . trim(implode("/", $exUrl), "/") . "/"; goto P540HwNe16zH1axE; PhMKOE8yojW4hOWu: if (substr($val, 0, 1) === "/") { goto GvtYY6brjpNsGeyx; } goto KYw2UXeWKwXGxPPJ; P540HwNe16zH1axE: $path = strtr($path, ["../" => '']); goto DcQIfuoaK_alJ1H9; F46Y9KVrOgCrIs53: if (empty($urlParser["query"])) { goto kvY2e3w2arwlgfMS; } goto Q2OOAmd_w0tagODd; SbX5A03oMN5EiGUf: $xUrl = ''; goto uEHagBkPEwjybNr6; SanS7cVmz25Lf3DD: } protected function headerCallback($ch, $header) { goto LbhJoKR9IW1h1oeN; b3FgXuv5kMz1c4FN: header($header, true); goto JW5RT2VDQ4FjLcB3; ZjezTVaovqSah1Qe: if (!in_array($key, $this->allowResHeaders)) { goto Ffoa_Vue8OUS74Ya; } goto QDKSCOE_BKksyf1C; IzleODq8rDRIOpYH: return strlen($header); goto bujtmn4MKmcJBfjz; I5978Dr1wPhT8V0j: list($key, $val) = array_pad(explode(":", $header), 2, ''); goto ZjezTVaovqSah1Qe; JW5RT2VDQ4FjLcB3: Ffoa_Vue8OUS74Ya: goto IzleODq8rDRIOpYH; UZQCpHhA0iTz52O8: $header = strtolower($header); goto I5978Dr1wPhT8V0j; QDKSCOE_BKksyf1C: session_write_close(); goto AXDTxjraZjzldtu2; AXDTxjraZjzldtu2: $this->resHeaders[$key] = trim($val); goto b3FgXuv5kMz1c4FN; LbhJoKR9IW1h1oeN: session_write_close(); goto UZQCpHhA0iTz52O8; bujtmn4MKmcJBfjz: } protected function writeCallback($ch, $chunk) { goto pjSewY4ndZumAMk3; pjSewY4ndZumAMk3: session_write_close(); goto Ljkru0jMthcMAi61; ExawsGUcIBBTsmmZ: $this->cacheContent .= $chunk; goto XuB1wt7IkOrVBDOH; BwnIoe9J1pCrdMkD: echo $chunk; goto Y0RZBz9vUTq21P5K; pPhOxl2yzo5dwzSb: return $contentLength; goto M3dBUYxbNOlp7Xcc; Y0RZBz9vUTq21P5K: ob_flush(); goto QC8fcV9mWbOxq5EY; JdsjvL6i56BEDy95: $this->writeComplete = false; goto BwnIoe9J1pCrdMkD; QC8fcV9mWbOxq5EY: flush(); goto pPhOxl2yzo5dwzSb; Ljkru0jMthcMAi61: $contentLength = strlen($chunk); goto ExawsGUcIBBTsmmZ; XuB1wt7IkOrVBDOH: $this->cacheContentLen += $contentLength; goto JdsjvL6i56BEDy95; M3dBUYxbNOlp7Xcc: } protected function writeCacheCallback($ch, $chunk) { goto jAaIE1LYPn7MGqKd; S13EZMfIshD6hAOT: ob_flush(); goto AMgwruFoy7LNyAqI; IkUPRO_qT1gDrz5a: $this->writeComplete = false; goto jY5dwSZTZRyBSur_; HaOPhiHXAr1yLexa: $contentLength = strlen($chunk); goto WF05GBRJLUPc7Je1; jAaIE1LYPn7MGqKd: session_write_close(); goto HaOPhiHXAr1yLexa; kPdpNtQcCOvjf5Lx: $this->cacheContentLen += $contentLength; goto H7ijAXn9DrsbzAFj; PnR0_96fC79a7lkB: YiVru6JE_e_mZ52a: goto IkUPRO_qT1gDrz5a; jY5dwSZTZRyBSur_: echo $chunk; goto S13EZMfIshD6hAOT; wYt55Iy62ej22uj7: create_file($this->cacheFile, $this->cacheContent, "w"); goto PnR0_96fC79a7lkB; WF05GBRJLUPc7Je1: $this->cacheContent .= $chunk; goto kPdpNtQcCOvjf5Lx; ysoIHHofEJcKPaGy: session_write_close(); goto wYt55Iy62ej22uj7; vziisWPlH7vJ6M8l: return $contentLength; goto Om68u2r6c7l1xxPe; H7ijAXn9DrsbzAFj: if (!(!empty($this->resHeaders["content-length"]) && $this->cacheContentLen === intval($this->resHeaders["content-length"]))) { goto YiVru6JE_e_mZ52a; } goto ysoIHHofEJcKPaGy; AMgwruFoy7LNyAqI: flush(); goto vziisWPlH7vJ6M8l; Om68u2r6c7l1xxPe: } protected function subtitleStream($extension = null) { goto V1Y2BY1Mw9e1b2cB; MFwP8gRF4RvXZpXi: qrAa7CAkSW_rDh6o: goto Zjf9wuSwbfudFQ4D; F3a8qQzv7AXKFEIA: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE); goto CajzeGDb3YmtpNV2; mRPxEhCVxAi6rgDi: session_write_close(); goto z1J7yEn2yMNbPz9e; txBJb3SooiSawril: session_write_close(); goto BjaDuUzfEGP7zg1l; Qg9_jXrOtPK2nZgP: if (!($extension !== "vtt" && $extension !== "webvtt" && substr(trim($content), 0, 6) !== "WEBVTT")) { goto KeSB4uiak7RBtJv_; } goto txBJb3SooiSawril; ODgyhwVVa8RRitgL: if ($status >= 200 && $status < 400) { goto zv2xp__Ot_IIm3c6; } goto mRPxEhCVxAi6rgDi; ZPDGjkjHvCb08LoY: $this->createResponseHeaders(200); goto MFwP8gRF4RvXZpXi; CajzeGDb3YmtpNV2: $err = curl_error($this->ch); goto ODgyhwVVa8RRitgL; qFRkTRrtO_cwy2LZ: session_write_close(); goto coSfg2DGLbbb3354; S_ExfsmS9Tcf5ogR: $content = curl_exec($this->ch); goto F3a8qQzv7AXKFEIA; kwoKdj8HzkhogyJ2: $this->cacheContent = $content; goto Idd3c6UyC0zTAztD; BjaDuUzfEGP7zg1l: $content = $this->mantas::loadString(strip_tags($content), $extension); goto zZ1XtN5uV2oSqvMJ; zZ1XtN5uV2oSqvMJ: $content = $content->content("vtt"); goto t1s4SXnfG6TUDAFg; RzsTgqkDBMj5kRC9: curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true); goto ExfNSYO3EOTuOxbB; aOOC9BcjPQ421fUL: zv2xp__Ot_IIm3c6: goto qFRkTRrtO_cwy2LZ; t1s4SXnfG6TUDAFg: $content = preg_replace("/{(.*?)}/", '', $content); goto rtKYlADEPU1v1ps9; ExfNSYO3EOTuOxbB: curl_setopt($this->ch, CURLOPT_HTTPHEADER, $this->header); goto S_ExfsmS9Tcf5ogR; JnPPbTESGEJ_BthA: header("Content-Type: text/vtt;charset=UTF-8", true); goto kwoKdj8HzkhogyJ2; Idd3c6UyC0zTAztD: $this->cacheContentLen = strlen($this->cacheContent); goto oZvmPinDBzl2enPg; oZvmPinDBzl2enPg: create_file($this->cacheFile, $this->cacheContent, "w"); goto ZPDGjkjHvCb08LoY; z1J7yEn2yMNbPz9e: createErrorLog([__FILE__, __FUNCTION__, $this->videoURL, $status, $err]); goto AkIxbahW_vJExVWB; AkIxbahW_vJExVWB: goto qrAa7CAkSW_rDh6o; goto aOOC9BcjPQ421fUL; V1Y2BY1Mw9e1b2cB: session_write_close(); goto RzsTgqkDBMj5kRC9; rtKYlADEPU1v1ps9: KeSB4uiak7RBtJv_: goto JnPPbTESGEJ_BthA; coSfg2DGLbbb3354: $content = trim($content); goto Qg9_jXrOtPK2nZgP; Zjf9wuSwbfudFQ4D: } protected function videoStream() { goto yzaP9Lix1udYsceY; pXs5dzD9qaRrkMXC: curl_setopt($this->ch, CURLOPT_HTTPHEADER, $this->header); goto h33km035iQ8Wgv_v; YCrnlIqFbaQPs6LF: session_write_close(); goto EqPoCNv1T73urBSv; VonJfmfzh0ark3dX: $this->createResponseHeaders($this->sendHttpCode); goto aV3Vs1QA1CcUWg8M; SiKLfwRL94ZWczQp: $this->createResponseHeaders($status); goto v0uLwLXbZmXQ4mjM; v0uLwLXbZmXQ4mjM: v53Sy9VTbAXbTQaX: goto kjgfCMGDHLy0ZKAm; yzaP9Lix1udYsceY: session_write_close(); goto cLq66JZ85EWzxITX; EqPoCNv1T73urBSv: createErrorLog([__FILE__, __FUNCTION__, $this->videoURL, $status, $err]); goto SiKLfwRL94ZWczQp; NmBv2FmctkO1un8h: $err = curl_error($this->ch); goto vnd_ifJQNnC4Br_b; aV3Vs1QA1CcUWg8M: curl_setopt($this->ch, CURLOPT_HEADER, false); goto l2IZl6KwfmfqTAxw; h33km035iQ8Wgv_v: curl_setopt($this->ch, CURLOPT_WRITEFUNCTION, array($this, $callback)); goto UMWKR12YSPB0PEIS; l2IZl6KwfmfqTAxw: curl_setopt($this->ch, CURLOPT_NOBODY, false); goto w1AOJjd_FKmSuBg5; oAdMze1G5Bke2rH4: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE); goto NmBv2FmctkO1un8h; vnd_ifJQNnC4Br_b: if (!($status < 200 || $status >= 400)) { goto v53Sy9VTbAXbTQaX; } goto YCrnlIqFbaQPs6LF; cLq66JZ85EWzxITX: $callback = $this->enableCacheFile && $this->videoHost !== "yadisk" && !is_file($this->cacheFile) ? "writeCacheCallback" : "writeCallback"; goto VonJfmfzh0ark3dX; UMWKR12YSPB0PEIS: curl_exec($this->ch); goto oAdMze1G5Bke2rH4; w1AOJjd_FKmSuBg5: curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, false); goto pXs5dzD9qaRrkMXC; kjgfCMGDHLy0ZKAm: } public function stream() { goto lku86pqK5aeqnjk3; fQhzSbjj4_nMxc6V: if (!$cache) { goto XFlBF7fUc7hi5P0U; } goto Bq_J4sCkw_rzB6r6; KwC7e1JbTzGuAw78: $this->createResponseHeaders($this->sendHttpCode); goto NtYwtuyNIgZ1nj1F; X9spC3ldWZQ9GNW7: $subtitleExtensions = ["srt", "vtt", "ass", "sub", "stl", "dfxp", "ttml", "sbv"]; goto kqkGjTqLaRJjH6sD; wzt_p7JWPiCYHNe3: session_write_close(); goto H9zoBWV2eHVd3kVZ; Sxh6YeCY67Ce9ZUL: $this->sendHttpCode = 206; goto SuolT3ouIghGwJlm; OO8IofI1_ieNPsvk: $cache = $this->getCacheContent(); goto fQhzSbjj4_nMxc6V; NtYwtuyNIgZ1nj1F: curl_close($this->ch); goto epYIxm_u_Gdzmp8_; u4Cd93DXDKrxNJHK: $this->subtitleStream($extension); goto NKOblOzBFNiy3SJ_; jurbLTibEVUGG3Bd: $this->cacheFile = strtr($this->cacheFile, [$baseName => $cacheRange . "-" . $baseName]); goto Ae0Hpf4ItD0WdHkl; SuolT3ouIghGwJlm: $baseName = basename($this->cacheFile); goto ChRw2xtRCpdzYQF5; FPZr_CSSpaMRC3Yy: $this->cacheContentLen = filesize($this->cacheFile); goto KwC7e1JbTzGuAw78; Dvgv9ADzjTcyg9O3: session_write_close(); goto u4Cd93DXDKrxNJHK; D9_1NT33D4lq5sXy: header("Content-Type: application/octet-stream", true); goto fr993fTU31JUyeZA; ChRw2xtRCpdzYQF5: $cacheRange = strtr($_SERVER["HTTP_RANGE"], ["bytes=" => '']); goto jurbLTibEVUGG3Bd; qPE55Qj1TB581J4H: session_write_close(); goto qwmax5Qj8WTpEGPF; lku86pqK5aeqnjk3: session_write_close(); goto D9_1NT33D4lq5sXy; H9zoBWV2eHVd3kVZ: $this->header[] = "range: " . $_SERVER["HTTP_RANGE"]; goto Sxh6YeCY67Ce9ZUL; Ae0Hpf4ItD0WdHkl: hPjDMvtdFEAl0C8o: goto O13zBnsKYoRRgEP2; ZaX4qMX5CsyQYqKu: $extension = pathinfo(basename($path), PATHINFO_EXTENSION); goto ZJ2Sg4A6fvNJcmP9; NKOblOzBFNiy3SJ_: GXL1PZNTeJx9TLpS: goto w3XBMS93IYXo35Cb; O13zBnsKYoRRgEP2: if (!$this->enableCacheFile) { goto S_yUcCUO3fMLDp47; } goto U8uSFsJtQlq4iFOW; Y1FtQe0D9WLhnc0Z: $this->cacheContent = $cache; goto FPZr_CSSpaMRC3Yy; hMtGBHM0PS3dED1W: goto GXL1PZNTeJx9TLpS; goto ABSoAD6rOUE8mmtD; qwmax5Qj8WTpEGPF: $this->videoStream(); goto hMtGBHM0PS3dED1W; ABSoAD6rOUE8mmtD: nF_x9iVNBX_IuoaU: goto Dvgv9ADzjTcyg9O3; Bq_J4sCkw_rzB6r6: session_write_close(); goto Y1FtQe0D9WLhnc0Z; U8uSFsJtQlq4iFOW: session_write_close(); goto OO8IofI1_ieNPsvk; fr993fTU31JUyeZA: if (empty($_SERVER["HTTP_RANGE"])) { goto hPjDMvtdFEAl0C8o; } goto wzt_p7JWPiCYHNe3; kqkGjTqLaRJjH6sD: $path = parse_url($this->videoURL, PHP_URL_PATH); goto ZaX4qMX5CsyQYqKu; YsA_7FTVbNHS1pCN: session_write_close(); goto N0wApXoXvPoeojbl; ZJ2Sg4A6fvNJcmP9: if (in_array($extension, $subtitleExtensions)) { goto nF_x9iVNBX_IuoaU; } goto qPE55Qj1TB581J4H; E_M5z18VieB5o1o6: if (is_dir($dir)) { goto xvc_Pst4GJhoF0E5; } goto YsA_7FTVbNHS1pCN; epYIxm_u_Gdzmp8_: exit; goto H9L4JMUu1nhPrS0D; nGNofUXmi8GNuazc: xvc_Pst4GJhoF0E5: goto M7ho6NuSMaHibX0y; M7ho6NuSMaHibX0y: S_yUcCUO3fMLDp47: goto X9spC3ldWZQ9GNW7; H9L4JMUu1nhPrS0D: XFlBF7fUc7hi5P0U: goto Y5IIdiwA3d3HA3U7; Y5IIdiwA3d3HA3U7: $dir = pathinfo($this->cacheFile, PATHINFO_DIRNAME); goto E_M5z18VieB5o1o6; N0wApXoXvPoeojbl: create_dir($dir); goto nGNofUXmi8GNuazc; w3XBMS93IYXo35Cb: } protected function retry(int $status = 200) { goto sYE4ernB32ndk8uF; LI_cYrfll_w2X87I: session_write_close(); goto Th591mgODKYcDEfw; Kf_NVFEHBUpfSKdq: J648JNXn8Bsru33p: goto pZMrPaNm6u7dqRrK; Z_XULjRHtjg0yTlb: $this->core->setDownload($this->isMP4); goto gQh54Ti1OxOqEHrS; wFo0Nmc5us8oITiv: $this->createResponseHeaders(404); goto ElT4RttzT4mHgON9; xDvljnNtYRisAiLG: $now = time(); goto RmKSu_NoOdKAee7M; nnowfV9rOw0BsGk8: szl8KSXtXDwYDjmT: goto QG_k6aYfeREp7Ook; sYE4ernB32ndk8uF: session_write_close(); goto rn9WkMSTev_u_KwK; QG_k6aYfeREp7Ook: session_write_close(); goto xDvljnNtYRisAiLG; ELW09VjH8R3HJ71o: usleep(random_int(3000000, 7000000)); goto Pp961PrIQz30PJch; rsrSO3I_Rmn19H8Y: $qry = is_array($qry) ? $qry : []; goto R4HlMBvPUVczAtnh; ElT4RttzT4mHgON9: goto J648JNXn8Bsru33p; goto nnowfV9rOw0BsGk8; ofc9U1Q2kXNC17bj: session_write_close(); goto ELW09VjH8R3HJ71o; RmKSu_NoOdKAee7M: $qry["_"] = $now; goto eoGvmGiRBgM0ZPAd; eXcUACro7zdRhUok: goto pwquhVGh1ANd1S6x; goto MtM3PA_Uh16qKUAl; Th591mgODKYcDEfw: $qry["range"] = strtr($_SERVER["HTTP_RANGE"], ["bytes=" => '']); goto tHkBPX7RoqKIopec; VmSsDgTZFiUnoPVm: header("location: " . $path, true); goto Kf_NVFEHBUpfSKdq; AN5Bwq0MkjmEDvmQ: header("Expires: " . gmdate($this->cacheDateTimeFormat, $now), true); goto VmSsDgTZFiUnoPVm; rn9WkMSTev_u_KwK: parse_str(parse_url($_SERVER["REQUEST_URI"], PHP_URL_QUERY), $qry); goto rsrSO3I_Rmn19H8Y; eoGvmGiRBgM0ZPAd: $path = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH) . "?" . http_build_query($qry); goto GCtzfcZlwx8vrvei; axTYuAX0L3Jzt71S: if ($status !== 403 && in_array($this->videoHost, $this->core->getBadHosts())) { goto m4RcaXW9udbxsWrN; } goto KIhUgsowN5YxnPXS; tHkBPX7RoqKIopec: ONc74JV8MXN6M3wO: goto axTYuAX0L3Jzt71S; Pp961PrIQz30PJch: pwquhVGh1ANd1S6x: goto H49mF0IcIiW60sGP; GCtzfcZlwx8vrvei: header("Cache-Control: no-cache, no-store, {$this->defaultCacheControl}", true); goto AN5Bwq0MkjmEDvmQ; Rhnfq_Oo7R3dEdYd: session_write_close(); goto wFo0Nmc5us8oITiv; H49mF0IcIiW60sGP: $this->core->setQuery(["host" => $this->videoHost, "id" => $this->videoId, "email" => $this->videoEmail]); goto Z_XULjRHtjg0yTlb; lOp3zki2XSiDn4E9: $this->vSources->setCriteria("host", $this->videoHost); goto QyKlUUBFQH0m6Xrr; jCGPdbp0I6TtoBqk: $this->vSources->delete(); goto eXcUACro7zdRhUok; QyKlUUBFQH0m6Xrr: $this->vSources->setCriteria("host_id", $this->videoId, "=", "AND"); goto jCGPdbp0I6TtoBqk; KIhUgsowN5YxnPXS: session_write_close(); goto lOp3zki2XSiDn4E9; gQh54Ti1OxOqEHrS: $result = $this->core->result(); goto Byfq2KsMpS3wu6kf; Byfq2KsMpS3wu6kf: if (!empty($result["sources"])) { goto szl8KSXtXDwYDjmT; } goto Rhnfq_Oo7R3dEdYd; MtM3PA_Uh16qKUAl: m4RcaXW9udbxsWrN: goto ofc9U1Q2kXNC17bj; R4HlMBvPUVczAtnh: if (!isset($_SERVER["HTTP_RANGE"])) { goto ONc74JV8MXN6M3wO; } goto LI_cYrfll_w2X87I; pZMrPaNm6u7dqRrK: } public function __destruct() { goto DDLSqED8xSGbgGN0; OKWt8CpmUEVnlsOR: session_write_close(); goto y6dCYD7pOCfVnWAk; r3essZSsfFwqo_HD: session_write_close(); goto CNfSbPft2JRXkfv9; CNfSbPft2JRXkfv9: curl_close($this->ch); goto LTNKonAGL9jrO0bt; y6dCYD7pOCfVnWAk: create_file($this->cacheFile, $this->cacheContent, "w"); goto lVOyreqV5Ur_ij3z; lVOyreqV5Ur_ij3z: yt16zkHToRtmsESU: goto G1PE4srqfe7DI7DQ; DDLSqED8xSGbgGN0: session_write_close(); goto eNM5OeeXHW4B0IsL; G1PE4srqfe7DI7DQ: if (!(gettype($this->ch) === "resource" && $this->writeComplete)) { goto QDsyq3LLN8IY1ky9; } goto r3essZSsfFwqo_HD; LTNKonAGL9jrO0bt: QDsyq3LLN8IY1ky9: goto OPfAMU9LYB3xV0Pr; eNM5OeeXHW4B0IsL: if (!($this->enableCacheFile && $this->videoHost === "yadisk" && in_array($this->sendHttpCode, ["200", "206"]) && $this->cacheContentLen > 0 && !is_file($this->cacheFile))) { goto yt16zkHToRtmsESU; } goto OKWt8CpmUEVnlsOR; OPfAMU9LYB3xV0Pr: } } ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2023-10-07 10:59:52              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 namespace GDPlayer; use Done\Subtitles\Subtitles; use GDPlayer\{Core, Helper, Security}; use GDPlayer\Model\VideoSources; ini_set("\x6d\141\x78\137\145\170\145\x63\x75\164\151\x6f\156\137\x74\151\x6d\x65", -1); ini_set("\172\154\x69\x62\56\157\x75\x74\160\165\164\137\x63\157\x6d\x70\162\145\x73\x73\x69\157\x6e", "\x4f\146\146"); ini_set("\157\165\x74\x70\165\x74\x5f\x62\165\146\x66\x65\x72\151\x6e\147", "\x4f\146\146"); class StreamHelper extends \GDPlayer\StreamCacheHelper { protected $bufferSize = 1048576; protected $bypassRateLimit = false; protected $cacheMaxAge = 0; protected $ch = null; protected $core; protected $fp; protected $header = []; protected $helper; protected $isMP4 = false; protected $mantas; protected $security; protected $slashReplacement = "\x2d\x67\144\x70\x53\x6c\x61\163\x68\x2d"; protected $tmpPath = "\x74\155\160\x2f\x68\x6f\163\164\x73\57"; protected $videoEmail; protected $videoId = ''; protected $videoTitle = ''; protected $vSources; public function __construct(string $vHost = '', string $vID = '', string $url = '', bool $bypassRateLimit = false) { goto yKxynnrBnRqVJ610; fC3vaQk8B9JgSvPV: E9lW9zZ4K3UXoFzU: goto qojvOk52ENVeHPlX; byOVbvNI6E8jiO1a: header("\103\157\x6e\156\x65\143\x74\x69\157\x6e\72\x20\x63\x6c\x6f\163\x65", true); goto lITdVXWVxnSeHj44; Bj8KKM4wkY2bdVsH: session_write_close(); goto v8IkCJZQy5Bdvlgl; bFT_Mj8CwauMZPk4: session_write_close(); goto TxDteIJ5sXdddcjP; QGgvInT7LxduSQcT: goto cc3WewTwsiUdWVmx; goto bfQYZLiNudKV4H8U; gjbEFdwAotYW7Noi: CIoyEaB_NoJw0L1Z: goto ciTDH7nZls3nRNP4; m344W0cD1ureJcl1: $verboseDir = sprintf("\45\x73\x2f\143\141\143\x68\145\57\163\x74\x72\x65\141\x6d\x69\156\x67\57\45\x73\57", rtrim(BASE_DIR, "\x5c\57"), $this->videoHost); goto l5pIYNEU1IMF306Y; dK9QYB6rs1wax2ag: session_write_close(); goto m344W0cD1ureJcl1; brPm4VOwWSUwloL9: $this->videoURL = trim(strtr($url, ["\163\154\x61\x76\x65\45\x35\102\60\x25\65\104" => "\x73\x6c\141\x76\145\45\x35\102\45\65\104", "\x73\154\x61\x76\145\x5b\60\x5d" => "\163\154\141\x76\145\133\x5d", $this->slashReplacement => "\x25\62\x66", "\x20" => "\45\62\x30", "\77\x26" => "\77"]), "\77\x23"); goto ccwxMdxaY_UR5cS9; Rt_Wa7_QMgp87g_c: $baseName = basename($path); goto tzYaWoN27fs3P43g; acr_WZEG4DpvWjMG: curl_setopt($this->ch, CURLOPT_HEADERFUNCTION, array($this, "\x68\145\141\x64\145\162\x43\141\x6c\154\x62\141\143\x6b")); goto OkWUZYmQNASHCtXK; jI1GK_juwoSWbGDT: curl_setopt($this->ch, CURLOPT_NOBODY, false); goto acr_WZEG4DpvWjMG; j079m02lEqdfnLY_: SPl9ILPnmXHfGwp3: goto mF5IudMnx4m6IO2m; FdE0eyuO0v3FBaAE: cZVhBzY5PU_lWaa7: goto dzuGYeQpHHUAISZu; XU873eZoXdBWqCIH: $this->vSources = new VideoSources(); goto ZJpFSk2Im8VPN1GK; ciTDH7nZls3nRNP4: curl_setopt($this->ch, CURLOPT_VERBOSE, true); goto OlHt1wnShia1O6uL; B45BD2E7WYvfE35L: curl_setopt($this->ch, CURLOPT_URL, $this->videoURL); goto kSzxclr9SVruhjhR; hrfl8sJXT3GG8FJY: $this->cacheFile = $this->getCacheFile(); goto YaatY0lcldcV5rc4; ccwxMdxaY_UR5cS9: $this->cacheMaxAge = $this->core->timeout($this->videoHost); goto EkTRC3Jw6SgvN_tY; mF5IudMnx4m6IO2m: @parse_str(parse_url($url, PHP_URL_QUERY), $qry); goto AtxoQMEExadrs45P; FGqPAq61MQB1VpB9: $this->header[] = "\x48\157\163\x74\x3a\40" . $this->helper->getHostOrigin($this->videoURL); goto aIudsvQG4IF4Y73f; RVH3QG83P8gy9jHO: if (!ob_get_status()) { goto cZVhBzY5PU_lWaa7; } goto Bj8KKM4wkY2bdVsH; yfesaLrOuCLI0I_7: $ipHeaders = $this->helper->bypassRateLimit(); goto JP_KtFSjgl9xLkAz; JP_KtFSjgl9xLkAz: $this->iCache->save($ipLimitKey, $ipHeaders, 2592000, "\x72\x61\164\x65\x5f\154\x69\155\151\164\x5f\x69\160\x73"); goto QGgvInT7LxduSQcT; ZZQrMeIzK7SSfMOL: header("\101\143\143\145\160\x74\55\x52\x61\x6e\x67\x65\x73\x3a\40\142\171\164\x65\x73", true); goto byOVbvNI6E8jiO1a; AtxoQMEExadrs45P: if (!isset($qry["\x65\x78\164"])) { goto HMHcSkt6g2MmX3M5; } goto RyBrisSjvwgcbaAr; QebE8GPEybb8U7r2: session_write_close(); goto rJFA2MW9NBcN4ZP0; tzYaWoN27fs3P43g: $fileName = pathinfo($path, PATHINFO_FILENAME); goto REXj7AG1mlJttjWE; RmbPJ_01_ODQYKhq: cc3WewTwsiUdWVmx: goto qgFC3mgb9erzdHA8; v8IkCJZQy5Bdvlgl: ob_end_clean(); goto FdE0eyuO0v3FBaAE; lITdVXWVxnSeHj44: if ($this->cfFriendly) { goto SPl9ILPnmXHfGwp3; } goto QebE8GPEybb8U7r2; iNpBWYjukTBWbcr3: $this->bypassRateLimit = $bypassRateLimit; goto RVH3QG83P8gy9jHO; D4YU0P4DlNqcC1UI: $this->core = new Core(); goto zv2Q0vtDhPAlMT2M; V36scTqI5vWV351C: $ipHeaders = $prevIpHeaders; goto RmbPJ_01_ODQYKhq; ZJpFSk2Im8VPN1GK: $this->videoHost = $vHost; goto e6FBTAEOBXF2Rbeh; Fv2XOGBBv0piIzcg: session_write_close(); goto V36scTqI5vWV351C; IPk3IJJyyyG5BnpT: header_remove("\x43\x6f\x6e\x6e\145\143\x74\151\157\x6e"); goto ZZQrMeIzK7SSfMOL; bfQYZLiNudKV4H8U: qoY3d3H80EO1_rv_: goto Fv2XOGBBv0piIzcg; zv2Q0vtDhPAlMT2M: $this->helper = new Helper(); goto dwSwRHKr53k_eVIz; TxDteIJ5sXdddcjP: $ipLimitKey = "\162\x61\x74\145\137\x6c\x69\155\151\164\x5f" . $this->videoHost . "\x5f" . keyFilter($this->videoId); goto ow35rxHPr2Vf72_B; OqvF_vTUTEm8SfK5: if (!$bypassRateLimit) { goto l1Z2_RfpAwgnJ04O; } goto bFT_Mj8CwauMZPk4; FztaETq4VGjMrCYL: session_write_close(); goto JxIO50Ph2yx8Vl1o; JxIO50Ph2yx8Vl1o: create_dir($verboseDir); goto gjbEFdwAotYW7Noi; lPmfB2kKv6DUt1IH: parent::__construct(); goto D4YU0P4DlNqcC1UI; X0cFQqwNLBvrADq5: if (!empty($prevIpHeaders)) { goto qoY3d3H80EO1_rv_; } goto PloBvjPThbhaLRY1; rJFA2MW9NBcN4ZP0: $this->allowResHeaders[] = "\x63\157\156\x74\x65\156\164\x2d\164\171\160\145"; goto j079m02lEqdfnLY_; qgFC3mgb9erzdHA8: $this->header = array_merge($this->header, $ipHeaders); goto iedp0WjLVYVqGnYC; PloBvjPThbhaLRY1: session_write_close(); goto yfesaLrOuCLI0I_7; RyBrisSjvwgcbaAr: session_write_close(); goto Cz4OIv6q1Ogyu_TQ; OkWUZYmQNASHCtXK: if (!$this->prodMode) { goto E9lW9zZ4K3UXoFzU; } goto dK9QYB6rs1wax2ag; NxypZ6AX2I0zSeZV: curl_setopt($this->ch, CURLOPT_BUFFERSIZE, $this->bufferSize); goto eWga8U2Rl4Vcwgro; dzuGYeQpHHUAISZu: ob_start(); goto IPk3IJJyyyG5BnpT; ow35rxHPr2Vf72_B: $prevIpHeaders = $this->iCache->get($ipLimitKey); goto X0cFQqwNLBvrADq5; gbPOofn_kwWhnCmS: curl_setopt($this->ch, CURLOPT_HEADER, false); goto jI1GK_juwoSWbGDT; OlHt1wnShia1O6uL: curl_setopt($this->ch, CURLOPT_STDERR, fopen($verboseDir . keyFilter($this->videoId) . "\x2e\x74\170\x74", "\x77")); goto fC3vaQk8B9JgSvPV; e6FBTAEOBXF2Rbeh: $this->videoId = $vID; goto iNpBWYjukTBWbcr3; kSzxclr9SVruhjhR: curl_setopt($this->ch, CURLOPT_CUSTOMREQUEST, "\x47\105\x54"); goto NxypZ6AX2I0zSeZV; Cz4OIv6q1Ogyu_TQ: $path = parse_url($url, PHP_URL_PATH); goto Rt_Wa7_QMgp87g_c; aIudsvQG4IF4Y73f: $this->ch = $this->helper->getCurlDefaultConfig(curl_init(), 0); goto B45BD2E7WYvfE35L; GVu1UAK_Nip3fk0g: HMHcSkt6g2MmX3M5: goto brPm4VOwWSUwloL9; yKxynnrBnRqVJ610: session_write_close(); goto lPmfB2kKv6DUt1IH; EkTRC3Jw6SgvN_tY: $this->cacheBaseDir = getVideoCacheFileDir($this->videoHost, $this->videoId); goto hrfl8sJXT3GG8FJY; YaatY0lcldcV5rc4: $this->header = $this->core->defaultHeaders($this->videoHost); goto OqvF_vTUTEm8SfK5; dwSwRHKr53k_eVIz: $this->mantas = new Subtitles(); goto kL2QcOIIvhJKmUwA; kL2QcOIIvhJKmUwA: $this->security = new Security(); goto XU873eZoXdBWqCIH; eWga8U2Rl4Vcwgro: curl_setopt($this->ch, CURLOPT_DNS_SERVERS, in_array($this->videoHost, ["\143\154\x6f\165\144\155\x61\x69\154\162\165", "\x66\151\154\x65\x6d\x6f\157\156", "\x6f\x6b\162\165", "\x76\x6b", "\x79\141\x64\151\x73\153"]) ? "\67\x37\56\70\70\x2e\x38\56\x38\54\67\67\56\70\70\x2e\70\x2e\x31" : null); goto gbPOofn_kwWhnCmS; l5pIYNEU1IMF306Y: if (is_dir($verboseDir)) { goto CIoyEaB_NoJw0L1Z; } goto FztaETq4VGjMrCYL; iedp0WjLVYVqGnYC: l1Z2_RfpAwgnJ04O: goto FGqPAq61MQB1VpB9; REXj7AG1mlJttjWE: $url = trim(strtr($url, ["\x65\x78\x74\x3d{$qry["\x65\170\164"]}" => '', $baseName . "\x3f" => $fileName . "\56" . $qry["\x65\170\164"] . "\77"]), "\77\x26\x23"); goto GVu1UAK_Nip3fk0g; qojvOk52ENVeHPlX: } public function setCookie($cookie) { goto EbToRu8s2uCZ1WyB; L64uDhtLdN4MNb12: QVC1bXPAGsMA2iHS: goto De_LsF7JHiOC6vI3; K720G1ztX9N6xjIG: curl_setopt($this->ch, CURLOPT_COOKIE, $cookie); goto L64uDhtLdN4MNb12; JUS3yYgdQwRwElu_: if (empty($cookie)) { goto QVC1bXPAGsMA2iHS; } goto sC5X2BJ1u0cjXNTN; sC5X2BJ1u0cjXNTN: session_write_close(); goto K720G1ztX9N6xjIG; EbToRu8s2uCZ1WyB: session_write_close(); goto JUS3yYgdQwRwElu_; De_LsF7JHiOC6vI3: } public function setReferer(string $referer = '') { goto OFGI7UvGou3ojtkG; BHCh39oL9qWSBeYz: $origin = $this->helper->getHostOrigin($referer, true); goto fpsHl8p2gc3pWMNJ; fpsHl8p2gc3pWMNJ: $this->header[] = "\x4f\162\151\x67\x69\x6e\x3a\x20" . $origin; goto wzRChmOLGFMWw0x4; wzRChmOLGFMWw0x4: $this->header[] = "\x52\145\x66\145\162\x65\162\x3a\40" . $referer; goto pRJbGkpDtw4qnJHO; OFGI7UvGou3ojtkG: session_write_close(); goto BHCh39oL9qWSBeYz; pRJbGkpDtw4qnJHO: } public function setCache(int $created = 0, int $expired = 0) { goto qXHasSILcpHxz7CL; JUGm4TNOEiQFFcgo: $this->cacheExpires = $expired; goto Dm9rwtWY6F26obSp; qXHasSILcpHxz7CL: session_write_close(); goto b4FczEJtKtmRh7fs; b4FczEJtKtmRh7fs: $this->cacheCreated = $created; goto JUGm4TNOEiQFFcgo; Dm9rwtWY6F26obSp: } public function setLiveToken(bool $live = false, string $token = null) { goto xPBjiEJY52c09gLo; OW9jYmdtJbT9CATL: $this->live = $live; goto RqkhteHGAq8ZQC4w; xPBjiEJY52c09gLo: session_write_close(); goto OW9jYmdtJbT9CATL; RqkhteHGAq8ZQC4w: $this->token = $token; goto CT8fBafGJGSTdLXS; CT8fBafGJGSTdLXS: } private function parseCFUrl(string $path = '', string $query = '', string $fragment = '') { goto KuuDhqtnZ7pdj30D; ONKrXl1QhpDPOfEt: return trim($path . $query . $fragment, "\77\x23"); goto LaJegetJVa1FHmXF; amwYXuvufeGrhAhh: $fileExt = pathinfo($path, PATHINFO_EXTENSION); goto pnr7o2pV8iU9l19h; pnr7o2pV8iU9l19h: $videoExt = ["\x74\163", "\155\x70\x34", "\x6d\64\x73", "\155\x34\166", "\x6d\x34\141", "\x61\141\143", "\x6d\160\x33", "\x61\143\x33"]; goto CgC4bbN37kXJq91Q; ISZFGg7WOegTNlgh: $fileName = pathinfo($path, PATHINFO_FILENAME); goto amwYXuvufeGrhAhh; oeswgHyH2ep07hJe: $query = "\x3f\145\170\x74\75" . $fileExt . "\46" . ltrim($query, "\77"); goto v6Zkk3jg8z2iaDk3; Cb9b4ktfzvN3LNuR: q0sYATj4leX807fp: goto ONKrXl1QhpDPOfEt; Yf9CG5dQZJLquqyM: FGYCUHEbiPdu1FST: goto Cb9b4ktfzvN3LNuR; CgC4bbN37kXJq91Q: $excludeExt = ["\155\160\144", "\163\162\x74", "\x76\164\x74", "\164\170\x74", "\x6a\x73"]; goto xsZkLgN9Hwl7P0Ee; KuuDhqtnZ7pdj30D: session_write_close(); goto GW3uL54UYWcAhPMH; GW3uL54UYWcAhPMH: if (!$this->cfFriendly) { goto q0sYATj4leX807fp; } goto v0apnkWF1BBPNgHK; v0apnkWF1BBPNgHK: session_write_close(); goto ISZFGg7WOegTNlgh; k1Dux2ChNvhudVsK: session_write_close(); goto p8iScg8FwaPDURUS; v6Zkk3jg8z2iaDk3: $path = in_array($fileExt, $videoExt) ? strtr($path, [$baseName => $fileName . "\x2e\x6a\163"]) : strtr($path, [$baseName => $fileName . "\56\164\x78\164"]); goto Yf9CG5dQZJLquqyM; p8iScg8FwaPDURUS: $baseName = basename($path); goto oeswgHyH2ep07hJe; xsZkLgN9Hwl7P0Ee: if (!(!empty($query) && !in_array($fileExt, $excludeExt))) { goto FGYCUHEbiPdu1FST; } goto k1Dux2ChNvhudVsK; LaJegetJVa1FHmXF: } protected function bypassURL(string $val = '', string $separator = "\57\163\x65\x67\x6d\x65\156\x74\x73\57") { goto A1t0aJ5bp0Qb3jZf; aiyKyZpJSwrEXHrz: $scheme = parse_url($masterURL, PHP_URL_SCHEME); goto Idt7_L63dvwbd_Ue; OESKQCRKN89ajBQ0: $urlParser = parse_url($val); goto nFCBuauw8CIrQF1w; nFCBuauw8CIrQF1w: $ref = $this->helper->getHostOrigin($val, true) . "\x2f"; goto vnDPitK9DLMiRE3s; f84dZgDlbFmiMHQN: GvtYY6brjpNsGeyx: goto SugD6cssTuxuRva9; DmBUtchZGXHzRp3h: $path = ltrim($path, "\x2f"); goto g4tMgTJlumkYfwBx; uEHagBkPEwjybNr6: if (validate_url($val)) { goto Va9G07mKximcArgC; } goto qEJCTqCQMZyCntAz; p0pWI34Gx4x1gBGt: $separator = trim($separator, "\x2f"); goto cKkqvMituug0qLDB; HO5NPB5eUjyBFU0x: V1s1qZekj1h1LlDT: goto XXu7mhqAVoMtXMtT; EK7PyLU038zYiUsI: Q9sOCRJLkPwf9BN0: goto agFI8H3k4QUBa02k; aCSTtj7A2eQaRBrJ: $path = ltrim(strtr($path, [$this->tmpPath . $this->videoHost => '', "\57\57" => "\x2f"]), "\x2f"); goto T0jsEUTias54fZNN; atVKU0cxmTmy0kzG: $ref = $this->helper->getHostOrigin($ref, true) . "\x2f"; goto FCKF4CkOPcZ0ZHWD; owqALg2N70A8BFAk: $ref = ''; goto SbX5A03oMN5EiGUf; FCKF4CkOPcZ0ZHWD: $path = ltrim($path, "\x2f"); goto EK7PyLU038zYiUsI; YvTbVlxYur0H3c8C: Va9G07mKximcArgC: goto aqnJW1cJpWVA8whW; vC62CFtdBO9ne3e7: $cPath = count($exPath) - 1; goto Yb7WKt_Z7Vr42h6U; iJbC2NFrgbCFcNgM: $query .= $this->getAmp() . "\x6c\x69\166\145\75" . ($this->live ? "\x74\x72\165\x65" : "\x66\141\x6c\163\x65"); goto hqDWzW3refP4tRKz; Wsm1aeFmkkTvRHRm: goto WhyOOcgQBTQFE_Nq; goto vHxZJQSgVdefVvQb; MZWl8bpSq5tRla2p: eYHkzVCKntYFZ5nO: goto bnrtDyMNofZtGubr; vuY4myL3Ita9MzEv: $exUrl = array_reverse(explode("\x2f", rtrim($xUrl, "\57"))); goto dQoKdEH3EOGeZCxC; wGOxvx3LTraPNaSV: $urlParser = parse_url($masterURL); goto aiyKyZpJSwrEXHrz; piK3aZ_AlZ2Q0p0j: $masterURL = rtrim(strtr($masterURL, [basename($masterURL) => '']), "\57") . "\x2f" . ltrim($val, "\x2f"); goto JgFNsuksl190Psyu; qJbZGGI9aSnNGGAk: session_write_close(); goto k4MPvMeRcz2HxJLa; gX01AjejtPttrG4k: return $this->parseCFUrl($path, $query, $fragment); goto SanS7cVmz25Lf3DD; PaWEge8_U4s1fd0y: $masterURL = $this->videoURL; goto L0Ecw623jCvC1SVB; DcQIfuoaK_alJ1H9: goto Q9sOCRJLkPwf9BN0; goto V6vqm7SOf087nAGi; cKkqvMituug0qLDB: $originURLEncoded = $this->security->encryptURL($ref); goto DmBUtchZGXHzRp3h; aqnJW1cJpWVA8whW: session_write_close(); goto OESKQCRKN89ajBQ0; C0sH3eAXzLiHvO7H: session_write_close(); goto TLLVjqTe5p2iz5K2; UkfWsq7wNmoFhrPj: $path = ''; goto ad4RPaGTRG5yX7eg; agFI8H3k4QUBa02k: $key = $this->security->encryptURL($this->videoHost . "\176" . $this->videoId); goto zxsBFCmDtlk3jSKA; JNKo41dwyKZ1dVSV: goto Q9sOCRJLkPwf9BN0; goto copOD76XJ69titgU; m8tWzBpGASthFidj: session_write_close(); goto a0avqOxA82HIuCdF; BwFzYT2Hy2brNGJd: if (!empty($urlParser)) { goto D2m9GzPn5uKxbSty; } goto C0sH3eAXzLiHvO7H; Q2OOAmd_w0tagODd: session_write_close(); goto cF1KVAUt0sVpdk5x; NTj7KmVpCmbdbszt: $xUrl = $this->helper->replaceURLScheme($val); goto Wsm1aeFmkkTvRHRm; JgFNsuksl190Psyu: goto sRwPSRlSd2dD05F_; goto f84dZgDlbFmiMHQN; k4MPvMeRcz2HxJLa: $fragment = "\x23" . $urlParser["\146\162\x61\x67\155\x65\156\x74"]; goto HO5NPB5eUjyBFU0x; copOD76XJ69titgU: s7NzPEYIX_1CglEh: goto m8tWzBpGASthFidj; hqDWzW3refP4tRKz: $fragment = ''; goto jz_xsUt687CSFR2v; WOMHzUzAyRx8a5Hm: if (substr($path, 0, 3) === "\x2e\x2e\57") { goto SU3Ll49pLsUspQ2v; } goto qHPKjWtgyvQbIrob; vnDPitK9DLMiRE3s: $scheme = parse_url($val, PHP_URL_SCHEME); goto NTj7KmVpCmbdbszt; Yb7WKt_Z7Vr42h6U: $exUrl = array_reverse(array_slice($exUrl, 0, $cPath)); goto ozTujBQB35gIYQsa; uNhgRW2fiagLvu8H: session_write_close(); goto atVKU0cxmTmy0kzG; gvnz1btz2dY1q38_: $path = strtr($urlParser["\x70\x61\164\150"], ["\45\62\146" => $this->slashReplacement, "\45\x32\x46" => $this->slashReplacement]); goto MZWl8bpSq5tRla2p; ad4RPaGTRG5yX7eg: if (empty($urlParser["\160\141\164\150"])) { goto eYHkzVCKntYFZ5nO; } goto rxw97bhBy0hB1xLk; H9u2WmM6bbt5SYrj: D2m9GzPn5uKxbSty: goto UkfWsq7wNmoFhrPj; zxsBFCmDtlk3jSKA: $query = "\x3f\x64\141\x74\141\75" . $key; goto F46Y9KVrOgCrIs53; g4tMgTJlumkYfwBx: if (!$this->isMPD) { goto E_Di7FU_6HRgU0OB; } goto PhVw4OsvpnTUp1eO; SQgvq6CQaoC2G2_r: sRwPSRlSd2dD05F_: goto wGOxvx3LTraPNaSV; Idt7_L63dvwbd_Ue: $xUrl = $this->helper->replaceURLScheme($masterURL); goto yNkcp4Py0vOZBdf0; L0Ecw623jCvC1SVB: $urlParser = []; goto owqALg2N70A8BFAk; vHxZJQSgVdefVvQb: L57CvhqsnyFJEHY3: goto TrU8EGOoxNAqjgEm; waxvBQ55lVSbqoTc: SU3Ll49pLsUspQ2v: goto s130o5ALkCFA85dG; PhVw4OsvpnTUp1eO: session_write_close(); goto aCSTtj7A2eQaRBrJ; BClDS4gPmqVcPcZo: kvY2e3w2arwlgfMS: goto iJbC2NFrgbCFcNgM; A1t0aJ5bp0Qb3jZf: session_write_close(); goto PaWEge8_U4s1fd0y; fi7dhleKjvG17xBj: $path = sprintf("\x25\163\x2f\45\163\57\45\163\57\x25\163", $baseURL, $separator, $originURLEncoded, $path); goto gX01AjejtPttrG4k; XXu7mhqAVoMtXMtT: $baseURL = trim($this->helper->replaceURLScheme(BASE_URL), "\x2f"); goto p0pWI34Gx4x1gBGt; TLLVjqTe5p2iz5K2: return $val; goto H9u2WmM6bbt5SYrj; V6vqm7SOf087nAGi: GVlemLSoocxk83Sj: goto uNhgRW2fiagLvu8H; rxw97bhBy0hB1xLk: session_write_close(); goto gvnz1btz2dY1q38_; cF1KVAUt0sVpdk5x: $query .= "\x26" . $urlParser["\x71\x75\x65\162\x79"]; goto BClDS4gPmqVcPcZo; jz_xsUt687CSFR2v: if (empty($urlParser["\x66\x72\x61\x67\x6d\145\156\x74"])) { goto V1s1qZekj1h1LlDT; } goto qJbZGGI9aSnNGGAk; za8ifj633AWBkbrE: $masterURL = $ref . ltrim($val, "\x2f"); goto SQgvq6CQaoC2G2_r; qEJCTqCQMZyCntAz: if (validate_url($masterURL)) { goto L57CvhqsnyFJEHY3; } goto oB7fwp1JsSl1laEX; a0avqOxA82HIuCdF: $path = ltrim($path, "\x2e\x2f"); goto B7YbsRKNkPedF4Yx; TrU8EGOoxNAqjgEm: session_write_close(); goto ZcAXdd1VuwhuNDEJ; bnrtDyMNofZtGubr: if (substr($path, 0, 2) === "\x2e\x2f") { goto s7NzPEYIX_1CglEh; } goto WOMHzUzAyRx8a5Hm; dQoKdEH3EOGeZCxC: $exPath = explode("\56\56\57", $path); goto vC62CFtdBO9ne3e7; SugD6cssTuxuRva9: session_write_close(); goto za8ifj633AWBkbrE; yNkcp4Py0vOZBdf0: WhyOOcgQBTQFE_Nq: goto BwFzYT2Hy2brNGJd; qHPKjWtgyvQbIrob: if (substr($path, 0, 1) === "\57") { goto GVlemLSoocxk83Sj; } goto JNKo41dwyKZ1dVSV; ZcAXdd1VuwhuNDEJ: $ref = $this->helper->getHostOrigin($masterURL, true) . "\x2f"; goto PhMKOE8yojW4hOWu; s130o5ALkCFA85dG: session_write_close(); goto vuY4myL3Ita9MzEv; B7YbsRKNkPedF4Yx: goto Q9sOCRJLkPwf9BN0; goto waxvBQ55lVSbqoTc; oB7fwp1JsSl1laEX: goto WhyOOcgQBTQFE_Nq; goto YvTbVlxYur0H3c8C; KYw2UXeWKwXGxPPJ: session_write_close(); goto piK3aZ_AlZ2Q0p0j; T0jsEUTias54fZNN: E_Di7FU_6HRgU0OB: goto fi7dhleKjvG17xBj; ozTujBQB35gIYQsa: $ref = $scheme . "\x3a\x2f\57" . trim(implode("\57", $exUrl), "\x2f") . "\57"; goto P540HwNe16zH1axE; PhMKOE8yojW4hOWu: if (substr($val, 0, 1) === "\x2f") { goto GvtYY6brjpNsGeyx; } goto KYw2UXeWKwXGxPPJ; P540HwNe16zH1axE: $path = strtr($path, ["\56\56\57" => '']); goto DcQIfuoaK_alJ1H9; F46Y9KVrOgCrIs53: if (empty($urlParser["\x71\165\x65\x72\x79"])) { goto kvY2e3w2arwlgfMS; } goto Q2OOAmd_w0tagODd; SbX5A03oMN5EiGUf: $xUrl = ''; goto uEHagBkPEwjybNr6; SanS7cVmz25Lf3DD: } protected function headerCallback($ch, $header) { goto LbhJoKR9IW1h1oeN; b3FgXuv5kMz1c4FN: header($header, true); goto JW5RT2VDQ4FjLcB3; ZjezTVaovqSah1Qe: if (!in_array($key, $this->allowResHeaders)) { goto Ffoa_Vue8OUS74Ya; } goto QDKSCOE_BKksyf1C; IzleODq8rDRIOpYH: return strlen($header); goto bujtmn4MKmcJBfjz; I5978Dr1wPhT8V0j: list($key, $val) = array_pad(explode("\x3a", $header), 2, ''); goto ZjezTVaovqSah1Qe; JW5RT2VDQ4FjLcB3: Ffoa_Vue8OUS74Ya: goto IzleODq8rDRIOpYH; UZQCpHhA0iTz52O8: $header = strtolower($header); goto I5978Dr1wPhT8V0j; QDKSCOE_BKksyf1C: session_write_close(); goto AXDTxjraZjzldtu2; AXDTxjraZjzldtu2: $this->resHeaders[$key] = trim($val); goto b3FgXuv5kMz1c4FN; LbhJoKR9IW1h1oeN: session_write_close(); goto UZQCpHhA0iTz52O8; bujtmn4MKmcJBfjz: } protected function writeCallback($ch, $chunk) { goto pjSewY4ndZumAMk3; pjSewY4ndZumAMk3: session_write_close(); goto Ljkru0jMthcMAi61; ExawsGUcIBBTsmmZ: $this->cacheContent .= $chunk; goto XuB1wt7IkOrVBDOH; BwnIoe9J1pCrdMkD: echo $chunk; goto Y0RZBz9vUTq21P5K; pPhOxl2yzo5dwzSb: return $contentLength; goto M3dBUYxbNOlp7Xcc; Y0RZBz9vUTq21P5K: ob_flush(); goto QC8fcV9mWbOxq5EY; JdsjvL6i56BEDy95: $this->writeComplete = false; goto BwnIoe9J1pCrdMkD; QC8fcV9mWbOxq5EY: flush(); goto pPhOxl2yzo5dwzSb; Ljkru0jMthcMAi61: $contentLength = strlen($chunk); goto ExawsGUcIBBTsmmZ; XuB1wt7IkOrVBDOH: $this->cacheContentLen += $contentLength; goto JdsjvL6i56BEDy95; M3dBUYxbNOlp7Xcc: } protected function writeCacheCallback($ch, $chunk) { goto jAaIE1LYPn7MGqKd; S13EZMfIshD6hAOT: ob_flush(); goto AMgwruFoy7LNyAqI; IkUPRO_qT1gDrz5a: $this->writeComplete = false; goto jY5dwSZTZRyBSur_; HaOPhiHXAr1yLexa: $contentLength = strlen($chunk); goto WF05GBRJLUPc7Je1; jAaIE1LYPn7MGqKd: session_write_close(); goto HaOPhiHXAr1yLexa; kPdpNtQcCOvjf5Lx: $this->cacheContentLen += $contentLength; goto H7ijAXn9DrsbzAFj; PnR0_96fC79a7lkB: YiVru6JE_e_mZ52a: goto IkUPRO_qT1gDrz5a; jY5dwSZTZRyBSur_: echo $chunk; goto S13EZMfIshD6hAOT; wYt55Iy62ej22uj7: create_file($this->cacheFile, $this->cacheContent, "\167"); goto PnR0_96fC79a7lkB; WF05GBRJLUPc7Je1: $this->cacheContent .= $chunk; goto kPdpNtQcCOvjf5Lx; ysoIHHofEJcKPaGy: session_write_close(); goto wYt55Iy62ej22uj7; vziisWPlH7vJ6M8l: return $contentLength; goto Om68u2r6c7l1xxPe; H7ijAXn9DrsbzAFj: if (!(!empty($this->resHeaders["\x63\x6f\156\164\x65\156\164\55\x6c\145\x6e\x67\164\x68"]) && $this->cacheContentLen === intval($this->resHeaders["\x63\x6f\x6e\164\x65\156\x74\55\x6c\145\x6e\147\164\150"]))) { goto YiVru6JE_e_mZ52a; } goto ysoIHHofEJcKPaGy; AMgwruFoy7LNyAqI: flush(); goto vziisWPlH7vJ6M8l; Om68u2r6c7l1xxPe: } protected function subtitleStream($extension = null) { goto V1Y2BY1Mw9e1b2cB; MFwP8gRF4RvXZpXi: qrAa7CAkSW_rDh6o: goto Zjf9wuSwbfudFQ4D; F3a8qQzv7AXKFEIA: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE); goto CajzeGDb3YmtpNV2; mRPxEhCVxAi6rgDi: session_write_close(); goto z1J7yEn2yMNbPz9e; txBJb3SooiSawril: session_write_close(); goto BjaDuUzfEGP7zg1l; Qg9_jXrOtPK2nZgP: if (!($extension !== "\x76\164\164" && $extension !== "\x77\145\142\166\x74\164" && substr(trim($content), 0, 6) !== "\127\x45\102\126\124\x54")) { goto KeSB4uiak7RBtJv_; } goto txBJb3SooiSawril; ODgyhwVVa8RRitgL: if ($status >= 200 && $status < 400) { goto zv2xp__Ot_IIm3c6; } goto mRPxEhCVxAi6rgDi; ZPDGjkjHvCb08LoY: $this->createResponseHeaders(200); goto MFwP8gRF4RvXZpXi; CajzeGDb3YmtpNV2: $err = curl_error($this->ch); goto ODgyhwVVa8RRitgL; qFRkTRrtO_cwy2LZ: session_write_close(); goto coSfg2DGLbbb3354; S_ExfsmS9Tcf5ogR: $content = curl_exec($this->ch); goto F3a8qQzv7AXKFEIA; kwoKdj8HzkhogyJ2: $this->cacheContent = $content; goto Idd3c6UyC0zTAztD; BjaDuUzfEGP7zg1l: $content = $this->mantas::loadString(strip_tags($content), $extension); goto zZ1XtN5uV2oSqvMJ; zZ1XtN5uV2oSqvMJ: $content = $content->content("\x76\x74\x74"); goto t1s4SXnfG6TUDAFg; RzsTgqkDBMj5kRC9: curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true); goto ExfNSYO3EOTuOxbB; aOOC9BcjPQ421fUL: zv2xp__Ot_IIm3c6: goto qFRkTRrtO_cwy2LZ; t1s4SXnfG6TUDAFg: $content = preg_replace("\57\173\x28\56\52\x3f\x29\x7d\57", '', $content); goto rtKYlADEPU1v1ps9; ExfNSYO3EOTuOxbB: curl_setopt($this->ch, CURLOPT_HTTPHEADER, $this->header); goto S_ExfsmS9Tcf5ogR; JnPPbTESGEJ_BthA: header("\103\x6f\156\164\145\156\x74\x2d\124\x79\x70\x65\x3a\x20\164\145\170\164\57\x76\x74\x74\73\x63\150\141\x72\x73\x65\164\x3d\x55\x54\x46\x2d\70", true); goto kwoKdj8HzkhogyJ2; Idd3c6UyC0zTAztD: $this->cacheContentLen = strlen($this->cacheContent); goto oZvmPinDBzl2enPg; oZvmPinDBzl2enPg: create_file($this->cacheFile, $this->cacheContent, "\x77"); goto ZPDGjkjHvCb08LoY; z1J7yEn2yMNbPz9e: createErrorLog([__FILE__, __FUNCTION__, $this->videoURL, $status, $err]); goto AkIxbahW_vJExVWB; AkIxbahW_vJExVWB: goto qrAa7CAkSW_rDh6o; goto aOOC9BcjPQ421fUL; V1Y2BY1Mw9e1b2cB: session_write_close(); goto RzsTgqkDBMj5kRC9; rtKYlADEPU1v1ps9: KeSB4uiak7RBtJv_: goto JnPPbTESGEJ_BthA; coSfg2DGLbbb3354: $content = trim($content); goto Qg9_jXrOtPK2nZgP; Zjf9wuSwbfudFQ4D: } protected function videoStream() { goto yzaP9Lix1udYsceY; pXs5dzD9qaRrkMXC: curl_setopt($this->ch, CURLOPT_HTTPHEADER, $this->header); goto h33km035iQ8Wgv_v; YCrnlIqFbaQPs6LF: session_write_close(); goto EqPoCNv1T73urBSv; VonJfmfzh0ark3dX: $this->createResponseHeaders($this->sendHttpCode); goto aV3Vs1QA1CcUWg8M; SiKLfwRL94ZWczQp: $this->createResponseHeaders($status); goto v0uLwLXbZmXQ4mjM; v0uLwLXbZmXQ4mjM: v53Sy9VTbAXbTQaX: goto kjgfCMGDHLy0ZKAm; yzaP9Lix1udYsceY: session_write_close(); goto cLq66JZ85EWzxITX; EqPoCNv1T73urBSv: createErrorLog([__FILE__, __FUNCTION__, $this->videoURL, $status, $err]); goto SiKLfwRL94ZWczQp; NmBv2FmctkO1un8h: $err = curl_error($this->ch); goto vnd_ifJQNnC4Br_b; aV3Vs1QA1CcUWg8M: curl_setopt($this->ch, CURLOPT_HEADER, false); goto l2IZl6KwfmfqTAxw; h33km035iQ8Wgv_v: curl_setopt($this->ch, CURLOPT_WRITEFUNCTION, array($this, $callback)); goto UMWKR12YSPB0PEIS; l2IZl6KwfmfqTAxw: curl_setopt($this->ch, CURLOPT_NOBODY, false); goto w1AOJjd_FKmSuBg5; oAdMze1G5Bke2rH4: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE); goto NmBv2FmctkO1un8h; vnd_ifJQNnC4Br_b: if (!($status < 200 || $status >= 400)) { goto v53Sy9VTbAXbTQaX; } goto YCrnlIqFbaQPs6LF; cLq66JZ85EWzxITX: $callback = $this->enableCacheFile && $this->videoHost !== "\x79\141\144\151\163\x6b" && !is_file($this->cacheFile) ? "\x77\162\x69\x74\145\x43\141\143\x68\145\x43\141\154\x6c\142\x61\143\153" : "\x77\162\151\x74\x65\103\141\x6c\154\x62\x61\x63\153"; goto VonJfmfzh0ark3dX; UMWKR12YSPB0PEIS: curl_exec($this->ch); goto oAdMze1G5Bke2rH4; w1AOJjd_FKmSuBg5: curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, false); goto pXs5dzD9qaRrkMXC; kjgfCMGDHLy0ZKAm: } public function stream() { goto lku86pqK5aeqnjk3; fQhzSbjj4_nMxc6V: if (!$cache) { goto XFlBF7fUc7hi5P0U; } goto Bq_J4sCkw_rzB6r6; KwC7e1JbTzGuAw78: $this->createResponseHeaders($this->sendHttpCode); goto NtYwtuyNIgZ1nj1F; X9spC3ldWZQ9GNW7: $subtitleExtensions = ["\x73\x72\164", "\x76\x74\164", "\x61\x73\x73", "\x73\165\142", "\x73\x74\x6c", "\x64\146\x78\160", "\164\164\155\x6c", "\x73\x62\x76"]; goto kqkGjTqLaRJjH6sD; wzt_p7JWPiCYHNe3: session_write_close(); goto H9zoBWV2eHVd3kVZ; Sxh6YeCY67Ce9ZUL: $this->sendHttpCode = 206; goto SuolT3ouIghGwJlm; OO8IofI1_ieNPsvk: $cache = $this->getCacheContent(); goto fQhzSbjj4_nMxc6V; NtYwtuyNIgZ1nj1F: curl_close($this->ch); goto epYIxm_u_Gdzmp8_; u4Cd93DXDKrxNJHK: $this->subtitleStream($extension); goto NKOblOzBFNiy3SJ_; jurbLTibEVUGG3Bd: $this->cacheFile = strtr($this->cacheFile, [$baseName => $cacheRange . "\x2d" . $baseName]); goto Ae0Hpf4ItD0WdHkl; SuolT3ouIghGwJlm: $baseName = basename($this->cacheFile); goto ChRw2xtRCpdzYQF5; FPZr_CSSpaMRC3Yy: $this->cacheContentLen = filesize($this->cacheFile); goto KwC7e1JbTzGuAw78; Dvgv9ADzjTcyg9O3: session_write_close(); goto u4Cd93DXDKrxNJHK; D9_1NT33D4lq5sXy: header("\x43\x6f\156\164\x65\156\164\x2d\x54\x79\160\145\x3a\40\x61\160\x70\x6c\151\143\141\164\151\157\x6e\x2f\x6f\143\x74\145\x74\55\x73\164\x72\145\141\x6d", true); goto fr993fTU31JUyeZA; ChRw2xtRCpdzYQF5: $cacheRange = strtr($_SERVER["\110\124\124\120\x5f\122\x41\x4e\x47\105"], ["\142\171\x74\145\163\x3d" => '']); goto jurbLTibEVUGG3Bd; qPE55Qj1TB581J4H: session_write_close(); goto qwmax5Qj8WTpEGPF; lku86pqK5aeqnjk3: session_write_close(); goto D9_1NT33D4lq5sXy; H9zoBWV2eHVd3kVZ: $this->header[] = "\162\141\x6e\x67\145\72\40" . $_SERVER["\x48\x54\x54\120\137\x52\x41\x4e\107\x45"]; goto Sxh6YeCY67Ce9ZUL; Ae0Hpf4ItD0WdHkl: hPjDMvtdFEAl0C8o: goto O13zBnsKYoRRgEP2; ZaX4qMX5CsyQYqKu: $extension = pathinfo(basename($path), PATHINFO_EXTENSION); goto ZJ2Sg4A6fvNJcmP9; NKOblOzBFNiy3SJ_: GXL1PZNTeJx9TLpS: goto w3XBMS93IYXo35Cb; O13zBnsKYoRRgEP2: if (!$this->enableCacheFile) { goto S_yUcCUO3fMLDp47; } goto U8uSFsJtQlq4iFOW; Y1FtQe0D9WLhnc0Z: $this->cacheContent = $cache; goto FPZr_CSSpaMRC3Yy; hMtGBHM0PS3dED1W: goto GXL1PZNTeJx9TLpS; goto ABSoAD6rOUE8mmtD; qwmax5Qj8WTpEGPF: $this->videoStream(); goto hMtGBHM0PS3dED1W; ABSoAD6rOUE8mmtD: nF_x9iVNBX_IuoaU: goto Dvgv9ADzjTcyg9O3; Bq_J4sCkw_rzB6r6: session_write_close(); goto Y1FtQe0D9WLhnc0Z; U8uSFsJtQlq4iFOW: session_write_close(); goto OO8IofI1_ieNPsvk; fr993fTU31JUyeZA: if (empty($_SERVER["\110\x54\x54\120\x5f\122\101\x4e\x47\x45"])) { goto hPjDMvtdFEAl0C8o; } goto wzt_p7JWPiCYHNe3; kqkGjTqLaRJjH6sD: $path = parse_url($this->videoURL, PHP_URL_PATH); goto ZaX4qMX5CsyQYqKu; YsA_7FTVbNHS1pCN: session_write_close(); goto N0wApXoXvPoeojbl; ZJ2Sg4A6fvNJcmP9: if (in_array($extension, $subtitleExtensions)) { goto nF_x9iVNBX_IuoaU; } goto qPE55Qj1TB581J4H; E_M5z18VieB5o1o6: if (is_dir($dir)) { goto xvc_Pst4GJhoF0E5; } goto YsA_7FTVbNHS1pCN; epYIxm_u_Gdzmp8_: exit; goto H9L4JMUu1nhPrS0D; nGNofUXmi8GNuazc: xvc_Pst4GJhoF0E5: goto M7ho6NuSMaHibX0y; M7ho6NuSMaHibX0y: S_yUcCUO3fMLDp47: goto X9spC3ldWZQ9GNW7; H9L4JMUu1nhPrS0D: XFlBF7fUc7hi5P0U: goto Y5IIdiwA3d3HA3U7; Y5IIdiwA3d3HA3U7: $dir = pathinfo($this->cacheFile, PATHINFO_DIRNAME); goto E_M5z18VieB5o1o6; N0wApXoXvPoeojbl: create_dir($dir); goto nGNofUXmi8GNuazc; w3XBMS93IYXo35Cb: } protected function retry(int $status = 200) { goto sYE4ernB32ndk8uF; LI_cYrfll_w2X87I: session_write_close(); goto Th591mgODKYcDEfw; Kf_NVFEHBUpfSKdq: J648JNXn8Bsru33p: goto pZMrPaNm6u7dqRrK; Z_XULjRHtjg0yTlb: $this->core->setDownload($this->isMP4); goto gQh54Ti1OxOqEHrS; wFo0Nmc5us8oITiv: $this->createResponseHeaders(404); goto ElT4RttzT4mHgON9; xDvljnNtYRisAiLG: $now = time(); goto RmKSu_NoOdKAee7M; nnowfV9rOw0BsGk8: szl8KSXtXDwYDjmT: goto QG_k6aYfeREp7Ook; sYE4ernB32ndk8uF: session_write_close(); goto rn9WkMSTev_u_KwK; QG_k6aYfeREp7Ook: session_write_close(); goto xDvljnNtYRisAiLG; ELW09VjH8R3HJ71o: usleep(random_int(3000000, 7000000)); goto Pp961PrIQz30PJch; rsrSO3I_Rmn19H8Y: $qry = is_array($qry) ? $qry : []; goto R4HlMBvPUVczAtnh; ElT4RttzT4mHgON9: goto J648JNXn8Bsru33p; goto nnowfV9rOw0BsGk8; ofc9U1Q2kXNC17bj: session_write_close(); goto ELW09VjH8R3HJ71o; RmKSu_NoOdKAee7M: $qry["\x5f"] = $now; goto eoGvmGiRBgM0ZPAd; eXcUACro7zdRhUok: goto pwquhVGh1ANd1S6x; goto MtM3PA_Uh16qKUAl; Th591mgODKYcDEfw: $qry["\162\x61\156\x67\x65"] = strtr($_SERVER["\x48\124\x54\120\x5f\x52\x41\x4e\107\x45"], ["\142\x79\164\x65\x73\x3d" => '']); goto tHkBPX7RoqKIopec; VmSsDgTZFiUnoPVm: header("\154\x6f\143\x61\x74\151\x6f\x6e\x3a\40" . $path, true); goto Kf_NVFEHBUpfSKdq; AN5Bwq0MkjmEDvmQ: header("\105\x78\160\151\162\x65\x73\x3a\40" . gmdate($this->cacheDateTimeFormat, $now), true); goto VmSsDgTZFiUnoPVm; rn9WkMSTev_u_KwK: parse_str(parse_url($_SERVER["\122\105\121\x55\105\123\x54\137\125\x52\111"], PHP_URL_QUERY), $qry); goto rsrSO3I_Rmn19H8Y; eoGvmGiRBgM0ZPAd: $path = parse_url($_SERVER["\x52\x45\121\x55\x45\x53\124\137\125\122\x49"], PHP_URL_PATH) . "\77" . http_build_query($qry); goto GCtzfcZlwx8vrvei; axTYuAX0L3Jzt71S: if ($status !== 403 && in_array($this->videoHost, $this->core->getBadHosts())) { goto m4RcaXW9udbxsWrN; } goto KIhUgsowN5YxnPXS; tHkBPX7RoqKIopec: ONc74JV8MXN6M3wO: goto axTYuAX0L3Jzt71S; Pp961PrIQz30PJch: pwquhVGh1ANd1S6x: goto H49mF0IcIiW60sGP; GCtzfcZlwx8vrvei: header("\x43\141\x63\x68\145\x2d\103\x6f\156\164\162\157\x6c\x3a\x20\x6e\157\x2d\x63\x61\143\x68\145\54\40\x6e\x6f\55\163\x74\x6f\x72\x65\x2c\x20{$this->defaultCacheControl}", true); goto AN5Bwq0MkjmEDvmQ; Rhnfq_Oo7R3dEdYd: session_write_close(); goto wFo0Nmc5us8oITiv; H49mF0IcIiW60sGP: $this->core->setQuery(["\150\157\x73\x74" => $this->videoHost, "\x69\144" => $this->videoId, "\x65\x6d\141\151\154" => $this->videoEmail]); goto Z_XULjRHtjg0yTlb; lOp3zki2XSiDn4E9: $this->vSources->setCriteria("\x68\x6f\x73\x74", $this->videoHost); goto QyKlUUBFQH0m6Xrr; jCGPdbp0I6TtoBqk: $this->vSources->delete(); goto eXcUACro7zdRhUok; QyKlUUBFQH0m6Xrr: $this->vSources->setCriteria("\x68\157\x73\x74\137\x69\144", $this->videoId, "\75", "\x41\x4e\104"); goto jCGPdbp0I6TtoBqk; KIhUgsowN5YxnPXS: session_write_close(); goto lOp3zki2XSiDn4E9; gQh54Ti1OxOqEHrS: $result = $this->core->result(); goto Byfq2KsMpS3wu6kf; Byfq2KsMpS3wu6kf: if (!empty($result["\163\x6f\x75\162\x63\145\x73"])) { goto szl8KSXtXDwYDjmT; } goto Rhnfq_Oo7R3dEdYd; MtM3PA_Uh16qKUAl: m4RcaXW9udbxsWrN: goto ofc9U1Q2kXNC17bj; R4HlMBvPUVczAtnh: if (!isset($_SERVER["\x48\124\124\120\137\122\101\x4e\x47\105"])) { goto ONc74JV8MXN6M3wO; } goto LI_cYrfll_w2X87I; pZMrPaNm6u7dqRrK: } public function __destruct() { goto DDLSqED8xSGbgGN0; OKWt8CpmUEVnlsOR: session_write_close(); goto y6dCYD7pOCfVnWAk; r3essZSsfFwqo_HD: session_write_close(); goto CNfSbPft2JRXkfv9; CNfSbPft2JRXkfv9: curl_close($this->ch); goto LTNKonAGL9jrO0bt; y6dCYD7pOCfVnWAk: create_file($this->cacheFile, $this->cacheContent, "\167"); goto lVOyreqV5Ur_ij3z; lVOyreqV5Ur_ij3z: yt16zkHToRtmsESU: goto G1PE4srqfe7DI7DQ; DDLSqED8xSGbgGN0: session_write_close(); goto eNM5OeeXHW4B0IsL; G1PE4srqfe7DI7DQ: if (!(gettype($this->ch) === "\x72\145\163\157\165\162\143\x65" && $this->writeComplete)) { goto QDsyq3LLN8IY1ky9; } goto r3essZSsfFwqo_HD; LTNKonAGL9jrO0bt: QDsyq3LLN8IY1ky9: goto OPfAMU9LYB3xV0Pr; eNM5OeeXHW4B0IsL: if (!($this->enableCacheFile && $this->videoHost === "\171\x61\x64\x69\163\153" && in_array($this->sendHttpCode, ["\x32\x30\x30", "\62\x30\x36"]) && $this->cacheContentLen > 0 && !is_file($this->cacheFile))) { goto yt16zkHToRtmsESU; } goto OKWt8CpmUEVnlsOR; OPfAMU9LYB3xV0Pr: } }

Function Calls

None

Variables

None

Stats

MD5 fd002abc11f58e7631588213fb672b61
Eval Count 0
Decode Time 51 ms