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 declare (strict_types=1); namespace Plugin\ecomdata_lscache5; use JTL\Cache\JTLCac..

Decoded Output download

<?php 
 declare (strict_types=1); namespace Plugin\ecomdata_lscache5; use JTL\Cache\JTLCacheInterface; use JTL\DB\DbInterface; use JTL\Helpers\Form; use JTL\Plugin\PluginInterface; use JTL\Shop; use JTL\Jtllog; use JTL\DB\ReturnType; class LSCacheLicense { private DbInterface $db; private PluginInterface $plugin; private string $license = ''; private string $verificationLicense = ''; private string $verificationLocalkey = ''; private int $verificationLastChecked = 0; private bool $verificationDidFail = false; private bool $licenseIsValid = false; private string $shopDomain; const DAYS_TILL_RETRY_FAILED = 1; const DAYS_TILL_RETRY_VALID = 7; const SECRET_KEY = "lRlCow5z6Lm4xpgl"; const LICENSE_SERVER_URL = "https://my.ecomdata.de/"; const LICENSE_SERVER_PATH = "modules/servers/licensing/verify.php"; public function __construct(PluginInterface $aJso6, DbInterface $SokTl) { goto EqYW1; EqYW1: $this->plugin = $aJso6; goto SKTL1; N4nx9: $this->verifyLicense(); goto ZORrq; E8w9N: $this->shopDomain = str_replace("https://", '', str_replace("http://", '', URL_SHOP)); goto N4nx9; SKTL1: $this->db = $SokTl; goto E8w9N; ZORrq: } public function getLicense() : string { return $this->license; } public function isLicenseValid() : bool { return $this->licenseIsValid; } private function isExecutedFromCLI() : bool { goto V1D7V; V1D7V: if (!(http_response_code() === false)) { goto cEOp5; } goto oz6qC; QkDmp: cEOp5: goto HLaSA; oz6qC: return true; goto QkDmp; HLaSA: return false; goto OyRaJ; OyRaJ: } private function loadLicenseData() : void { $this->license = trim($this->plugin->getConfig()->getOption("esi_license")->value); } private function loadVerificationData() : void { goto EvGF6; oe6sE: $this->verificationLastChecked = (int) $fL9OM["lastChecked"]; goto m2SZp; m2SZp: $this->verificationDidFail = (bool) $fL9OM["didFail"]; goto q43Vr; EvGF6: $fL9OM = $this->db->query("SELECT `license`, `localkey`, `lastChecked`, `didFail` FROM `xplugin_ecomdata_lscache5_license`", ReturnType::SINGLE_ASSOC_ARRAY); goto lljEy; cCrt9: $this->verificationLicense = $fL9OM["license"]; goto WZOiX; D0nC5: goto m0F_O; goto Jz1zN; Jz1zN: nQ8g3: goto cCrt9; q43Vr: m0F_O: goto NXUWK; WZOiX: $this->verificationLocalkey = $fL9OM["localkey"]; goto oe6sE; lljEy: if (!is_null($fL9OM)) { goto nQ8g3; } goto M53KY; M53KY: $this->db->query("INSERT INTO `xplugin_ecomdata_lscache5_license` (`license`, `localkey`, `lastChecked`, `didFail`) VALUES ("", "", 0, 0)"); goto D0nC5; NXUWK: } private function verifyLicense() : void { goto X64_k; ZnN1t: $this->licenseIsValid = false; goto QwzXf; bTuAl: if (!$this->isLocalkeyValid()) { goto Xok0Q; } goto Dkuy8; I8VSx: $this->licenseIsValid = true; goto zyTnQ; Z4ll8: Y7BNc: goto MF3Bh; DRzG1: $UsjLX = $this->getNewLocalKey(); goto d7GK3; gHSq5: if (!($this->license !== $this->verificationLicense)) { goto Jf67i; } goto kShbP; X64_k: $this->devLogWrite("verifyLicense - Start"); goto ZsExh; ZsExh: if (!$this->isExecutedFromCLI()) { goto Y7BNc; } goto sw3ny; iS3Z3: TtEpl: goto iFM21; OKYDI: $this->licenseIsValid = false; goto VWZnO; Dkuy8: $this->licenseIsValid = true; goto j3jbV; qNTY2: Jf67i: goto FZfwR; FZfwR: if (!empty($this->license)) { goto TtEpl; } goto ZnN1t; sw3ny: $this->licenseIsValid = true; goto fTQcA; G3uik: goto MPDK6; goto gu26M; j3jbV: return; goto dG5iB; iFM21: if (!($this->verificationDidFail && time() - $this->verificationLastChecked < self::DAYS_TILL_RETRY_FAILED * 24 * 60 * 60)) { goto ijHkd; } goto OKYDI; fTQcA: return; goto Z4ll8; gu26M: NSdkE: goto I8VSx; dG5iB: Xok0Q: goto DRzG1; zfVr7: $this->devLogWrite("verifyLicense - After load"); goto gHSq5; zQMjc: ijHkd: goto bTuAl; k3pdg: MPDK6: goto s9no9; QwzXf: return; goto iS3Z3; d7GK3: if (!empty($UsjLX)) { goto NSdkE; } goto e0Jkm; tBgrD: $this->loadVerificationData(); goto zfVr7; kShbP: $this->setVerificationData($this->license, '', 0, false); goto qNTY2; zyTnQ: $this->setVerificationData($this->license, $UsjLX, time(), false); goto k3pdg; e0Jkm: $this->licenseIsValid = false; goto uszBF; VWZnO: return; goto zQMjc; MF3Bh: $this->loadLicenseData(); goto tBgrD; uszBF: $this->setVerificationData($this->license, $UsjLX, time(), true); goto G3uik; s9no9: } private function isLocalkeyValid() : bool { goto a1wQ4; eVqua: $hdOz8 = substr($lqNJU, strlen($lqNJU) - 32); goto J7H6J; BYPwy: $AsR0m = substr($lqNJU, 0, strlen($lqNJU) - 32); goto eVqua; OZnlC: DRsxV: goto pDouU; FqOT_: Eybic: goto O1mDn; GtIaI: $AsR0m = base64_decode($AsR0m); goto b00e1; jcrVz: $qUD4l = date("Ymd", mktime(0, 0, 0, (int) date("m"), (int) date("d") - self::DAYS_TILL_RETRY_VALID, (int) date("Y"))); goto i1IU8; O1mDn: $V_8PZ = str_replace("https://", '', str_replace("http://", '', URL_SHOP)); goto l8MGv; Py39a: $I2aAU = substr($AsR0m, 0, 32); goto z8nB4; evI31: if (!in_array($V_8PZ, $svPJr)) { goto DRsxV; } goto tvQMM; ekC9a: $AsR0m = strrev($AsR0m); goto Py39a; WoMQx: return false; goto QW0tw; Q3CD5: return false; goto IWVYd; bs0b2: VgBGs: goto ekC9a; J7H6J: if (!($hdOz8 !== md5($AsR0m . self::SECRET_KEY))) { goto VgBGs; } goto DwqGS; g3UK7: $svPJr = explode(",", $a2rTe["validdomain"]); goto evI31; l8MGv: $lqNJU = str_replace("
", '', $this->verificationLocalkey); goto BYPwy; z8nB4: $AsR0m = substr($AsR0m, 32); goto GtIaI; DwqGS: return false; goto bs0b2; LqZrl: return false; goto FqOT_; tvQMM: return true; goto OZnlC; b00e1: $a2rTe = json_decode($AsR0m, true); goto BhSrv; a1wQ4: if (!empty($this->verificationLocalkey)) { goto Eybic; } goto LqZrl; i1IU8: if (!($a2rTe["checkdate"] > $qUD4l)) { goto gopoj; } goto g3UK7; BhSrv: if (!($I2aAU !== md5($a2rTe["checkdate"] . self::SECRET_KEY))) { goto CS_Of; } goto WoMQx; QW0tw: CS_Of: goto jcrVz; pDouU: gopoj: goto Q3CD5; IWVYd: } private function getNewLocalKey() : string { goto qF1BW; qF1BW: $this->devLogWrite("getNewLocalKey - Start"); goto oBfM3; m6stN: if (!($hBO7p === 200)) { goto tiOL9; } goto NOY_p; tmS8E: $qr3w5 = @socket_get_status($e_oYd); goto lIwYJ; HsVl1: $TpLT2 .= "Content-type: application/x-www-form-urlencoded" . $m8iKr; goto PVDtg; Jjmya: $H2qyL = $_SERVER["SERVER_ADDR"] ?? $_SERVER["LOCAL_ADDR"]; goto bBsMf; NOY_p: preg_match_all("/<(.*?)>([^<]+)<\/>/i", $dMSqj, $lm7PG); goto Nf2II; R3aA_: tiOL9: goto bYCD_; hDl_t: $UsjLX = $UsjLX . md5($UsjLX . self::SECRET_KEY); goto FIjAD; HJh5M: curl_setopt($hGq47, CURLOPT_POST, 1); goto RHRUv; R1ZVz: $TpLT2 .= $Gdn0w; goto Y9S4E; wRK3V: RapOH: goto H8_3x; LItoj: goto j9H3N; goto F6yS2; F6yS2: HYJoI: goto v32vp; UCGIW: foreach ($QDE8d as $NMqoM => $wsGEG) { $Gdn0w .= $NMqoM . "=" . urlencode($wsGEG) . "&"; GNVcP: } goto iaDzx; F5VLj: $hBO7p = curl_getinfo($hGq47, CURLINFO_HTTP_CODE); goto Z0DYM; u37dd: $TpLT2 .= "Host: " . self::LICENSE_SERVER_URL . $m8iKr; goto HsVl1; Jb4e_: if (!(!$hBO7p && preg_match($C8MWl, trim($kztQg), $LZV8f))) { goto RapOH; } goto viXYb; jcCbq: @fclose($e_oYd); goto oyOMX; bYCD_: return ''; goto LnLkP; OIdE7: curl_setopt($hGq47, CURLOPT_RETURNTRANSFER, 1); goto tmxZ6; pKAvy: $C8MWl = "/^HTTP\/\d+\.\d+\s+(\d+)/"; goto cbkTU; Vw0Bc: $Gdn0w = ''; goto UCGIW; Z0DYM: curl_close($hGq47); goto ryOmb; teGW1: curl_setopt($hGq47, CURLOPT_URL, self::LICENSE_SERVER_URL . self::LICENSE_SERVER_PATH); goto HJh5M; vasUl: aocGQ: goto jcCbq; Nf2II: $kF7b8 = []; goto YA2f1; PVDtg: $TpLT2 .= "Content-length: " . @strlen($Gdn0w) . $m8iKr; goto tgdyj; wKX5G: Ve_6j: goto j5Yqg; VgN7Q: if (is_array($kF7b8)) { goto FpO1a; } goto USdLw; tmxZ6: $dMSqj = curl_exec($hGq47); goto F5VLj; VwJtA: if (!$e_oYd) { goto FHIh7; } goto pKAvy; RDNWB: E3sbA: goto VgN7Q; cbkTU: $m8iKr = "
"; goto P3xOg; oBfM3: $YaTY3 = time() . md5((string) mt_rand(100000000, mt_getrandmax())); goto Jjmya; nrKr6: curl_setopt($hGq47, CURLOPT_TIMEOUT, 10); goto OIdE7; thBta: return ''; goto mGH8D; H8_3x: $dMSqj .= $kztQg; goto tmS8E; FIjAD: $UsjLX = wordwrap($UsjLX, 80, "
", true); goto hl_WQ; htC_W: $e_oYd = @fsockopen(self::LICENSE_SERVER_URL, 80, $WT5wT, $NAd1x, 10); goto VwJtA; USdLw: return ''; goto h1HhZ; kcOZu: $QDE8d = ["licensekey" => $this->license, "domain" => $this->shopDomain, "ip" => $H2qyL, "dir" => $yoXD_, "check_token" => $YaTY3]; goto Vw0Bc; Gs1b7: mORYd: goto R3aA_; tgdyj: $TpLT2 .= "Connection: close" . $m8iKr . $m8iKr; goto R1ZVz; iaDzx: GW1UC: goto oyAvv; j5PQX: $UsjLX = strrev($UsjLX); goto hDl_t; lIwYJ: goto Ve_6j; goto vasUl; bBsMf: $yoXD_ = dirname(__FILE__); goto QOCqG; oyOMX: FHIh7: goto LItoj; ryOmb: j9H3N: goto m6stN; h1HhZ: FpO1a: goto N7giv; v32vp: $hGq47 = curl_init(); goto teGW1; iOIXP: $UsjLX = base64_encode($UsjLX); goto KvtE9; p_7EP: if (!($kF7b8["status"] === "Active")) { goto mORYd; } goto hlHBb; j5Yqg: if (!(!@feof($e_oYd) && $qr3w5)) { goto aocGQ; } goto jofSt; QOCqG: $hBO7p = 0; goto kcOZu; hlHBb: $kF7b8["checkdate"] = date("Ymd"); goto J1Px_; UjPfk: $qr3w5 = @socket_get_status($e_oYd); goto wKX5G; Y9S4E: $dMSqj = $kztQg = ''; goto U9V6Z; P3xOg: $TpLT2 = "POST " . self::LICENSE_SERVER_URL . self::LICENSE_SERVER_PATH . " HTTP/1.0" . $m8iKr; goto u37dd; KvtE9: $UsjLX = md5($kF7b8["checkdate"] . self::SECRET_KEY) . $UsjLX; goto j5PQX; GbWmE: $LZV8f = []; goto Jb4e_; J1Px_: $UsjLX = json_encode($kF7b8); goto iOIXP; viXYb: $hBO7p = empty($LZV8f[1]) ? 0 : $LZV8f[1]; goto wRK3V; N7giv: if (!($kF7b8["md5hash"] !== md5(self::SECRET_KEY . $YaTY3))) { goto qL3PW; } goto thBta; YA2f1: foreach ($lm7PG[1] as $NMqoM => $wsGEG) { $kF7b8[$wsGEG] = $lm7PG[2][$NMqoM]; OVRhO: } goto RDNWB; jofSt: $kztQg = @fgets($e_oYd, 1024); goto GbWmE; RHRUv: curl_setopt($hGq47, CURLOPT_POSTFIELDS, $Gdn0w); goto nrKr6; mGH8D: qL3PW: goto p_7EP; U9V6Z: @stream_set_timeout($e_oYd, 20); goto q32JR; q32JR: @fputs($e_oYd, $TpLT2); goto UjPfk; hl_WQ: return str_replace(" ", '', preg_replace("/\s+/", " ", $UsjLX)); goto Gs1b7; oyAvv: if (function_exists("curl_exec")) { goto HYJoI; } goto htC_W; LnLkP: } private function setVerificationData(string $o54kV, string $J7uWs, int $rar48, bool $K5DdY) : void { goto L9XID; L9XID: $this->verificationLicense = $o54kV; goto Qgi0i; XRu22: $this->verificationLastChecked = $rar48; goto Es1DW; Es1DW: $this->verificationDidFail = $K5DdY; goto K9iK4; K9iK4: $this->db->queryPrepared("UPDATE `xplugin_ecomdata_lscache5_license` SET `license` = :license, `localkey` = :localkey, `lastChecked` = :lastChecked, `didFail` = :didFail", [":license" => $o54kV, ":localkey" => $J7uWs, ":lastChecked" => $rar48, ":didFail" => (int) $K5DdY]); goto LB1tP; Qgi0i: $this->verificationLocalkey = $J7uWs; goto XRu22; LB1tP: } private function isDeveloperDebugActive() : bool { return defined("LSCACHE_DEV_DEBUG") && LSCACHE_DEV_DEBUG === 1; } private function devLogWrite(string $Yf5hX) : void { goto Q_U2c; rjss2: file_put_contents(PFAD_ROOT . "jtllogs" . DIRECTORY_SEPARATOR . "lscache_dev_debug.log", $Yf5hX . PHP_EOL, FILE_APPEND); goto AZnfa; AZnfa: Zsv6U: goto PYTLD; Q_U2c: if (!$this->isDeveloperDebugActive()) { goto Zsv6U; } goto rjss2; PYTLD: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
 declare (strict_types=1); namespace Plugin\ecomdata_lscache5; use JTL\Cache\JTLCacheInterface; use JTL\DB\DbInterface; use JTL\Helpers\Form; use JTL\Plugin\PluginInterface; use JTL\Shop; use JTL\Jtllog; use JTL\DB\ReturnType; class LSCacheLicense { private DbInterface $db; private PluginInterface $plugin; private string $license = ''; private string $verificationLicense = ''; private string $verificationLocalkey = ''; private int $verificationLastChecked = 0; private bool $verificationDidFail = false; private bool $licenseIsValid = false; private string $shopDomain; const DAYS_TILL_RETRY_FAILED = 1; const DAYS_TILL_RETRY_VALID = 7; const SECRET_KEY = "\154\x52\x6c\103\x6f\x77\65\172\x36\x4c\155\64\170\160\147\x6c"; const LICENSE_SERVER_URL = "\x68\x74\x74\x70\163\72\57\57\155\171\56\x65\143\x6f\155\x64\x61\164\x61\x2e\x64\145\x2f"; const LICENSE_SERVER_PATH = "\155\157\144\165\154\145\x73\x2f\163\145\x72\x76\x65\x72\163\x2f\154\151\143\x65\x6e\x73\x69\x6e\x67\57\x76\x65\x72\151\146\171\x2e\160\x68\x70"; public function __construct(PluginInterface $aJso6, DbInterface $SokTl) { goto EqYW1; EqYW1: $this->plugin = $aJso6; goto SKTL1; N4nx9: $this->verifyLicense(); goto ZORrq; E8w9N: $this->shopDomain = str_replace("\x68\x74\x74\160\x73\72\x2f\57", '', str_replace("\x68\x74\164\x70\x3a\x2f\x2f", '', URL_SHOP)); goto N4nx9; SKTL1: $this->db = $SokTl; goto E8w9N; ZORrq: } public function getLicense() : string { return $this->license; } public function isLicenseValid() : bool { return $this->licenseIsValid; } private function isExecutedFromCLI() : bool { goto V1D7V; V1D7V: if (!(http_response_code() === false)) { goto cEOp5; } goto oz6qC; QkDmp: cEOp5: goto HLaSA; oz6qC: return true; goto QkDmp; HLaSA: return false; goto OyRaJ; OyRaJ: } private function loadLicenseData() : void { $this->license = trim($this->plugin->getConfig()->getOption("\x65\x73\151\x5f\x6c\151\143\145\156\163\x65")->value); } private function loadVerificationData() : void { goto EvGF6; oe6sE: $this->verificationLastChecked = (int) $fL9OM["\x6c\x61\163\x74\103\150\145\x63\153\x65\x64"]; goto m2SZp; m2SZp: $this->verificationDidFail = (bool) $fL9OM["\144\x69\x64\106\141\x69\x6c"]; goto q43Vr; EvGF6: $fL9OM = $this->db->query("\123\x45\x4c\x45\103\124\40\x60\x6c\151\143\145\x6e\x73\145\140\x2c\40\140\x6c\x6f\143\141\x6c\x6b\x65\171\x60\54\40\140\x6c\141\163\x74\x43\150\x65\x63\153\145\x64\140\x2c\40\x60\144\151\144\x46\141\151\x6c\x60\x20\106\x52\117\115\x20\x60\170\x70\x6c\165\147\151\x6e\x5f\x65\143\x6f\155\144\141\164\x61\137\154\163\143\141\x63\150\x65\65\137\154\151\x63\145\156\163\x65\140", ReturnType::SINGLE_ASSOC_ARRAY); goto lljEy; cCrt9: $this->verificationLicense = $fL9OM["\154\151\x63\145\x6e\x73\x65"]; goto WZOiX; D0nC5: goto m0F_O; goto Jz1zN; Jz1zN: nQ8g3: goto cCrt9; q43Vr: m0F_O: goto NXUWK; WZOiX: $this->verificationLocalkey = $fL9OM["\x6c\x6f\143\141\x6c\153\145\x79"]; goto oe6sE; lljEy: if (!is_null($fL9OM)) { goto nQ8g3; } goto M53KY; M53KY: $this->db->query("\x49\x4e\123\x45\x52\124\40\111\116\x54\117\40\140\170\x70\154\165\x67\x69\156\x5f\x65\143\x6f\155\144\141\x74\141\137\154\x73\143\x61\143\x68\145\65\x5f\x6c\151\x63\145\156\x73\x65\x60\40\50\x60\154\x69\143\145\x6e\x73\145\140\54\40\140\154\x6f\x63\x61\x6c\x6b\145\x79\x60\54\x20\x60\154\x61\163\164\x43\150\145\x63\153\145\144\140\x2c\x20\140\x64\151\x64\x46\x61\x69\x6c\140\x29\x20\x56\101\114\x55\x45\x53\x20\x28\x22\x22\x2c\40\x22\x22\x2c\40\x30\x2c\40\x30\51"); goto D0nC5; NXUWK: } private function verifyLicense() : void { goto X64_k; ZnN1t: $this->licenseIsValid = false; goto QwzXf; bTuAl: if (!$this->isLocalkeyValid()) { goto Xok0Q; } goto Dkuy8; I8VSx: $this->licenseIsValid = true; goto zyTnQ; Z4ll8: Y7BNc: goto MF3Bh; DRzG1: $UsjLX = $this->getNewLocalKey(); goto d7GK3; gHSq5: if (!($this->license !== $this->verificationLicense)) { goto Jf67i; } goto kShbP; X64_k: $this->devLogWrite("\166\x65\162\x69\x66\x79\114\x69\143\145\x6e\x73\x65\40\55\40\x53\164\141\162\x74"); goto ZsExh; ZsExh: if (!$this->isExecutedFromCLI()) { goto Y7BNc; } goto sw3ny; iS3Z3: TtEpl: goto iFM21; OKYDI: $this->licenseIsValid = false; goto VWZnO; Dkuy8: $this->licenseIsValid = true; goto j3jbV; qNTY2: Jf67i: goto FZfwR; FZfwR: if (!empty($this->license)) { goto TtEpl; } goto ZnN1t; sw3ny: $this->licenseIsValid = true; goto fTQcA; G3uik: goto MPDK6; goto gu26M; j3jbV: return; goto dG5iB; iFM21: if (!($this->verificationDidFail && time() - $this->verificationLastChecked < self::DAYS_TILL_RETRY_FAILED * 24 * 60 * 60)) { goto ijHkd; } goto OKYDI; fTQcA: return; goto Z4ll8; gu26M: NSdkE: goto I8VSx; dG5iB: Xok0Q: goto DRzG1; zfVr7: $this->devLogWrite("\x76\145\x72\x69\146\171\114\x69\143\x65\x6e\x73\145\40\55\40\x41\146\x74\x65\162\x20\x6c\157\x61\x64"); goto gHSq5; zQMjc: ijHkd: goto bTuAl; k3pdg: MPDK6: goto s9no9; QwzXf: return; goto iS3Z3; d7GK3: if (!empty($UsjLX)) { goto NSdkE; } goto e0Jkm; tBgrD: $this->loadVerificationData(); goto zfVr7; kShbP: $this->setVerificationData($this->license, '', 0, false); goto qNTY2; zyTnQ: $this->setVerificationData($this->license, $UsjLX, time(), false); goto k3pdg; e0Jkm: $this->licenseIsValid = false; goto uszBF; VWZnO: return; goto zQMjc; MF3Bh: $this->loadLicenseData(); goto tBgrD; uszBF: $this->setVerificationData($this->license, $UsjLX, time(), true); goto G3uik; s9no9: } private function isLocalkeyValid() : bool { goto a1wQ4; eVqua: $hdOz8 = substr($lqNJU, strlen($lqNJU) - 32); goto J7H6J; BYPwy: $AsR0m = substr($lqNJU, 0, strlen($lqNJU) - 32); goto eVqua; OZnlC: DRsxV: goto pDouU; FqOT_: Eybic: goto O1mDn; GtIaI: $AsR0m = base64_decode($AsR0m); goto b00e1; jcrVz: $qUD4l = date("\131\155\144", mktime(0, 0, 0, (int) date("\155"), (int) date("\x64") - self::DAYS_TILL_RETRY_VALID, (int) date("\x59"))); goto i1IU8; O1mDn: $V_8PZ = str_replace("\150\x74\x74\x70\x73\x3a\57\x2f", '', str_replace("\150\164\x74\x70\72\x2f\x2f", '', URL_SHOP)); goto l8MGv; Py39a: $I2aAU = substr($AsR0m, 0, 32); goto z8nB4; evI31: if (!in_array($V_8PZ, $svPJr)) { goto DRsxV; } goto tvQMM; ekC9a: $AsR0m = strrev($AsR0m); goto Py39a; WoMQx: return false; goto QW0tw; Q3CD5: return false; goto IWVYd; bs0b2: VgBGs: goto ekC9a; J7H6J: if (!($hdOz8 !== md5($AsR0m . self::SECRET_KEY))) { goto VgBGs; } goto DwqGS; g3UK7: $svPJr = explode("\x2c", $a2rTe["\166\x61\x6c\x69\144\x64\157\155\x61\151\156"]); goto evI31; l8MGv: $lqNJU = str_replace("\12", '', $this->verificationLocalkey); goto BYPwy; z8nB4: $AsR0m = substr($AsR0m, 32); goto GtIaI; DwqGS: return false; goto bs0b2; LqZrl: return false; goto FqOT_; tvQMM: return true; goto OZnlC; b00e1: $a2rTe = json_decode($AsR0m, true); goto BhSrv; a1wQ4: if (!empty($this->verificationLocalkey)) { goto Eybic; } goto LqZrl; i1IU8: if (!($a2rTe["\143\150\145\x63\153\144\x61\164\145"] > $qUD4l)) { goto gopoj; } goto g3UK7; BhSrv: if (!($I2aAU !== md5($a2rTe["\143\150\x65\143\153\x64\141\164\145"] . self::SECRET_KEY))) { goto CS_Of; } goto WoMQx; QW0tw: CS_Of: goto jcrVz; pDouU: gopoj: goto Q3CD5; IWVYd: } private function getNewLocalKey() : string { goto qF1BW; qF1BW: $this->devLogWrite("\x67\x65\x74\116\x65\167\114\157\143\x61\154\113\145\171\40\55\40\123\164\x61\x72\164"); goto oBfM3; m6stN: if (!($hBO7p === 200)) { goto tiOL9; } goto NOY_p; tmS8E: $qr3w5 = @socket_get_status($e_oYd); goto lIwYJ; HsVl1: $TpLT2 .= "\x43\x6f\156\x74\x65\156\x74\55\x74\171\x70\x65\x3a\x20\141\x70\160\x6c\x69\x63\141\x74\151\x6f\156\x2f\x78\x2d\167\x77\x77\55\x66\157\162\x6d\55\x75\x72\x6c\145\156\x63\157\x64\145\x64" . $m8iKr; goto PVDtg; Jjmya: $H2qyL = $_SERVER["\123\x45\x52\126\x45\x52\137\101\104\104\x52"] ?? $_SERVER["\x4c\117\x43\101\114\137\x41\104\x44\x52"]; goto bBsMf; NOY_p: preg_match_all("\57\x3c\50\x2e\52\77\51\x3e\50\133\136\x3c\x5d\53\x29\74\x5c\x2f\134\61\76\x2f\151", $dMSqj, $lm7PG); goto Nf2II; R3aA_: tiOL9: goto bYCD_; hDl_t: $UsjLX = $UsjLX . md5($UsjLX . self::SECRET_KEY); goto FIjAD; HJh5M: curl_setopt($hGq47, CURLOPT_POST, 1); goto RHRUv; R1ZVz: $TpLT2 .= $Gdn0w; goto Y9S4E; wRK3V: RapOH: goto H8_3x; LItoj: goto j9H3N; goto F6yS2; F6yS2: HYJoI: goto v32vp; UCGIW: foreach ($QDE8d as $NMqoM => $wsGEG) { $Gdn0w .= $NMqoM . "\75" . urlencode($wsGEG) . "\46"; GNVcP: } goto iaDzx; F5VLj: $hBO7p = curl_getinfo($hGq47, CURLINFO_HTTP_CODE); goto Z0DYM; u37dd: $TpLT2 .= "\110\157\163\x74\72\x20" . self::LICENSE_SERVER_URL . $m8iKr; goto HsVl1; Jb4e_: if (!(!$hBO7p && preg_match($C8MWl, trim($kztQg), $LZV8f))) { goto RapOH; } goto viXYb; jcCbq: @fclose($e_oYd); goto oyOMX; bYCD_: return ''; goto LnLkP; OIdE7: curl_setopt($hGq47, CURLOPT_RETURNTRANSFER, 1); goto tmxZ6; pKAvy: $C8MWl = "\57\136\110\x54\x54\x50\x5c\x2f\x5c\x64\x2b\x5c\x2e\x5c\x64\53\x5c\163\x2b\50\x5c\x64\53\x29\x2f"; goto cbkTU; Vw0Bc: $Gdn0w = ''; goto UCGIW; Z0DYM: curl_close($hGq47); goto ryOmb; teGW1: curl_setopt($hGq47, CURLOPT_URL, self::LICENSE_SERVER_URL . self::LICENSE_SERVER_PATH); goto HJh5M; vasUl: aocGQ: goto jcCbq; Nf2II: $kF7b8 = []; goto YA2f1; PVDtg: $TpLT2 .= "\103\x6f\156\x74\145\156\x74\x2d\154\x65\x6e\x67\x74\x68\72\40" . @strlen($Gdn0w) . $m8iKr; goto tgdyj; wKX5G: Ve_6j: goto j5Yqg; VgN7Q: if (is_array($kF7b8)) { goto FpO1a; } goto USdLw; tmxZ6: $dMSqj = curl_exec($hGq47); goto F5VLj; VwJtA: if (!$e_oYd) { goto FHIh7; } goto pKAvy; RDNWB: E3sbA: goto VgN7Q; cbkTU: $m8iKr = "\15\12"; goto P3xOg; oBfM3: $YaTY3 = time() . md5((string) mt_rand(100000000, mt_getrandmax())); goto Jjmya; nrKr6: curl_setopt($hGq47, CURLOPT_TIMEOUT, 10); goto OIdE7; thBta: return ''; goto mGH8D; H8_3x: $dMSqj .= $kztQg; goto tmS8E; FIjAD: $UsjLX = wordwrap($UsjLX, 80, "\12", true); goto hl_WQ; htC_W: $e_oYd = @fsockopen(self::LICENSE_SERVER_URL, 80, $WT5wT, $NAd1x, 10); goto VwJtA; USdLw: return ''; goto h1HhZ; kcOZu: $QDE8d = ["\x6c\x69\x63\x65\x6e\163\145\153\x65\x79" => $this->license, "\x64\x6f\155\141\151\x6e" => $this->shopDomain, "\151\x70" => $H2qyL, "\x64\151\x72" => $yoXD_, "\x63\150\145\x63\153\x5f\x74\157\153\145\x6e" => $YaTY3]; goto Vw0Bc; Gs1b7: mORYd: goto R3aA_; tgdyj: $TpLT2 .= "\103\157\x6e\156\145\x63\164\x69\x6f\x6e\x3a\x20\143\154\x6f\163\x65" . $m8iKr . $m8iKr; goto R1ZVz; iaDzx: GW1UC: goto oyAvv; j5PQX: $UsjLX = strrev($UsjLX); goto hDl_t; lIwYJ: goto Ve_6j; goto vasUl; bBsMf: $yoXD_ = dirname(__FILE__); goto QOCqG; oyOMX: FHIh7: goto LItoj; ryOmb: j9H3N: goto m6stN; h1HhZ: FpO1a: goto N7giv; v32vp: $hGq47 = curl_init(); goto teGW1; iOIXP: $UsjLX = base64_encode($UsjLX); goto KvtE9; p_7EP: if (!($kF7b8["\x73\164\141\x74\165\163"] === "\x41\x63\164\151\x76\x65")) { goto mORYd; } goto hlHBb; j5Yqg: if (!(!@feof($e_oYd) && $qr3w5)) { goto aocGQ; } goto jofSt; QOCqG: $hBO7p = 0; goto kcOZu; hlHBb: $kF7b8["\143\150\x65\x63\x6b\x64\x61\164\x65"] = date("\131\x6d\144"); goto J1Px_; UjPfk: $qr3w5 = @socket_get_status($e_oYd); goto wKX5G; Y9S4E: $dMSqj = $kztQg = ''; goto U9V6Z; P3xOg: $TpLT2 = "\x50\x4f\123\x54\40" . self::LICENSE_SERVER_URL . self::LICENSE_SERVER_PATH . "\40\x48\124\124\x50\x2f\x31\x2e\x30" . $m8iKr; goto u37dd; KvtE9: $UsjLX = md5($kF7b8["\143\x68\145\143\x6b\x64\141\164\x65"] . self::SECRET_KEY) . $UsjLX; goto j5PQX; GbWmE: $LZV8f = []; goto Jb4e_; J1Px_: $UsjLX = json_encode($kF7b8); goto iOIXP; viXYb: $hBO7p = empty($LZV8f[1]) ? 0 : $LZV8f[1]; goto wRK3V; N7giv: if (!($kF7b8["\x6d\x64\x35\150\x61\163\150"] !== md5(self::SECRET_KEY . $YaTY3))) { goto qL3PW; } goto thBta; YA2f1: foreach ($lm7PG[1] as $NMqoM => $wsGEG) { $kF7b8[$wsGEG] = $lm7PG[2][$NMqoM]; OVRhO: } goto RDNWB; jofSt: $kztQg = @fgets($e_oYd, 1024); goto GbWmE; RHRUv: curl_setopt($hGq47, CURLOPT_POSTFIELDS, $Gdn0w); goto nrKr6; mGH8D: qL3PW: goto p_7EP; U9V6Z: @stream_set_timeout($e_oYd, 20); goto q32JR; q32JR: @fputs($e_oYd, $TpLT2); goto UjPfk; hl_WQ: return str_replace("\40", '', preg_replace("\57\134\x73\53\57", "\x20", $UsjLX)); goto Gs1b7; oyAvv: if (function_exists("\x63\165\162\154\137\145\x78\x65\143")) { goto HYJoI; } goto htC_W; LnLkP: } private function setVerificationData(string $o54kV, string $J7uWs, int $rar48, bool $K5DdY) : void { goto L9XID; L9XID: $this->verificationLicense = $o54kV; goto Qgi0i; XRu22: $this->verificationLastChecked = $rar48; goto Es1DW; Es1DW: $this->verificationDidFail = $K5DdY; goto K9iK4; K9iK4: $this->db->queryPrepared("\x55\x50\104\x41\x54\x45\x20\140\170\160\x6c\x75\x67\x69\156\x5f\x65\x63\157\x6d\x64\141\164\x61\x5f\x6c\x73\x63\x61\143\150\145\x35\137\154\151\143\x65\x6e\163\145\140\40\x53\105\124\x20\140\154\151\x63\145\x6e\x73\x65\x60\40\x3d\40\72\154\x69\143\145\x6e\163\x65\x2c\40\x60\x6c\157\x63\x61\154\153\145\171\x60\x20\x3d\x20\72\x6c\157\143\141\154\x6b\145\x79\x2c\x20\x60\154\x61\163\164\103\150\145\x63\153\145\x64\140\40\x3d\x20\x3a\x6c\x61\x73\x74\103\x68\145\x63\153\x65\x64\x2c\40\x60\x64\151\144\x46\141\x69\x6c\140\x20\75\40\72\144\151\x64\106\x61\x69\x6c", ["\x3a\x6c\x69\x63\145\x6e\x73\145" => $o54kV, "\72\154\x6f\x63\x61\154\x6b\145\171" => $J7uWs, "\72\x6c\141\163\164\103\150\145\x63\x6b\145\144" => $rar48, "\72\144\151\144\x46\141\x69\x6c" => (int) $K5DdY]); goto LB1tP; Qgi0i: $this->verificationLocalkey = $J7uWs; goto XRu22; LB1tP: } private function isDeveloperDebugActive() : bool { return defined("\x4c\123\x43\x41\103\x48\105\137\104\105\x56\137\x44\105\102\x55\x47") && LSCACHE_DEV_DEBUG === 1; } private function devLogWrite(string $Yf5hX) : void { goto Q_U2c; rjss2: file_put_contents(PFAD_ROOT . "\x6a\x74\154\x6c\x6f\147\x73" . DIRECTORY_SEPARATOR . "\x6c\163\143\141\x63\x68\x65\x5f\x64\x65\166\137\x64\145\x62\x75\147\x2e\154\x6f\x67", $Yf5hX . PHP_EOL, FILE_APPEND); goto AZnfa; AZnfa: Zsv6U: goto PYTLD; Q_U2c: if (!$this->isDeveloperDebugActive()) { goto Zsv6U; } goto rjss2; PYTLD: } }

Function Calls

None

Variables

None

Stats

MD5 2488a8efe15f86f186bd2c888cc9af32
Eval Count 0
Decode Time 42 ms