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 /* Generated by OutputBooks Team */ goto eVqK6; ZY3fG: exit("\x4e\157\x20\x64\1..

Decoded Output download

<?php 
/* 
Generated by OutputBooks Team 
*/ 
 goto eVqK6; ZY3fG: exit("No direct script access allowed"); goto wuIDQ; wuIDQ: c4Iqo: goto bDaRB; eVqK6: if (defined("BASEPATH")) { goto c4Iqo; } goto ZY3fG; bDaRB: class Ob_license { public $message = ''; public $reqKey = ''; private $wrap = 0; public $actUrl = ''; function __construct() { goto WUO7n; oLW6J: goto AFbEk; goto t51_Y; t51_Y: BJUAz: goto VUvSC; WUO7n: if (defined("OB_ACTIVATION_URL")) { goto BJUAz; } goto cRlk6; VUvSC: $this->actUrl = OB_ACTIVATION_URL; goto hrzdc; hrzdc: AFbEk: goto vhOe0; cRlk6: $this->actUrl = "https://cp.outputbooks.com"; goto oLW6J; vhOe0: } private function __prefix__() { return "OB"; } private function __salt__() { return "IdN1a9P9h1S6e0R7u1S"; } private function __randLen__() { return 4; } private function __hashLen__() { return 20; } public function hash_ob_password($password = '', $hashed = '', $len = 56) { goto XXkQy; m3R3X: rfxxQ: goto bq94_; tW9Tj: return $hashed == $hash ? true : false; goto m3R3X; XXkQy: $hash = hash("sha512", $this->__salt__() . $password); goto qzC7J; qzC7J: $hash = substr($hash, 0, $len); goto EHrAu; bq94_: return $hash; goto BAQ7K; EHrAu: if (empty($hashed)) { goto rfxxQ; } goto tW9Tj; BAQ7K: } function getLicenseKey($uId, $data, $date = null, $licDuration = "28", $plan = "T") { goto HA4Pb; oJDOJ: $serial_key = wordwrap($serial_key, $this->wrap, "\xa", true); goto ek1bL; ek1bL: aJO2Q: goto AJ2ZB; HA4Pb: if ($date) { goto dH6o9; } goto LgJ9X; J5Dxt: $data = $this->_encrypt(json_encode($data), $enc_text); goto jbUAQ; wPKs7: $plan = strtoupper($plan); goto eK9AT; jbUAQ: $serial_key = $this->__prefix__() . "-" . $date . $licDuration . $plan . $uId . "-" . $rand . $hash . $data; goto VZ0Vq; VZ0Vq: if (!$this->wrap) { goto aJO2Q; } goto oJDOJ; Ztpgk: $date = date("ymd", $date); goto sv1UK; b6jb2: $enc_text = hash("sha512", $this->__salt__() . $plain_text); goto Y1W0o; LgJ9X: $date = time(); goto O_bUf; Y1W0o: $hash = substr($enc_text, 0, $this->__hashLen__()); goto J5Dxt; eK9AT: $plain_text = $date . $licDuration . $plan . $uId . $rand; goto b6jb2; O_bUf: dH6o9: goto Ztpgk; sv1UK: $rand = $this->randstr($this->__randLen__()); goto wPKs7; AJ2ZB: return $serial_key; goto tniiC; tniiC: } public function isValidLicenseKey($serial_key = '') { try { goto jbUlC; fiN3e: $data = $this->_decrypt($data, $enc_text); goto GNVOt; GNVOt: if (!($data === false)) { goto VnS00; } goto HLNsN; JcTes: $ret = array(); goto Jksf3; UUEf1: return $ret; goto gzZOC; acAyS: $orgHash = substr($serial_key[2], $this->__randLen__(), $this->__hashLen__()); goto lAiMU; pwiVq: $ret["licDuration"] = $matches[2]; goto N6u7a; pBPJb: O8YkJ: goto WwDpq; OBmog: goto ycu3_; goto KD5nq; YS9wp: $serial_key = explode("-", $serial_key); goto Yh9Y2; ar6kk: DBXdi: goto pBPJb; CWVAH: $hash = substr($enc_text, 0, $this->__hashLen__()); goto me298; KD5nq: AnRNq: goto fiN3e; me298: if ($hash == $orgHash) { goto AnRNq; } goto LBHCY; LBHCY: return false; goto OBmog; HLNsN: return false; goto XdLmW; XdLmW: VnS00: goto Z0drm; vZzYY: $matches; goto ggYWM; Yh9Y2: if (!($serial_key[0] == $this->__prefix__())) { goto O8YkJ; } goto Aq3XF; Jksf3: $ret["date"] = $matches[1]; goto pwiVq; gzZOC: ycu3_: goto ar6kk; lAiMU: $data = substr($serial_key[2], $this->__randLen__() + $this->__hashLen__()); goto dTllV; mSshv: $this->format_lic_data($ret); goto UUEf1; N6u7a: $ret["plan"] = $matches[3]; goto gD1vT; Z0drm: $ret["data"] = $data; goto mSshv; NksSN: $enc_text = hash("sha512", $this->__salt__() . $plain_text); goto CWVAH; gD1vT: $ret["uId"] = $matches[4]; goto g5C7j; dTllV: $plain_text = $ret["date"] . $ret["licDuration"] . $ret["plan"] . $ret["uId"] . $rand; goto NksSN; ggYWM: preg_match($pattern, $serial_key[1], $matches); goto u2j75; jbUlC: $serial_key = str_replace("\xa", '', $serial_key); goto YS9wp; g5C7j: $rand = substr($serial_key[2], 0, $this->__randLen__()); goto acAyS; Aq3XF: $pattern = "/(\d{0,6})(\d+)([T|t|D|d|F|f|P|p|S|s|E|e])(\d+)/"; goto vZzYY; u2j75: if (!($matches && count($matches) == 5)) { goto DBXdi; } goto JcTes; WwDpq: } catch (Exception $ex) { return false; } return false; } private function format_lic_data(&$licData = array()) { goto L8Zm5; BaC9l: $licData["isPro"] = $licData["plan"] == "P" || $licData["plan"] == "S" || $licData["plan"] == "E" ? true : false; goto b7bBN; WTHGE: if (empty($licData["data"]["mod"])) { goto vHLUe; } goto c1VXo; hP0VF: $licData["maxBranch"] = $licData["data"]["BL"]; goto JRfKP; vd9q0: $plans = array("T" => "Trial", "D" => "Demo", "F" => "Free", "P" => "Basic", "S" => "Standard", "E" => "Enterprise"); goto io6Zi; g3Xrh: $licData["customerLogin"] = false; goto l555y; pwZe8: $licData["isFree"] = $licData["plan"] == "F" ? true : false; goto BaC9l; B5foK: $licData["isTrial"] = $licData["plan"] == "T" ? true : false; goto RPox0; c1VXo: $licData["hasEcommerce"] = strpos($licData["data"]["mod"], "EC") > -1 ? true : false; goto cGz2n; WBLY2: if (empty($licData["data"]["BL"])) { goto f3a5c; } goto akr9U; m58iB: if (!$licData["isPro"]) { goto kvHzM; } goto WBLY2; RQp4Z: $date = date_parse_from_format("ymd", $licData["date"]); goto f5yP7; fkw30: $licData["expiredOnF"] = date("Y-m-d", $toDate); goto EbFR6; wz7DG: vHLUe: goto vd9q0; b7bBN: $licData["isStandard"] = $licData["plan"] == "S" ? true : false; goto EVWJs; zmS_1: if (empty($licData["data"]["U"])) { goto Uoovi; } goto IEUpC; Z7h3A: goto Q42SV; goto s6taE; Qlc7K: $licData["allowNewComp"] = false; goto m7LxN; qJEYW: $licData["dateF"] = date("Y-m-d", $date); goto o8iz8; XnNH0: $licData["hasProject"] = strpos($licData["data"]["mod"], "PJ") > -1 ? true : false; goto wz7DG; QhbLH: if ($licData["isStandard"] || $licData["isEnterprise"]) { goto PZTNZ; } goto m58iB; L8Zm5: if (empty($licData["data"])) { goto f2yQz; } goto itJYa; LCAJW: $licData["maxBranch"] = 0; goto NNuBS; ssat1: $licData["allowNewComp"] = true; goto LevMH; IMy49: $licData["hasSalesRep"] = false; goto zmS_1; Wvv44: $licData["hasProject"] = false; goto IMy49; l555y: $licData["maxBranch"] = 0; goto VLk4t; itJYa: $licData["data"] = json_decode($licData["data"], true); goto e7qS8; RQBfk: if (!$licData["isEnterprise"]) { goto Luk79; } goto Ocvfe; EVWJs: $licData["isEnterprise"] = $licData["plan"] == "E" ? true : false; goto Qlc7K; jzA6q: if (!(defined("IS_DEMO") && IS_DEMO === true)) { goto iOWmD; } goto ssat1; akr9U: $licData["allowBranch"] = true; goto hP0VF; RPox0: $licData["isDemo"] = $licData["plan"] == "D" ? true : false; goto pwZe8; VLk4t: $licData["maxUsers"] = 0; goto lCRcZ; WyI9O: $licData["maxBranch"] = empty($licData["data"]["BL"]) ? 20 : $licData["data"]["BL"]; goto HVKuP; EbFR6: $licData["isExpired"] = time() > $toDate ? true : false; goto B5foK; x1rIH: $licData["allowBranch"] = true; goto D4pkr; D4pkr: $licData["data"]["mod"] = "EC,RP,PJ"; goto zZNWH; WjRTt: $licData["customerLogin"] = true; goto ws452; GwvxV: iOWmD: goto BBCbi; ZMVHp: Uoovi: goto jzA6q; zZNWH: $licData["maxBranch"] = empty($licData["data"]["BL"]) ? 10 : $licData["data"]["BL"]; goto RQBfk; m7LxN: $licData["allowBranch"] = false; goto g3Xrh; io6Zi: $licData["planTxt"] = $plans[strtoupper($licData["plan"])]; goto xDLTn; ws452: $licData["data"]["mod"] = "EC,RP,PJ"; goto evc8m; XpV8A: $licData["allowBranch"] = true; goto WjRTt; Ocvfe: $licData["customerLogin"] = true; goto WyI9O; JRfKP: f3a5c: goto DHHO_; TmF9G: $licData["salRepLogin"] = true; goto x1rIH; LevMH: $licData["data"]["mod"] = "EC,RP,PJ"; goto GwvxV; IEUpC: $licData["maxUsers"] = $licData["data"]["U"]; goto ZMVHp; evc8m: $licData["isPro"] = $licData["isStandard"] = $licData["isEnterprise"] = true; goto skdbz; skdbz: ww6CY: goto QhbLH; lCRcZ: $licData["hasEcommerce"] = false; goto Wvv44; vIhs8: $licData["expiredOn"] = $toDate; goto fkw30; NNuBS: $licData["salRepLogin"] = true; goto XpV8A; cGz2n: $licData["hasSalesRep"] = strpos($licData["data"]["mod"], "RP") > -1 ? true : false; goto XnNH0; o8iz8: $toDate = strtotime("+" . $licData["licDuration"] . " days", $date); goto vIhs8; HVKuP: Luk79: goto LkXz0; e7qS8: f2yQz: goto RQp4Z; s6taE: PZTNZ: goto TmF9G; iompJ: $licData["dateStamp"] = $date; goto qJEYW; LkXz0: Q42SV: goto WTHGE; BBCbi: if (!(defined("IS_DEMO") && IS_DEMO === true || $licData["isDemo"] || $licData["isTrial"])) { goto ww6CY; } goto LCAJW; f5yP7: $date = strtotime($date["year"] . "-" . $date["month"] . "-" . $date["day"]); goto iompJ; DHHO_: kvHzM: goto Z7h3A; xDLTn: } public function get_uuid() { goto gilgV; iwZJf: NTx9o: goto FZcwh; gaX4Z: $result = array_filter($lines, function ($line) { return stripos($line, "ID:") !== false; }); goto GXgOI; E__BL: goto f71Bw; goto UWx6W; yroFt: $lines = explode("\xa", $output); goto gaX4Z; Y4BGj: $result = explode(":", $result); goto QtI2C; PT4vq: file_put_contents($temp, "select disk 0\xadetail disk"); goto uPUYH; wbm0d: if (empty($uuid)) { goto Wu10L; } goto bOBrz; XGz_p: if (!(!file_exists($temp) && !is_file($temp))) { goto yw5I8; } goto PT4vq; pBvwd: $result = php_uname(); goto iwZJf; AqEZt: eiIXA: goto PeosQ; wonEQ: lUd8v: goto MZ1i0; MZ1i0: return md5($result); goto dagds; PeosQ: if (!empty($result)) { goto EQbAc; } goto ggIy5; bOBrz: $result = base64_decode($uuid); goto o2OsA; ggIy5: $result = str_shuffle("0123456789abcdef0123456789abcdef"); goto eOdry; ebUBE: goto f3t0t; goto WNgfl; WNgfl: WajNq: goto W1Fl6; ZTV3O: f71Bw: goto QNOSD; FtWQw: $output = shell_exec("diskpart /s " . $temp); goto yroFt; AbC1c: file_put_contents($uuid, base64_encode($result)); goto E__BL; GXgOI: if (count($result) > 0) { goto WajNq; } goto yyr4a; UWx6W: ugQZX: goto FInbg; uPUYH: yw5I8: goto FtWQw; eOdry: EQbAc: goto FsJ9s; W1Fl6: $result = array_values($result); goto G3CZL; FInbg: if (!(function_exists("shell_exec") && is_callable("shell_exec"))) { goto eiIXA; } goto yk4QC; U2vVO: f3t0t: goto AqEZt; FsJ9s: file_put_contents($uuid, base64_encode($result)); goto ZTV3O; fKZRL: $uuid = file_get_contents($uuid); goto wbm0d; KE3A6: if (!(function_exists("shell_exec") && is_callable("shell_exec"))) { goto ADF57; } goto HzIEc; G3CZL: $result = array_shift($result); goto Y4BGj; o2OsA: Wu10L: goto wonEQ; yyr4a: $result = $output; goto ebUBE; rdkR7: if (!empty($result)) { goto sc591; } goto Pigp1; HzIEc: $result = shell_exec("blkid -o value -s UUID"); goto ly5Vq; ly5Vq: if (!(!empty($result) && stripos($result, "blkid") !== false)) { goto NTx9o; } goto pBvwd; OERMs: sc591: goto AbC1c; jfn3D: Md76E: goto fKZRL; QNOSD: goto lUd8v; goto jfn3D; Pigp1: $result = str_shuffle("0123456789abcdef0123456789abcdef"); goto OERMs; QtI2C: $result = trim(end($result)); goto U2vVO; h0TVb: if (is_file($uuid)) { goto Md76E; } goto Dvchl; FZcwh: ADF57: goto rdkR7; YVu0M: $uuid = FCPATH . "uuid.txt"; goto h0TVb; yk4QC: $temp = sys_get_temp_dir() . DIRECTORY_SEPARATOR . "diskpartscript.txt"; goto XGz_p; Dvchl: if (strtoupper(substr(PHP_OS, 0, 3)) === "WIN") { goto ugQZX; } goto KE3A6; gilgV: $result = ''; goto YVu0M; dagds: } private function __get_activation_key__($uId = '', $uuId = '') { goto FVUKT; Q15ie: $actKey = strtoupper($actKey); goto sSQFT; sSQFT: $actKey = str_split($actKey, 5); goto dHiGf; dHiGf: $actKey = implode("-", $actKey); goto u11Eg; yKY8O: $actKey = $this->hash_ob_password($actData, null, 25); goto Q15ie; FVUKT: $actData = "OB-ACTIVATION-" . $uId . "-" . $uuId; goto yKY8O; u11Eg: return $actKey; goto qtnuR; qtnuR: } public function get_activation_key($licenseKey, $uuid) { goto tkkzZ; AjEy5: $actKey = $this->__get_activation_key__($licData["uId"], $uuid); goto LhSAp; LhSAp: return $actKey; goto oGoqv; tkkzZ: $licData = $this->isValidLicenseKey($licenseKey); goto AjEy5; oGoqv: } public function is_activated($licenseKey, $activationKey, $uuid = '') { goto uVOlY; Yhg4b: CJdLt: goto Ttezu; uVOlY: $licData = $this->isValidLicenseKey($licenseKey); goto eZIcp; lWAqo: return $activationKey == $actKey; goto d4SJg; tdgQb: $uuid = $this->get_uuid(); goto Yhg4b; Ttezu: $actKey = $this->__get_activation_key__($licData["uId"], $uuid); goto lWAqo; eZIcp: if (!empty($uuid)) { goto CJdLt; } goto tdgQb; d4SJg: } public function get_machine_info() { goto MbtJD; eAlSi: $sysData["locip"] = getHostByName($sysData["host"]); goto Zm9wd; qAHo0: $sysData["uuid"] = $this->get_uuid(); goto la9wt; MbtJD: $sysData = array(); goto qAHo0; la9wt: $sysData["host"] = php_uname("n"); goto mG3XY; iGgYS: $encSysData = base64_encode($sysData); goto Ve9LE; Zm9wd: $sysData = json_encode($sysData); goto iGgYS; mG3XY: $sysData["uname"] = php_uname(); goto eAlSi; Ve9LE: return $encSysData; goto WV6dW; WV6dW: } public function decrypt_machine_info($encSysData = '') { goto dfbgK; dfbgK: $encSysData = base64_decode($encSysData); goto nMWpr; jvVz1: return $sysData; goto KrBPm; nMWpr: $sysData = json_decode($encSysData); goto jvVz1; KrBPm: } private function _post_data($url = '', $postData = array()) { goto mohC1; kyO0n: $context = stream_context_create($opts); goto dWtR_; pWQ23: $opts = array("http" => array("method" => "POST", "header" => "Content-type: application/x-www-form-urlencoded", "content" => $postData)); goto kyO0n; dWtR_: $result = file_get_contents($url, false, $context); goto BDpM4; mohC1: $postData = http_build_query($postData); goto pWQ23; BDpM4: return $result; goto Wkgxh; Wkgxh: } public function activate($licenseKey = '') { goto FCIOx; NmHJZ: $result = $CI->curl->simple_post($curl_url, $postData, array(CURLOPT_BUFFERSIZE => 10, CURLOPT_FOLLOWLOCATION => true, CURLOPT_POSTREDIR => 7)); goto RFYJd; HYQbm: $CI->load->library("curl"); goto c1Eyn; FCIOx: $licData = $this->isValidLicenseKey($licenseKey); goto ufbCu; x3wV_: uGDDz: goto JvDHv; ufbCu: if (!$licData["isTrial"]) { goto e09Fi; } goto XWfO3; RFYJd: if (empty($result)) { goto uGDDz; } goto CMlNC; F9c04: $reqKey = $this->get_machine_info(); goto YiZBz; YiZBz: $this->reqKey = $reqKey; goto TI8js; whE2q: $this->curl->proxy(OB_PROXY_HOST, OB_PROXY_PORT); goto zqgxM; JvDHv: return false; goto klfYR; hg79r: X3waO: goto aIFiz; KuxGn: $CI =& get_instance(); goto HYQbm; XWfO3: e09Fi: goto F9c04; TI8js: $postData = array("licKey" => $licenseKey, "reqKey" => $reqKey); goto AtfuE; zqgxM: if (!(defined("OB_PROXY_USER") && defined("OB_PROXY_PASS"))) { goto zzePt; } goto Ft4j_; c1Eyn: if (!(defined("OB_PROXY") && OB_PROXY && OB_PROXY_HOST && OB_PROXY_PORT)) { goto X3waO; } goto whE2q; aIFiz: $CI->curl->ssl(false); goto NmHJZ; Sjm7L: zzePt: goto hg79r; Ft4j_: $this->curl->proxy_login(OB_PROXY_USER, OB_PROXY_PASS); goto Sjm7L; CMlNC: try { goto Y31ZE; GmMyq: $this->message = "Activation Error : " . $result[1]; goto DAy2_; Y31ZE: $result = json_decode($result, true); goto bb10c; bb10c: if ($result[0] == 1 && !empty($result[2])) { goto C8U0M; } goto z3EGA; Qhkma: R2goB: goto T1HyZ; T1HyZ: z0nND: goto GUyxy; AAIdw: goto z0nND; goto PBTXz; rIyeC: if (empty($result[2]["actKey"])) { goto R2goB; } goto GaHCB; PBTXz: C8U0M: goto rIyeC; GaHCB: return $result[2]["actKey"]; goto Qhkma; JxwY3: Uc3mF: goto AAIdw; z3EGA: if (empty($result[1])) { goto Uc3mF; } goto GmMyq; DAy2_: return false; goto JxwY3; GUyxy: } catch (Exception $ex) { $this->message = "Activation Error : " . $ex->getMessage(); return false; } goto x3wV_; AtfuE: $curl_url = $this->actUrl . "/index.php/home/activate/1"; goto KuxGn; klfYR: } public function encId($inp = '', $isValidation = false) { goto zYhb4; JUSX9: return $ret == $inp ? $txt : false; goto ASGPe; BzvVZ: d6HPO: goto WgRRS; CSzQ0: $txt = ''; goto LuJnb; Y5spp: $hashLen = 2; goto oLPdc; zYhb4: $randLen = 3; goto Y5spp; JoCzz: goto IfYkV; goto BzvVZ; LuJnb: if ($isValidation) { goto d6HPO; } goto pvUA4; WgRRS: $rand = substr($inp, $hashLen, $randLen); goto isNku; BShQK: $txt = $inp; goto JoCzz; isNku: $txt = substr($inp, $randLen + $hashLen); goto HHfeM; ASGPe: yzz3t: goto XW1o4; HHfeM: IfYkV: goto cikH6; jNBHS: if (!$isValidation) { goto yzz3t; } goto JUSX9; AKAH0: $ret = $hash . $rand . $txt; goto jNBHS; cikH6: $hash = substr(crc32("Output" . $rand . $txt . "Books"), 0, $hashLen); goto AKAH0; XW1o4: return $ret; goto TcwSt; pvUA4: $rand = substr(str_shuffle("0123456789"), 0, $randLen); goto BShQK; oLPdc: $rand = ''; goto CSzQ0; TcwSt: } public function _encrypt($data, $key) { goto ksQ9x; TUT53: goto gVd_H; goto QrVBI; hGniL: return $res; goto ddHel; km5wk: $iLen = strlen($data); goto c08a_; QrVBI: f6DNR: goto mihjt; i5d9t: $c = ord(substr($data, $i)); goto z73mp; c08a_: gVd_H: goto Chama; CD8pQ: $res = hash("crc32", $res) . $res; goto hGniL; Lczwl: $i = 0; goto hjEEO; z73mp: $c += ord(substr($key, ($i + 1) % $keyLen)); goto nt0nf; eZpnC: WNfNw: goto dn3qo; ksQ9x: $res = ''; goto Lczwl; nt0nf: $res .= chr($c & 0xff); goto eZpnC; dn3qo: $i++; goto TUT53; hjEEO: $keyLen = strlen($key); goto km5wk; Chama: if (!($i < $iLen)) { goto f6DNR; } goto i5d9t; mihjt: $res = base64_encode($res); goto CD8pQ; ddHel: } public function _decrypt($data, $key) { goto K2pzG; uZLAK: return $res; goto zF3PY; spfRT: $res .= chr(abs($c) & 0xff); goto pdayr; K2pzG: $crc32 = substr($data, 0, 8); goto H3R0r; gTXxa: $i++; goto UfIz4; iPx7S: $i = 0; goto CihsJ; U2hSS: I7Mm0: goto uZLAK; vzJ2l: wv_Es: goto eViM_; IZiux: $iLen = strlen($data); goto vzJ2l; iLgsP: if (!($crc32 != hash("crc32", $data))) { goto B3LVZ; } goto kDQC2; pdayr: HnRIS: goto gTXxa; eViM_: if (!($i < $iLen)) { goto I7Mm0; } goto jMtTf; hwuuq: B3LVZ: goto H2x9F; jMtTf: $c = ord(substr($data, $i)); goto PNBqf; CihsJ: $keyLen = strlen($key); goto IZiux; H2x9F: $data = base64_decode($data); goto VwH9W; H3R0r: $data = substr($data, 8); goto iLgsP; PNBqf: $c -= ord(substr($key, ($i + 1) % $keyLen)); goto spfRT; UfIz4: goto wv_Es; goto U2hSS; kDQC2: return false; goto hwuuq; VwH9W: $res = ''; goto iPx7S; zF3PY: } public function randstr($len = 8, $pool = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") { return substr(str_shuffle($pool), 0, $len); } private function log($content = '', $key = '') { file_put_contents(FCPATH . "lic_log.txt", print_R($key, true) . " : " . print_R($content, true), FILE_APPEND); } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*
Generated by OutputBooks Team
*/
 goto eVqK6; ZY3fG: exit("\x4e\157\x20\x64\151\162\x65\x63\164\x20\163\143\162\x69\x70\x74\40\141\143\143\145\x73\163\x20\x61\154\x6c\157\x77\145\144"); goto wuIDQ; wuIDQ: c4Iqo: goto bDaRB; eVqK6: if (defined("\x42\101\x53\105\x50\x41\124\110")) { goto c4Iqo; } goto ZY3fG; bDaRB: class Ob_license { public $message = ''; public $reqKey = ''; private $wrap = 0; public $actUrl = ''; function __construct() { goto WUO7n; oLW6J: goto AFbEk; goto t51_Y; t51_Y: BJUAz: goto VUvSC; WUO7n: if (defined("\117\x42\137\x41\103\124\x49\126\101\x54\x49\117\x4e\137\125\x52\x4c")) { goto BJUAz; } goto cRlk6; VUvSC: $this->actUrl = OB_ACTIVATION_URL; goto hrzdc; hrzdc: AFbEk: goto vhOe0; cRlk6: $this->actUrl = "\x68\x74\164\x70\163\72\57\x2f\143\x70\56\x6f\165\x74\x70\165\x74\x62\157\x6f\153\163\x2e\143\x6f\155"; goto oLW6J; vhOe0: } private function __prefix__() { return "\117\x42"; } private function __salt__() { return "\x49\x64\x4e\x31\141\71\x50\71\150\x31\x53\x36\145\x30\x52\x37\x75\x31\123"; } private function __randLen__() { return 4; } private function __hashLen__() { return 20; } public function hash_ob_password($password = '', $hashed = '', $len = 56) { goto XXkQy; m3R3X: rfxxQ: goto bq94_; tW9Tj: return $hashed == $hash ? true : false; goto m3R3X; XXkQy: $hash = hash("\x73\x68\141\65\x31\x32", $this->__salt__() . $password); goto qzC7J; qzC7J: $hash = substr($hash, 0, $len); goto EHrAu; bq94_: return $hash; goto BAQ7K; EHrAu: if (empty($hashed)) { goto rfxxQ; } goto tW9Tj; BAQ7K: } function getLicenseKey($uId, $data, $date = null, $licDuration = "\x32\x38", $plan = "\x54") { goto HA4Pb; oJDOJ: $serial_key = wordwrap($serial_key, $this->wrap, "\xa", true); goto ek1bL; ek1bL: aJO2Q: goto AJ2ZB; HA4Pb: if ($date) { goto dH6o9; } goto LgJ9X; J5Dxt: $data = $this->_encrypt(json_encode($data), $enc_text); goto jbUAQ; wPKs7: $plan = strtoupper($plan); goto eK9AT; jbUAQ: $serial_key = $this->__prefix__() . "\x2d" . $date . $licDuration . $plan . $uId . "\x2d" . $rand . $hash . $data; goto VZ0Vq; VZ0Vq: if (!$this->wrap) { goto aJO2Q; } goto oJDOJ; Ztpgk: $date = date("\171\155\x64", $date); goto sv1UK; b6jb2: $enc_text = hash("\163\150\x61\x35\61\62", $this->__salt__() . $plain_text); goto Y1W0o; LgJ9X: $date = time(); goto O_bUf; Y1W0o: $hash = substr($enc_text, 0, $this->__hashLen__()); goto J5Dxt; eK9AT: $plain_text = $date . $licDuration . $plan . $uId . $rand; goto b6jb2; O_bUf: dH6o9: goto Ztpgk; sv1UK: $rand = $this->randstr($this->__randLen__()); goto wPKs7; AJ2ZB: return $serial_key; goto tniiC; tniiC: } public function isValidLicenseKey($serial_key = '') { try { goto jbUlC; fiN3e: $data = $this->_decrypt($data, $enc_text); goto GNVOt; GNVOt: if (!($data === false)) { goto VnS00; } goto HLNsN; JcTes: $ret = array(); goto Jksf3; UUEf1: return $ret; goto gzZOC; acAyS: $orgHash = substr($serial_key[2], $this->__randLen__(), $this->__hashLen__()); goto lAiMU; pwiVq: $ret["\154\x69\143\x44\x75\x72\x61\164\x69\x6f\156"] = $matches[2]; goto N6u7a; pBPJb: O8YkJ: goto WwDpq; OBmog: goto ycu3_; goto KD5nq; YS9wp: $serial_key = explode("\55", $serial_key); goto Yh9Y2; ar6kk: DBXdi: goto pBPJb; CWVAH: $hash = substr($enc_text, 0, $this->__hashLen__()); goto me298; KD5nq: AnRNq: goto fiN3e; me298: if ($hash == $orgHash) { goto AnRNq; } goto LBHCY; LBHCY: return false; goto OBmog; HLNsN: return false; goto XdLmW; XdLmW: VnS00: goto Z0drm; vZzYY: $matches; goto ggYWM; Yh9Y2: if (!($serial_key[0] == $this->__prefix__())) { goto O8YkJ; } goto Aq3XF; Jksf3: $ret["\x64\x61\164\145"] = $matches[1]; goto pwiVq; gzZOC: ycu3_: goto ar6kk; lAiMU: $data = substr($serial_key[2], $this->__randLen__() + $this->__hashLen__()); goto dTllV; mSshv: $this->format_lic_data($ret); goto UUEf1; N6u7a: $ret["\x70\154\141\156"] = $matches[3]; goto gD1vT; Z0drm: $ret["\144\141\164\x61"] = $data; goto mSshv; NksSN: $enc_text = hash("\x73\150\141\65\x31\62", $this->__salt__() . $plain_text); goto CWVAH; gD1vT: $ret["\x75\x49\x64"] = $matches[4]; goto g5C7j; dTllV: $plain_text = $ret["\x64\141\164\x65"] . $ret["\x6c\151\143\x44\165\162\x61\x74\x69\x6f\156"] . $ret["\x70\154\x61\x6e"] . $ret["\x75\111\x64"] . $rand; goto NksSN; ggYWM: preg_match($pattern, $serial_key[1], $matches); goto u2j75; jbUlC: $serial_key = str_replace("\xa", '', $serial_key); goto YS9wp; g5C7j: $rand = substr($serial_key[2], 0, $this->__randLen__()); goto acAyS; Aq3XF: $pattern = "\x2f\50\x5c\x64\173\x30\x2c\66\175\51\50\x5c\144\53\51\x28\133\x54\x7c\164\x7c\x44\174\x64\x7c\106\x7c\x66\174\x50\x7c\160\x7c\123\174\x73\174\x45\174\x65\x5d\51\x28\134\x64\53\x29\x2f"; goto vZzYY; u2j75: if (!($matches && count($matches) == 5)) { goto DBXdi; } goto JcTes; WwDpq: } catch (Exception $ex) { return false; } return false; } private function format_lic_data(&$licData = array()) { goto L8Zm5; BaC9l: $licData["\151\x73\x50\x72\157"] = $licData["\x70\154\x61\156"] == "\120" || $licData["\x70\x6c\x61\156"] == "\123" || $licData["\x70\x6c\x61\156"] == "\x45" ? true : false; goto b7bBN; WTHGE: if (empty($licData["\144\x61\x74\141"]["\155\x6f\x64"])) { goto vHLUe; } goto c1VXo; hP0VF: $licData["\155\x61\x78\102\162\x61\x6e\x63\x68"] = $licData["\x64\x61\x74\x61"]["\x42\114"]; goto JRfKP; vd9q0: $plans = array("\124" => "\x54\162\151\141\154", "\x44" => "\104\145\x6d\x6f", "\106" => "\106\x72\x65\145", "\120" => "\102\141\163\151\x63", "\123" => "\x53\x74\x61\156\144\x61\x72\x64", "\105" => "\105\x6e\x74\x65\162\x70\x72\x69\163\x65"); goto io6Zi; g3Xrh: $licData["\x63\x75\x73\164\x6f\155\145\x72\114\x6f\147\151\156"] = false; goto l555y; pwZe8: $licData["\x69\x73\106\x72\145\x65"] = $licData["\x70\154\141\x6e"] == "\106" ? true : false; goto BaC9l; B5foK: $licData["\151\163\x54\162\x69\x61\154"] = $licData["\160\x6c\x61\156"] == "\x54" ? true : false; goto RPox0; c1VXo: $licData["\x68\141\163\105\143\157\155\x6d\x65\x72\143\145"] = strpos($licData["\x64\141\164\141"]["\155\x6f\x64"], "\105\103") > -1 ? true : false; goto cGz2n; WBLY2: if (empty($licData["\144\x61\164\141"]["\x42\x4c"])) { goto f3a5c; } goto akr9U; m58iB: if (!$licData["\x69\x73\120\x72\157"]) { goto kvHzM; } goto WBLY2; RQp4Z: $date = date_parse_from_format("\171\155\x64", $licData["\x64\x61\x74\x65"]); goto f5yP7; fkw30: $licData["\145\x78\x70\x69\x72\x65\x64\117\x6e\106"] = date("\x59\55\x6d\x2d\x64", $toDate); goto EbFR6; wz7DG: vHLUe: goto vd9q0; b7bBN: $licData["\151\163\123\164\x61\156\144\x61\162\144"] = $licData["\x70\154\141\156"] == "\123" ? true : false; goto EVWJs; zmS_1: if (empty($licData["\144\x61\x74\141"]["\x55"])) { goto Uoovi; } goto IEUpC; Z7h3A: goto Q42SV; goto s6taE; Qlc7K: $licData["\x61\154\154\157\x77\116\145\x77\103\157\155\x70"] = false; goto m7LxN; qJEYW: $licData["\x64\141\x74\x65\x46"] = date("\x59\x2d\155\x2d\x64", $date); goto o8iz8; XnNH0: $licData["\x68\x61\x73\120\162\x6f\x6a\145\x63\164"] = strpos($licData["\144\x61\164\141"]["\155\x6f\x64"], "\120\x4a") > -1 ? true : false; goto wz7DG; QhbLH: if ($licData["\x69\x73\x53\164\141\156\x64\141\x72\x64"] || $licData["\x69\x73\105\x6e\x74\x65\162\x70\x72\151\x73\145"]) { goto PZTNZ; } goto m58iB; L8Zm5: if (empty($licData["\144\x61\x74\141"])) { goto f2yQz; } goto itJYa; LCAJW: $licData["\155\141\x78\x42\162\x61\x6e\143\x68"] = 0; goto NNuBS; ssat1: $licData["\x61\154\154\x6f\x77\116\x65\167\x43\157\x6d\160"] = true; goto LevMH; IMy49: $licData["\150\141\x73\x53\141\x6c\145\x73\122\145\x70"] = false; goto zmS_1; Wvv44: $licData["\x68\141\x73\120\162\157\x6a\145\143\164"] = false; goto IMy49; l555y: $licData["\155\141\170\102\162\x61\x6e\143\x68"] = 0; goto VLk4t; itJYa: $licData["\x64\141\164\x61"] = json_decode($licData["\x64\141\164\x61"], true); goto e7qS8; RQBfk: if (!$licData["\151\x73\x45\x6e\x74\145\162\160\x72\151\x73\x65"]) { goto Luk79; } goto Ocvfe; EVWJs: $licData["\x69\163\105\x6e\x74\145\162\160\162\151\x73\x65"] = $licData["\x70\154\x61\x6e"] == "\x45" ? true : false; goto Qlc7K; jzA6q: if (!(defined("\x49\123\x5f\x44\105\115\117") && IS_DEMO === true)) { goto iOWmD; } goto ssat1; akr9U: $licData["\141\x6c\x6c\157\167\102\162\x61\x6e\143\150"] = true; goto hP0VF; RPox0: $licData["\x69\163\104\x65\155\x6f"] = $licData["\160\154\x61\x6e"] == "\x44" ? true : false; goto pwZe8; VLk4t: $licData["\x6d\141\170\125\x73\x65\x72\163"] = 0; goto lCRcZ; WyI9O: $licData["\x6d\x61\x78\102\x72\141\x6e\x63\150"] = empty($licData["\144\x61\x74\x61"]["\102\x4c"]) ? 20 : $licData["\x64\x61\x74\141"]["\102\x4c"]; goto HVKuP; EbFR6: $licData["\151\x73\x45\x78\x70\151\162\x65\144"] = time() > $toDate ? true : false; goto B5foK; x1rIH: $licData["\141\x6c\154\157\167\x42\x72\141\x6e\143\x68"] = true; goto D4pkr; D4pkr: $licData["\x64\141\x74\x61"]["\155\157\x64"] = "\105\x43\54\122\x50\x2c\x50\112"; goto zZNWH; WjRTt: $licData["\143\165\163\164\157\x6d\145\x72\114\x6f\x67\x69\x6e"] = true; goto ws452; GwvxV: iOWmD: goto BBCbi; ZMVHp: Uoovi: goto jzA6q; zZNWH: $licData["\155\141\x78\x42\x72\141\156\143\x68"] = empty($licData["\144\x61\x74\x61"]["\x42\114"]) ? 10 : $licData["\144\x61\164\x61"]["\x42\114"]; goto RQBfk; m7LxN: $licData["\141\x6c\x6c\157\167\102\162\141\156\143\150"] = false; goto g3Xrh; io6Zi: $licData["\160\x6c\141\x6e\124\x78\x74"] = $plans[strtoupper($licData["\x70\154\x61\156"])]; goto xDLTn; ws452: $licData["\x64\x61\x74\141"]["\x6d\x6f\144"] = "\105\x43\54\x52\120\54\120\112"; goto evc8m; XpV8A: $licData["\141\x6c\x6c\157\x77\x42\162\141\156\143\150"] = true; goto WjRTt; Ocvfe: $licData["\143\165\x73\x74\157\x6d\x65\x72\114\157\x67\151\x6e"] = true; goto WyI9O; JRfKP: f3a5c: goto DHHO_; TmF9G: $licData["\x73\141\x6c\x52\145\160\x4c\157\x67\151\x6e"] = true; goto x1rIH; LevMH: $licData["\x64\x61\164\141"]["\155\x6f\x64"] = "\105\103\54\x52\120\54\120\112"; goto GwvxV; IEUpC: $licData["\155\x61\x78\125\163\x65\x72\x73"] = $licData["\144\x61\x74\x61"]["\125"]; goto ZMVHp; evc8m: $licData["\x69\163\x50\162\157"] = $licData["\151\163\x53\164\141\156\144\141\162\144"] = $licData["\x69\x73\x45\x6e\x74\145\162\160\x72\x69\163\x65"] = true; goto skdbz; skdbz: ww6CY: goto QhbLH; lCRcZ: $licData["\x68\141\163\105\143\157\x6d\x6d\x65\162\143\145"] = false; goto Wvv44; vIhs8: $licData["\145\x78\160\151\x72\x65\x64\117\x6e"] = $toDate; goto fkw30; NNuBS: $licData["\x73\x61\154\x52\145\160\114\157\x67\x69\x6e"] = true; goto XpV8A; cGz2n: $licData["\150\x61\163\x53\x61\x6c\x65\x73\122\x65\x70"] = strpos($licData["\x64\x61\164\141"]["\155\157\x64"], "\x52\120") > -1 ? true : false; goto XnNH0; o8iz8: $toDate = strtotime("\x2b" . $licData["\154\151\x63\x44\x75\x72\141\164\x69\157\x6e"] . "\40\144\141\171\x73", $date); goto vIhs8; HVKuP: Luk79: goto LkXz0; e7qS8: f2yQz: goto RQp4Z; s6taE: PZTNZ: goto TmF9G; iompJ: $licData["\144\x61\164\145\x53\164\x61\155\x70"] = $date; goto qJEYW; LkXz0: Q42SV: goto WTHGE; BBCbi: if (!(defined("\111\123\x5f\x44\105\x4d\117") && IS_DEMO === true || $licData["\x69\x73\x44\x65\155\x6f"] || $licData["\x69\163\124\162\x69\141\x6c"])) { goto ww6CY; } goto LCAJW; f5yP7: $date = strtotime($date["\171\x65\x61\x72"] . "\x2d" . $date["\155\157\156\x74\x68"] . "\x2d" . $date["\x64\x61\x79"]); goto iompJ; DHHO_: kvHzM: goto Z7h3A; xDLTn: } public function get_uuid() { goto gilgV; iwZJf: NTx9o: goto FZcwh; gaX4Z: $result = array_filter($lines, function ($line) { return stripos($line, "\111\x44\72") !== false; }); goto GXgOI; E__BL: goto f71Bw; goto UWx6W; yroFt: $lines = explode("\xa", $output); goto gaX4Z; Y4BGj: $result = explode("\x3a", $result); goto QtI2C; PT4vq: file_put_contents($temp, "\163\145\154\145\x63\x74\x20\144\x69\163\x6b\40\60\xa\x64\145\x74\x61\151\154\x20\x64\151\x73\x6b"); goto uPUYH; wbm0d: if (empty($uuid)) { goto Wu10L; } goto bOBrz; XGz_p: if (!(!file_exists($temp) && !is_file($temp))) { goto yw5I8; } goto PT4vq; pBvwd: $result = php_uname(); goto iwZJf; AqEZt: eiIXA: goto PeosQ; wonEQ: lUd8v: goto MZ1i0; MZ1i0: return md5($result); goto dagds; PeosQ: if (!empty($result)) { goto EQbAc; } goto ggIy5; bOBrz: $result = base64_decode($uuid); goto o2OsA; ggIy5: $result = str_shuffle("\60\61\x32\63\x34\x35\x36\67\70\x39\141\x62\x63\144\145\146\60\x31\62\x33\x34\x35\66\67\x38\71\141\x62\x63\x64\x65\x66"); goto eOdry; ebUBE: goto f3t0t; goto WNgfl; WNgfl: WajNq: goto W1Fl6; ZTV3O: f71Bw: goto QNOSD; FtWQw: $output = shell_exec("\144\x69\163\153\160\141\162\164\x20\57\x73\x20" . $temp); goto yroFt; AbC1c: file_put_contents($uuid, base64_encode($result)); goto E__BL; GXgOI: if (count($result) > 0) { goto WajNq; } goto yyr4a; UWx6W: ugQZX: goto FInbg; uPUYH: yw5I8: goto FtWQw; eOdry: EQbAc: goto FsJ9s; W1Fl6: $result = array_values($result); goto G3CZL; FInbg: if (!(function_exists("\x73\150\x65\154\x6c\137\145\x78\x65\143") && is_callable("\x73\x68\x65\x6c\154\137\145\x78\145\x63"))) { goto eiIXA; } goto yk4QC; U2vVO: f3t0t: goto AqEZt; FsJ9s: file_put_contents($uuid, base64_encode($result)); goto ZTV3O; fKZRL: $uuid = file_get_contents($uuid); goto wbm0d; KE3A6: if (!(function_exists("\163\150\x65\154\154\x5f\x65\170\145\x63") && is_callable("\163\x68\x65\154\154\x5f\145\170\145\143"))) { goto ADF57; } goto HzIEc; G3CZL: $result = array_shift($result); goto Y4BGj; o2OsA: Wu10L: goto wonEQ; yyr4a: $result = $output; goto ebUBE; rdkR7: if (!empty($result)) { goto sc591; } goto Pigp1; HzIEc: $result = shell_exec("\x62\x6c\153\151\144\x20\55\157\x20\166\x61\x6c\x75\145\x20\55\163\40\x55\125\111\x44"); goto ly5Vq; ly5Vq: if (!(!empty($result) && stripos($result, "\x62\154\x6b\x69\x64") !== false)) { goto NTx9o; } goto pBvwd; OERMs: sc591: goto AbC1c; jfn3D: Md76E: goto fKZRL; QNOSD: goto lUd8v; goto jfn3D; Pigp1: $result = str_shuffle("\60\61\x32\x33\x34\65\66\67\x38\71\x61\x62\143\144\x65\146\60\x31\62\63\x34\65\66\67\x38\71\x61\x62\143\x64\145\x66"); goto OERMs; QtI2C: $result = trim(end($result)); goto U2vVO; h0TVb: if (is_file($uuid)) { goto Md76E; } goto Dvchl; FZcwh: ADF57: goto rdkR7; YVu0M: $uuid = FCPATH . "\165\165\x69\x64\56\164\x78\164"; goto h0TVb; yk4QC: $temp = sys_get_temp_dir() . DIRECTORY_SEPARATOR . "\x64\151\x73\x6b\x70\141\x72\x74\x73\143\162\x69\160\164\56\x74\x78\164"; goto XGz_p; Dvchl: if (strtoupper(substr(PHP_OS, 0, 3)) === "\127\111\116") { goto ugQZX; } goto KE3A6; gilgV: $result = ''; goto YVu0M; dagds: } private function __get_activation_key__($uId = '', $uuId = '') { goto FVUKT; Q15ie: $actKey = strtoupper($actKey); goto sSQFT; sSQFT: $actKey = str_split($actKey, 5); goto dHiGf; dHiGf: $actKey = implode("\x2d", $actKey); goto u11Eg; yKY8O: $actKey = $this->hash_ob_password($actData, null, 25); goto Q15ie; FVUKT: $actData = "\117\102\55\101\x43\x54\111\126\x41\x54\x49\x4f\x4e\x2d" . $uId . "\x2d" . $uuId; goto yKY8O; u11Eg: return $actKey; goto qtnuR; qtnuR: } public function get_activation_key($licenseKey, $uuid) { goto tkkzZ; AjEy5: $actKey = $this->__get_activation_key__($licData["\x75\x49\144"], $uuid); goto LhSAp; LhSAp: return $actKey; goto oGoqv; tkkzZ: $licData = $this->isValidLicenseKey($licenseKey); goto AjEy5; oGoqv: } public function is_activated($licenseKey, $activationKey, $uuid = '') { goto uVOlY; Yhg4b: CJdLt: goto Ttezu; uVOlY: $licData = $this->isValidLicenseKey($licenseKey); goto eZIcp; lWAqo: return $activationKey == $actKey; goto d4SJg; tdgQb: $uuid = $this->get_uuid(); goto Yhg4b; Ttezu: $actKey = $this->__get_activation_key__($licData["\165\111\144"], $uuid); goto lWAqo; eZIcp: if (!empty($uuid)) { goto CJdLt; } goto tdgQb; d4SJg: } public function get_machine_info() { goto MbtJD; eAlSi: $sysData["\154\157\143\x69\x70"] = getHostByName($sysData["\x68\x6f\x73\164"]); goto Zm9wd; qAHo0: $sysData["\x75\165\x69\144"] = $this->get_uuid(); goto la9wt; MbtJD: $sysData = array(); goto qAHo0; la9wt: $sysData["\150\x6f\163\164"] = php_uname("\x6e"); goto mG3XY; iGgYS: $encSysData = base64_encode($sysData); goto Ve9LE; Zm9wd: $sysData = json_encode($sysData); goto iGgYS; mG3XY: $sysData["\x75\x6e\x61\155\x65"] = php_uname(); goto eAlSi; Ve9LE: return $encSysData; goto WV6dW; WV6dW: } public function decrypt_machine_info($encSysData = '') { goto dfbgK; dfbgK: $encSysData = base64_decode($encSysData); goto nMWpr; jvVz1: return $sysData; goto KrBPm; nMWpr: $sysData = json_decode($encSysData); goto jvVz1; KrBPm: } private function _post_data($url = '', $postData = array()) { goto mohC1; kyO0n: $context = stream_context_create($opts); goto dWtR_; pWQ23: $opts = array("\x68\164\164\x70" => array("\x6d\x65\164\150\x6f\144" => "\120\117\123\124", "\150\145\x61\x64\x65\x72" => "\103\x6f\x6e\x74\145\156\164\x2d\x74\171\160\145\x3a\40\x61\160\160\x6c\x69\143\141\164\151\157\x6e\57\x78\55\167\x77\x77\55\146\157\x72\155\55\165\162\154\x65\156\x63\157\x64\x65\x64", "\143\x6f\156\x74\x65\x6e\164" => $postData)); goto kyO0n; dWtR_: $result = file_get_contents($url, false, $context); goto BDpM4; mohC1: $postData = http_build_query($postData); goto pWQ23; BDpM4: return $result; goto Wkgxh; Wkgxh: } public function activate($licenseKey = '') { goto FCIOx; NmHJZ: $result = $CI->curl->simple_post($curl_url, $postData, array(CURLOPT_BUFFERSIZE => 10, CURLOPT_FOLLOWLOCATION => true, CURLOPT_POSTREDIR => 7)); goto RFYJd; HYQbm: $CI->load->library("\143\x75\x72\x6c"); goto c1Eyn; FCIOx: $licData = $this->isValidLicenseKey($licenseKey); goto ufbCu; x3wV_: uGDDz: goto JvDHv; ufbCu: if (!$licData["\151\163\124\x72\x69\x61\x6c"]) { goto e09Fi; } goto XWfO3; RFYJd: if (empty($result)) { goto uGDDz; } goto CMlNC; F9c04: $reqKey = $this->get_machine_info(); goto YiZBz; YiZBz: $this->reqKey = $reqKey; goto TI8js; whE2q: $this->curl->proxy(OB_PROXY_HOST, OB_PROXY_PORT); goto zqgxM; JvDHv: return false; goto klfYR; hg79r: X3waO: goto aIFiz; KuxGn: $CI =& get_instance(); goto HYQbm; XWfO3: e09Fi: goto F9c04; TI8js: $postData = array("\154\x69\143\113\145\171" => $licenseKey, "\162\x65\x71\113\x65\171" => $reqKey); goto AtfuE; zqgxM: if (!(defined("\x4f\102\x5f\120\122\x4f\130\131\137\x55\123\105\x52") && defined("\x4f\102\137\120\122\x4f\130\131\x5f\120\101\x53\123"))) { goto zzePt; } goto Ft4j_; c1Eyn: if (!(defined("\117\102\137\120\122\x4f\x58\131") && OB_PROXY && OB_PROXY_HOST && OB_PROXY_PORT)) { goto X3waO; } goto whE2q; aIFiz: $CI->curl->ssl(false); goto NmHJZ; Sjm7L: zzePt: goto hg79r; Ft4j_: $this->curl->proxy_login(OB_PROXY_USER, OB_PROXY_PASS); goto Sjm7L; CMlNC: try { goto Y31ZE; GmMyq: $this->message = "\101\143\164\x69\166\141\164\151\x6f\156\x20\105\x72\x72\x6f\x72\x20\x3a\40" . $result[1]; goto DAy2_; Y31ZE: $result = json_decode($result, true); goto bb10c; bb10c: if ($result[0] == 1 && !empty($result[2])) { goto C8U0M; } goto z3EGA; Qhkma: R2goB: goto T1HyZ; T1HyZ: z0nND: goto GUyxy; AAIdw: goto z0nND; goto PBTXz; rIyeC: if (empty($result[2]["\141\143\164\113\145\171"])) { goto R2goB; } goto GaHCB; PBTXz: C8U0M: goto rIyeC; GaHCB: return $result[2]["\141\x63\164\113\145\171"]; goto Qhkma; JxwY3: Uc3mF: goto AAIdw; z3EGA: if (empty($result[1])) { goto Uc3mF; } goto GmMyq; DAy2_: return false; goto JxwY3; GUyxy: } catch (Exception $ex) { $this->message = "\101\x63\x74\x69\166\141\164\x69\157\x6e\x20\105\162\x72\157\x72\40\72\x20" . $ex->getMessage(); return false; } goto x3wV_; AtfuE: $curl_url = $this->actUrl . "\x2f\x69\156\144\145\170\56\160\x68\160\x2f\150\157\155\x65\57\141\x63\x74\x69\x76\141\x74\x65\57\61"; goto KuxGn; klfYR: } public function encId($inp = '', $isValidation = false) { goto zYhb4; JUSX9: return $ret == $inp ? $txt : false; goto ASGPe; BzvVZ: d6HPO: goto WgRRS; CSzQ0: $txt = ''; goto LuJnb; Y5spp: $hashLen = 2; goto oLPdc; zYhb4: $randLen = 3; goto Y5spp; JoCzz: goto IfYkV; goto BzvVZ; LuJnb: if ($isValidation) { goto d6HPO; } goto pvUA4; WgRRS: $rand = substr($inp, $hashLen, $randLen); goto isNku; BShQK: $txt = $inp; goto JoCzz; isNku: $txt = substr($inp, $randLen + $hashLen); goto HHfeM; ASGPe: yzz3t: goto XW1o4; HHfeM: IfYkV: goto cikH6; jNBHS: if (!$isValidation) { goto yzz3t; } goto JUSX9; AKAH0: $ret = $hash . $rand . $txt; goto jNBHS; cikH6: $hash = substr(crc32("\x4f\165\164\x70\x75\x74" . $rand . $txt . "\102\157\157\153\163"), 0, $hashLen); goto AKAH0; XW1o4: return $ret; goto TcwSt; pvUA4: $rand = substr(str_shuffle("\x30\x31\62\x33\64\x35\x36\67\70\71"), 0, $randLen); goto BShQK; oLPdc: $rand = ''; goto CSzQ0; TcwSt: } public function _encrypt($data, $key) { goto ksQ9x; TUT53: goto gVd_H; goto QrVBI; hGniL: return $res; goto ddHel; km5wk: $iLen = strlen($data); goto c08a_; QrVBI: f6DNR: goto mihjt; i5d9t: $c = ord(substr($data, $i)); goto z73mp; c08a_: gVd_H: goto Chama; CD8pQ: $res = hash("\x63\x72\x63\x33\62", $res) . $res; goto hGniL; Lczwl: $i = 0; goto hjEEO; z73mp: $c += ord(substr($key, ($i + 1) % $keyLen)); goto nt0nf; eZpnC: WNfNw: goto dn3qo; ksQ9x: $res = ''; goto Lczwl; nt0nf: $res .= chr($c & 0xff); goto eZpnC; dn3qo: $i++; goto TUT53; hjEEO: $keyLen = strlen($key); goto km5wk; Chama: if (!($i < $iLen)) { goto f6DNR; } goto i5d9t; mihjt: $res = base64_encode($res); goto CD8pQ; ddHel: } public function _decrypt($data, $key) { goto K2pzG; uZLAK: return $res; goto zF3PY; spfRT: $res .= chr(abs($c) & 0xff); goto pdayr; K2pzG: $crc32 = substr($data, 0, 8); goto H3R0r; gTXxa: $i++; goto UfIz4; iPx7S: $i = 0; goto CihsJ; U2hSS: I7Mm0: goto uZLAK; vzJ2l: wv_Es: goto eViM_; IZiux: $iLen = strlen($data); goto vzJ2l; iLgsP: if (!($crc32 != hash("\143\162\x63\x33\x32", $data))) { goto B3LVZ; } goto kDQC2; pdayr: HnRIS: goto gTXxa; eViM_: if (!($i < $iLen)) { goto I7Mm0; } goto jMtTf; hwuuq: B3LVZ: goto H2x9F; jMtTf: $c = ord(substr($data, $i)); goto PNBqf; CihsJ: $keyLen = strlen($key); goto IZiux; H2x9F: $data = base64_decode($data); goto VwH9W; H3R0r: $data = substr($data, 8); goto iLgsP; PNBqf: $c -= ord(substr($key, ($i + 1) % $keyLen)); goto spfRT; UfIz4: goto wv_Es; goto U2hSS; kDQC2: return false; goto hwuuq; VwH9W: $res = ''; goto iPx7S; zF3PY: } public function randstr($len = 8, $pool = "\x30\x31\x32\x33\x34\65\66\x37\70\x39\141\x62\x63\144\145\x66\147\x68\x69\x6a\153\x6c\x6d\156\157\160\161\162\163\164\165\x76\167\170\171\x7a\x41\x42\x43\x44\105\106\107\x48\111\112\113\x4c\x4d\x4e\117\120\121\x52\123\x54\125\x56\127\x58\131\x5a") { return substr(str_shuffle($pool), 0, $len); } private function log($content = '', $key = '') { file_put_contents(FCPATH . "\x6c\151\143\x5f\154\157\x67\56\x74\170\x74", print_R($key, true) . "\40\x3a\40" . print_R($content, true), FILE_APPEND); } }

Function Calls

None

Variables

None

Stats

MD5 e931047d2a6b6a81981248ea10c6112a
Eval Count 0
Decode Time 85 ms