Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
public function activate($licenseKey = '') { goto oDLZu; cg3KQ: $CI->curl->ssl(false); go..
Decoded Output download
<? public function activate($licenseKey = '') { goto oDLZu; cg3KQ: $CI->curl->ssl(false); goto SV1AT; F3FHd: if (empty($result)) { goto QdWVu; } goto kswtE; kswtE: try { goto Gnyeo; E5tP5: if ($result[0] == 1 && !empty($result[2])) { goto WbHap; } goto ogPbs; ojs6W: return false; goto e220U; MN0tl: return $result[2]["actKey"]; goto Z10qr; DZdht: goto a0SBy; goto S6xb_; S6xb_: WbHap: goto zTNoG; IS8WY: a0SBy: goto ISf8T; jy1Ql: $this->message = "Activation Error : " . $result[1]; goto ojs6W; ogPbs: if (empty($result[1])) { goto ITqkM; } goto jy1Ql; zTNoG: if (empty($result[2]["actKey"])) { goto u3K95; } goto MN0tl; Gnyeo: $result = json_decode($result, true); goto E5tP5; Z10qr: u3K95: goto IS8WY; e220U: ITqkM: goto DZdht; ISf8T: } catch (Exception $ex) { $this->message = "Activation Error : " . $ex->getMessage(); return false; } goto rJOiR; oDLZu: $licData = $this->isValidLicenseKey($licenseKey); goto BXoF3; J0m0u: $this->curl->proxy(OB_PROXY_HOST, OB_PROXY_PORT); goto WrlLP; am9z3: $this->curl->proxy_login(OB_PROXY_USER, OB_PROXY_PASS); goto f1G81; tJ8nf: $curl_url = $this->actUrl . "/index.php/home/activate/1"; goto L3Jiy; emaGx: $this->reqKey = $reqKey; goto rTX1k; WrlLP: if (!(defined("OB_PROXY_USER") && defined("OB_PROXY_PASS"))) { goto HoW8Y; } goto am9z3; f1G81: HoW8Y: goto pKRO9; uan36: $CI->load->library("curl"); goto JU8HE; SV1AT: $result = $CI->curl->simple_post($curl_url, $postData, array(CURLOPT_BUFFERSIZE => 10, CURLOPT_FOLLOWLOCATION => true, CURLOPT_POSTREDIR => 7)); goto F3FHd; rTX1k: $postData = array("licKey" => $licenseKey, "reqKey" => $reqKey); goto tJ8nf; L3Jiy: $CI =& get_instance(); goto uan36; Zu05r: lSSfB: goto uK7gG; BXoF3: if (!$licData["isTrial"]) { goto lSSfB; } goto Zu05r; GNaxy: return false; goto eEdrk; pKRO9: StGzP: goto cg3KQ; rJOiR: QdWVu: goto GNaxy; uK7gG: $reqKey = $this->get_machine_info(); goto emaGx; JU8HE: if (!(defined("OB_PROXY") && OB_PROXY && OB_PROXY_HOST && OB_PROXY_PORT)) { goto StGzP; } goto J0m0u; eEdrk: } public function encId($inp = '', $isValidation = false) { goto nSuBZ; foE9n: $hashLen = 2; goto lwTO5; wMlfs: P2vsF: goto KE14Q; hzkWu: aRCdj: goto DQV6t; NNXt0: $rand = substr(str_shuffle("0123456789"), 0, $randLen); goto MReGI; fB4On: $txt = ''; goto jjpmn; a2lVN: $ret = $hash . $rand . $txt; goto CsBOv; CsBOv: if (!$isValidation) { goto aRCdj; } goto ZQAfV; G2S0x: MibFO: goto Hytph; ZQAfV: return $ret == $inp ? $txt : false; goto hzkWu; nSuBZ: $randLen = 3; goto foE9n; t7oBv: goto P2vsF; goto G2S0x; KE14Q: $hash = substr(crc32("Output" . $rand . $txt . "Books"), 0, $hashLen); goto a2lVN; jjpmn: if ($isValidation) { goto MibFO; } goto NNXt0; DQV6t: return $ret; goto duzgA; MReGI: $txt = $inp; goto t7oBv; lwTO5: $rand = ''; goto fB4On; Hytph: $rand = substr($inp, $hashLen, $randLen); goto hGVOs; hGVOs: $txt = substr($inp, $randLen + $hashLen); goto wMlfs; duzgA: } ?>
Did this file decode correctly?
Original Code
public function activate($licenseKey = '') { goto oDLZu; cg3KQ: $CI->curl->ssl(false); goto SV1AT; F3FHd: if (empty($result)) { goto QdWVu; } goto kswtE; kswtE: try { goto Gnyeo; E5tP5: if ($result[0] == 1 && !empty($result[2])) { goto WbHap; } goto ogPbs; ojs6W: return false; goto e220U; MN0tl: return $result[2]["\141\x63\164\x4b\x65\171"]; goto Z10qr; DZdht: goto a0SBy; goto S6xb_; S6xb_: WbHap: goto zTNoG; IS8WY: a0SBy: goto ISf8T; jy1Ql: $this->message = "\101\x63\x74\151\x76\141\164\151\x6f\x6e\40\105\x72\x72\x6f\162\40\72\x20" . $result[1]; goto ojs6W; ogPbs: if (empty($result[1])) { goto ITqkM; } goto jy1Ql; zTNoG: if (empty($result[2]["\141\143\164\113\x65\171"])) { goto u3K95; } goto MN0tl; Gnyeo: $result = json_decode($result, true); goto E5tP5; Z10qr: u3K95: goto IS8WY; e220U: ITqkM: goto DZdht; ISf8T: } catch (Exception $ex) { $this->message = "\x41\143\x74\x69\166\x61\x74\x69\x6f\x6e\40\x45\x72\x72\x6f\162\x20\x3a\x20" . $ex->getMessage(); return false; } goto rJOiR; oDLZu: $licData = $this->isValidLicenseKey($licenseKey); goto BXoF3; J0m0u: $this->curl->proxy(OB_PROXY_HOST, OB_PROXY_PORT); goto WrlLP; am9z3: $this->curl->proxy_login(OB_PROXY_USER, OB_PROXY_PASS); goto f1G81; tJ8nf: $curl_url = $this->actUrl . "\57\x69\156\144\x65\x78\56\x70\150\160\x2f\150\x6f\155\145\57\141\x63\x74\151\x76\x61\x74\145\57\61"; goto L3Jiy; emaGx: $this->reqKey = $reqKey; goto rTX1k; WrlLP: if (!(defined("\x4f\102\x5f\x50\122\x4f\x58\131\x5f\x55\123\x45\122") && defined("\117\x42\137\x50\x52\x4f\130\131\137\120\x41\x53\123"))) { goto HoW8Y; } goto am9z3; f1G81: HoW8Y: goto pKRO9; uan36: $CI->load->library("\x63\165\162\154"); goto JU8HE; SV1AT: $result = $CI->curl->simple_post($curl_url, $postData, array(CURLOPT_BUFFERSIZE => 10, CURLOPT_FOLLOWLOCATION => true, CURLOPT_POSTREDIR => 7)); goto F3FHd; rTX1k: $postData = array("\154\x69\143\113\145\171" => $licenseKey, "\x72\x65\161\x4b\145\171" => $reqKey); goto tJ8nf; L3Jiy: $CI =& get_instance(); goto uan36; Zu05r: lSSfB: goto uK7gG; BXoF3: if (!$licData["\151\x73\124\x72\151\x61\x6c"]) { goto lSSfB; } goto Zu05r; GNaxy: return false; goto eEdrk; pKRO9: StGzP: goto cg3KQ; rJOiR: QdWVu: goto GNaxy; uK7gG: $reqKey = $this->get_machine_info(); goto emaGx; JU8HE: if (!(defined("\117\102\x5f\x50\x52\x4f\130\131") && OB_PROXY && OB_PROXY_HOST && OB_PROXY_PORT)) { goto StGzP; } goto J0m0u; eEdrk: } public function encId($inp = '', $isValidation = false) { goto nSuBZ; foE9n: $hashLen = 2; goto lwTO5; wMlfs: P2vsF: goto KE14Q; hzkWu: aRCdj: goto DQV6t; NNXt0: $rand = substr(str_shuffle("\60\61\62\63\x34\x35\x36\67\70\71"), 0, $randLen); goto MReGI; fB4On: $txt = ''; goto jjpmn; a2lVN: $ret = $hash . $rand . $txt; goto CsBOv; CsBOv: if (!$isValidation) { goto aRCdj; } goto ZQAfV; G2S0x: MibFO: goto Hytph; ZQAfV: return $ret == $inp ? $txt : false; goto hzkWu; nSuBZ: $randLen = 3; goto foE9n; t7oBv: goto P2vsF; goto G2S0x; KE14Q: $hash = substr(crc32("\117\165\x74\x70\165\x74" . $rand . $txt . "\102\x6f\157\x6b\x73"), 0, $hashLen); goto a2lVN; jjpmn: if ($isValidation) { goto MibFO; } goto NNXt0; DQV6t: return $ret; goto duzgA; MReGI: $txt = $inp; goto t7oBv; lwTO5: $rand = ''; goto fB4On; Hytph: $rand = substr($inp, $hashLen, $randLen); goto hGVOs; hGVOs: $txt = substr($inp, $randLen + $hashLen); goto wMlfs; duzgA: }
Function Calls
None |
Stats
MD5 | af6c6547c133fd2e3d5f23bd67055a27 |
Eval Count | 0 |
Decode Time | 56 ms |