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-01-07 09:41:37              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 namespace GDPlayer\Hosting; class mediafire extends \GDPlayer\CoreAbstract { public function __construct($id = '') { goto NL_82AdUiDgcCAh; s0YieCKZCed1WMA: $this->url = $this->baseURL . "file/" . $id; goto y4VKS1gfDQIvXBb; GExKRFEc6ekvsjl: $this->modifyCurlConfig($this->url); goto HFmX1N0ry2iAki9; psxsMhN6pHWvkT8: parent::__construct($id); goto cZR9LyrLVS_MtpL; cZR9LyrLVS_MtpL: $this->baseURL = "https://www.mediafire.com/"; goto s0YieCKZCed1WMA; y4VKS1gfDQIvXBb: $this->referer = $this->baseURL; goto GExKRFEc6ekvsjl; NL_82AdUiDgcCAh: session_write_close(); goto psxsMhN6pHWvkT8; HFmX1N0ry2iAki9: } public function get_sources(bool $getMp4 = false) : array { goto RnQpQmp888gzetc; je9j_G4BcZnaNWk: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE); goto ZDIp4prmn3NiR05; OfyXA8rgezSxT2j: session_write_close(); goto MfbptOQhEet4JDe; vSW2cUqn9j09sF1: return $result; goto m1SjSAMXXsLfsuH; PAg2uxaiw8qsqFr: $video = $dom->find("a.popsok", 0); goto WzNrq8OLH2EY_Lu; KZCbO8IVU4SKO3G: l1xm_HJGmWGVYiX: goto oJKdR50CRAUG5YG; P7IaOXi6yE_qphS: $result = []; goto LpEmI2fe_eKDyT4; WzNrq8OLH2EY_Lu: if (!empty($video)) { goto l1xm_HJGmWGVYiX; } goto OfyXA8rgezSxT2j; KztjZ_cgaebZGqw: session_write_close(); goto avoQ2YQmO7gLafQ; dUPn1gciSoU4W5O: $result[] = ["file" => $video->href, "type" => "video/mp4", "label" => "Original"]; goto Q3MdjYLbQQmXWaF; SmM5iRDoij3vLkA: session_write_close(); goto BzkJJsoWkt5cIcL; LpEmI2fe_eKDyT4: $response = curl_exec($this->ch); goto je9j_G4BcZnaNWk; MfbptOQhEet4JDe: createErrorLog([__FILE__, __FUNCTION__, $this->id, "download link not found"]); goto WoejXjdVoYz6vyr; jqArAh1ZUyCVBlE: $this->title = trim($dom->find(".filename", 0)->plaintext); goto PAg2uxaiw8qsqFr; oJKdR50CRAUG5YG: session_write_close(); goto NYxV7L4Zzq15U1b; WoejXjdVoYz6vyr: goto T9dyyKFIGYJCpJm; goto KZCbO8IVU4SKO3G; ZDIp4prmn3NiR05: $err = curl_error($this->ch); goto el4Q7WrbZj52B2w; a5dZAdm3CH255n6: yh3y7KQ13HVj9ZA: goto vSW2cUqn9j09sF1; EGwYknzn1NIwlp3: F96o0ibePPbZXma: goto KztjZ_cgaebZGqw; Q3MdjYLbQQmXWaF: T9dyyKFIGYJCpJm: goto a5dZAdm3CH255n6; G1wocPoD0xqwG_9: goto yh3y7KQ13HVj9ZA; goto EGwYknzn1NIwlp3; el4Q7WrbZj52B2w: if ($status >= 200 && $status < 400) { goto F96o0ibePPbZXma; } goto SmM5iRDoij3vLkA; avoQ2YQmO7gLafQ: $dom = $this->domParser::str_get_html($response); goto jqArAh1ZUyCVBlE; RnQpQmp888gzetc: session_write_close(); goto P7IaOXi6yE_qphS; NYxV7L4Zzq15U1b: $this->status = "ok"; goto dUPn1gciSoU4W5O; BzkJJsoWkt5cIcL: createErrorLog([__FILE__, __FUNCTION__, $this->id, $status, $err]); goto G1wocPoD0xqwG_9; m1SjSAMXXsLfsuH: } public function get_cookies() : array { session_write_close(); return $this->cookies; } public function get_status() : string { session_write_close(); return $this->status; } public function get_title() : string { session_write_close(); return $this->title; } public function get_image() : string { session_write_close(); return $this->image; } public function get_referer() : string { session_write_close(); return $this->referer; } public function get_id() : string { session_write_close(); return $this->id; } public function get_tracks() : array { session_write_close(); return $this->tracks; } public function get_email() : string { session_write_close(); return $this->email; } public function get_logURL() : string { session_write_close(); return $this->logURL; } public function get_filmstrip() : string { session_write_close(); return $this->filmstrip; } public function __destruct() { session_write_close(); parent::__destruct(); } } ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2023-01-07 09:41:37              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 namespace GDPlayer\Hosting; class mediafire extends \GDPlayer\CoreAbstract { public function __construct($id = '') { goto NL_82AdUiDgcCAh; s0YieCKZCed1WMA: $this->url = $this->baseURL . "\x66\x69\154\145\57" . $id; goto y4VKS1gfDQIvXBb; GExKRFEc6ekvsjl: $this->modifyCurlConfig($this->url); goto HFmX1N0ry2iAki9; psxsMhN6pHWvkT8: parent::__construct($id); goto cZR9LyrLVS_MtpL; cZR9LyrLVS_MtpL: $this->baseURL = "\x68\164\164\160\x73\72\57\x2f\x77\167\x77\x2e\155\x65\x64\x69\x61\x66\x69\x72\145\x2e\143\x6f\155\x2f"; goto s0YieCKZCed1WMA; y4VKS1gfDQIvXBb: $this->referer = $this->baseURL; goto GExKRFEc6ekvsjl; NL_82AdUiDgcCAh: session_write_close(); goto psxsMhN6pHWvkT8; HFmX1N0ry2iAki9: } public function get_sources(bool $getMp4 = false) : array { goto RnQpQmp888gzetc; je9j_G4BcZnaNWk: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE); goto ZDIp4prmn3NiR05; OfyXA8rgezSxT2j: session_write_close(); goto MfbptOQhEet4JDe; vSW2cUqn9j09sF1: return $result; goto m1SjSAMXXsLfsuH; PAg2uxaiw8qsqFr: $video = $dom->find("\x61\x2e\160\157\160\x73\157\x6b", 0); goto WzNrq8OLH2EY_Lu; KZCbO8IVU4SKO3G: l1xm_HJGmWGVYiX: goto oJKdR50CRAUG5YG; P7IaOXi6yE_qphS: $result = []; goto LpEmI2fe_eKDyT4; WzNrq8OLH2EY_Lu: if (!empty($video)) { goto l1xm_HJGmWGVYiX; } goto OfyXA8rgezSxT2j; KztjZ_cgaebZGqw: session_write_close(); goto avoQ2YQmO7gLafQ; dUPn1gciSoU4W5O: $result[] = ["\x66\151\154\145" => $video->href, "\164\x79\x70\145" => "\x76\151\x64\145\157\x2f\155\160\x34", "\154\x61\142\145\154" => "\x4f\x72\x69\x67\x69\x6e\x61\154"]; goto Q3MdjYLbQQmXWaF; SmM5iRDoij3vLkA: session_write_close(); goto BzkJJsoWkt5cIcL; LpEmI2fe_eKDyT4: $response = curl_exec($this->ch); goto je9j_G4BcZnaNWk; MfbptOQhEet4JDe: createErrorLog([__FILE__, __FUNCTION__, $this->id, "\144\157\x77\x6e\x6c\x6f\141\x64\40\154\151\x6e\x6b\40\x6e\x6f\164\x20\x66\157\165\x6e\x64"]); goto WoejXjdVoYz6vyr; jqArAh1ZUyCVBlE: $this->title = trim($dom->find("\x2e\146\x69\x6c\145\156\141\155\x65", 0)->plaintext); goto PAg2uxaiw8qsqFr; oJKdR50CRAUG5YG: session_write_close(); goto NYxV7L4Zzq15U1b; WoejXjdVoYz6vyr: goto T9dyyKFIGYJCpJm; goto KZCbO8IVU4SKO3G; ZDIp4prmn3NiR05: $err = curl_error($this->ch); goto el4Q7WrbZj52B2w; a5dZAdm3CH255n6: yh3y7KQ13HVj9ZA: goto vSW2cUqn9j09sF1; EGwYknzn1NIwlp3: F96o0ibePPbZXma: goto KztjZ_cgaebZGqw; Q3MdjYLbQQmXWaF: T9dyyKFIGYJCpJm: goto a5dZAdm3CH255n6; G1wocPoD0xqwG_9: goto yh3y7KQ13HVj9ZA; goto EGwYknzn1NIwlp3; el4Q7WrbZj52B2w: if ($status >= 200 && $status < 400) { goto F96o0ibePPbZXma; } goto SmM5iRDoij3vLkA; avoQ2YQmO7gLafQ: $dom = $this->domParser::str_get_html($response); goto jqArAh1ZUyCVBlE; RnQpQmp888gzetc: session_write_close(); goto P7IaOXi6yE_qphS; NYxV7L4Zzq15U1b: $this->status = "\157\153"; goto dUPn1gciSoU4W5O; BzkJJsoWkt5cIcL: createErrorLog([__FILE__, __FUNCTION__, $this->id, $status, $err]); goto G1wocPoD0xqwG_9; m1SjSAMXXsLfsuH: } public function get_cookies() : array { session_write_close(); return $this->cookies; } public function get_status() : string { session_write_close(); return $this->status; } public function get_title() : string { session_write_close(); return $this->title; } public function get_image() : string { session_write_close(); return $this->image; } public function get_referer() : string { session_write_close(); return $this->referer; } public function get_id() : string { session_write_close(); return $this->id; } public function get_tracks() : array { session_write_close(); return $this->tracks; } public function get_email() : string { session_write_close(); return $this->email; } public function get_logURL() : string { session_write_close(); return $this->logURL; } public function get_filmstrip() : string { session_write_close(); return $this->filmstrip; } public function __destruct() { session_write_close(); parent::__destruct(); } }

Function Calls

None

Variables

None

Stats

MD5 c12e3bc67b585804e7f985617c27e1f2
Eval Count 0
Decode Time 49 ms