Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
goto amzYT; zzus2: $dqgiT = isset($this->request->get["\162\145\146\x72\x65\163\x68"]) ? 1..
Decoded Output download
<? goto amzYT; zzus2: $dqgiT = isset($this->request->get["refresh"]) ? 1 : rand(1, 12) == 2; goto NE22W; nam3v: goto dNs0A; goto QUuMK; amzYT: $heW_0 = $this->config->get(md5(HTTP_SERVER . self::MODULE)); goto ov09f; OTB3f: curl_setopt($UW8Dv, CURLOPT_POSTFIELDS, http_build_query(array("sn" => $this->request->post["lic_number"], "tw" => !empty($this->request->post["lic_test"]), "ip" => isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : '', "md" => self::MODULE, "ws" => HTTP_SERVER, "rf" => $dqgiT))); goto ngd1c; fY8Np: die; goto ER7cG; tcZD1: $this->response->setOutput($this->load->view("tool/gkd_license", $data)); goto SoZqA; a_2H4: curl_setopt($UW8Dv, CURLOPT_RETURNTRANSFER, 1); goto Yi0zh; quTZA: if (!(!$this->request->post["lic_number"] || strlen(trim($this->request->post["lic_number"])) != 17)) { goto wr2DF; } goto Md4rs; v0SSX: iifP3: goto L_2VD; ftPry: $this->children = array("common/header", "common/footer"); goto Vqyv9; ngd1c: $gf13p = curl_exec($UW8Dv); goto z8PBt; vcWWG: if (!($this->request->server["REQUEST_METHOD"] == "POST" && isset($this->request->post["lic_number"]))) { goto OXEQr; } goto quTZA; MEXbr: curl_setopt($UW8Dv, CURLOPT_URL, "https://geekodev.com/license.php"); goto P_2Uc; mQGpl: OXEQr: goto ZGFhQ; Md4rs: $data["error"] = "License number format is incorrect"; goto SNNei; ov09f: $dqgiT = false; goto s4KyC; SKjOI: $data["footer"] = $this->load->controller("common/footer"); goto qfhAu; pdzE7: $this->redirect($this->url->link(self::LINK, $this->token, "SSL")); goto kYJVk; WhSF0: LU1DX: goto zzus2; gXaRl: x8TXi: goto kPZ3_; Za_3W: o3DEX: goto v0SSX; A1WlP: curl_setopt($UW8Dv, CURLOPT_POST, 1); goto IjKgE; P_2Uc: curl_setopt($UW8Dv, CURLOPT_REFERER, "http://{$_SERVER["HTTP_HOST"]}{$_SERVER["REQUEST_URI"]}"); goto a_2H4; seGOZ: goto l26pw; goto yQN0Q; M1BpC: if (!(!$dqgiT || isset($this->request->get["refresh"]))) { goto o3DEX; } goto ls04v; qw63b: H8ELE: goto rJNmF; ViTIm: goto l26pw; goto Fr3Pg; dk9Gw: goto iifP3; goto Y3MAu; mzyV9: if (!empty($OztyT["success"])) { goto vC0ep; } goto rQNdK; ePMw8: yD9tb: goto Za_3W; viCOq: px2XI: goto vcWWG; mU2kL: if (version_compare(VERSION, "2", ">=")) { goto x8TXi; } goto UeI4N; nRWkU: $this->config->set("template_engine", "template"); goto tcZD1; L_2VD: C7QCl: goto mQGpl; D6jza: $this->model_setting_setting->deleteSetting(md5(HTTP_SERVER . self::MODULE)); goto Bv9wD; PXpmZ: if (version_compare(VERSION, "2", ">=")) { goto MYmBt; } goto pdzE7; Yi0zh: curl_setopt($UW8Dv, CURLOPT_SSL_VERIFYPEER, 0); goto A1WlP; kPZ3_: $data["header"] = $this->load->controller("common/header"); goto t1dP3; o3uxf: $this->load->model("setting/setting"); goto jue9A; CoGOR: $this->response->setOutput($this->load->view("tool/gkd_license.tpl", $data)); goto xQi1a; WcTue: if ($dqgiT) { goto aTBeX; } goto DYkSk; UeI4N: $data["column_left"] = ''; goto wrMcf; YKbcg: $this->response->redirect($this->url->link(self::LINK, $this->token, "SSL")); goto ePMw8; DYkSk: $data["error"] = "Error during activation process, please contact support"; goto bfPSb; pj5xI: $pelDf = 1; goto WhSF0; JBSvb: dNs0A: goto dk9Gw; Odfg7: DW5lS: goto SVpPw; rQNdK: if (isset($OztyT["error"])) { goto KOoNi; } goto WcTue; QUuMK: KOoNi: goto oukan; SoZqA: FGdDG: goto Odfg7; AvBYV: vPCIn: goto nRWkU; Udtu1: $this->request->post = array("lic_number" => $data["license_info"]["license"]); goto viCOq; ls04v: $this->session->data["success"] = $OztyT["success"]; goto PXpmZ; IjKgE: curl_setopt($UW8Dv, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"); goto AqWEh; oukan: $this->load->model("setting/setting"); goto D6jza; Vqyv9: $this->response->setOutput($this->render()); goto BTWhM; M40VN: if ($heW_0) { goto dA2Mu; } goto seGOZ; FfboD: if (!(empty($pelDf) || $dqgiT)) { goto Yk1fG; } goto j_427; yQN0Q: Z662D: goto p_Sz2; t1dP3: $data["column_left"] = $this->load->controller("common/column_left"); goto SKjOI; Bv9wD: $data["error"] = $OztyT["error"]; goto JBSvb; AwryC: if (!empty($data["error"])) { goto C7QCl; } goto WcJkz; kYJVk: goto yD9tb; goto ypVIr; Y3MAu: vC0ep: goto o3uxf; qfhAu: if (version_compare(VERSION, "3", ">=")) { goto vPCIn; } goto CoGOR; p_Sz2: $pelDf = 1; goto ViTIm; xQi1a: goto FGdDG; goto AvBYV; GMLAi: $this->request->server["REQUEST_METHOD"] = "GET"; goto M1BpC; ypVIr: MYmBt: goto YKbcg; plpR0: if (!(!empty($data["license_info"]["website"]) && strpos($_SERVER["HTTP_HOST"], $data["license_info"]["website"]) !== false)) { goto LU1DX; } goto pj5xI; rqSzS: if (is_file(DIR_TEMPLATE . "tool/gkd_license.tpl")) { goto ALslL; } goto fY8Np; QHZBc: $data["license_info"] = json_decode(base64_decode($heW_0), 1); goto plpR0; NE22W: l26pw: goto FfboD; SNNei: wr2DF: goto AwryC; bfPSb: aTBeX: goto nam3v; s4KyC: if (in_array($_SERVER["REMOTE_ADDR"], array("127.0.0.1", "::1", "192.168.0.1")) || !$this->user->hasPermission("modify", self::LINK)) { goto Z662D; } goto M40VN; GZ97_: $this->template = "tool/gkd_license.tpl"; goto ftPry; SVpPw: return 0; goto qw63b; Fr3Pg: dA2Mu: goto QHZBc; AqWEh: curl_setopt($UW8Dv, CURLOPT_BINARYTRANSFER, true); goto OTB3f; z8PBt: curl_close($UW8Dv); goto rsBCi; j_427: if (!$dqgiT) { goto px2XI; } goto bFKSN; WcJkz: $UW8Dv = curl_init(); goto MEXbr; ER7cG: ALslL: goto mU2kL; BTWhM: goto DW5lS; goto gXaRl; jue9A: $this->model_setting_setting->editSetting(md5(HTTP_SERVER . self::MODULE), array(md5(HTTP_SERVER . self::MODULE) => $OztyT["info"])); goto GMLAi; bFKSN: $this->request->server["REQUEST_METHOD"] = "POST"; goto Udtu1; ZGFhQ: if (!empty($OztyT["success"])) { goto H8ELE; } goto rqSzS; rsBCi: $OztyT = (array) @json_decode($gf13p); goto mzyV9; wrMcf: $this->data =& $data; goto GZ97_; rJNmF: Yk1fG: ?>
Did this file decode correctly?
Original Code
goto amzYT; zzus2: $dqgiT = isset($this->request->get["\162\145\146\x72\x65\163\x68"]) ? 1 : rand(1, 12) == 2; goto NE22W; nam3v: goto dNs0A; goto QUuMK; amzYT: $heW_0 = $this->config->get(md5(HTTP_SERVER . self::MODULE)); goto ov09f; OTB3f: curl_setopt($UW8Dv, CURLOPT_POSTFIELDS, http_build_query(array("\x73\x6e" => $this->request->post["\x6c\x69\x63\x5f\x6e\x75\x6d\142\145\162"], "\164\167" => !empty($this->request->post["\154\151\x63\137\x74\145\x73\x74"]), "\151\160" => isset($_SERVER["\x53\105\x52\126\x45\122\137\x41\x44\x44\122"]) ? $_SERVER["\x53\x45\122\126\x45\x52\x5f\101\x44\104\x52"] : '', "\155\144" => self::MODULE, "\x77\163" => HTTP_SERVER, "\162\x66" => $dqgiT))); goto ngd1c; fY8Np: die; goto ER7cG; tcZD1: $this->response->setOutput($this->load->view("\164\x6f\157\154\57\147\153\x64\x5f\154\x69\x63\145\x6e\163\x65", $data)); goto SoZqA; a_2H4: curl_setopt($UW8Dv, CURLOPT_RETURNTRANSFER, 1); goto Yi0zh; quTZA: if (!(!$this->request->post["\x6c\151\143\137\x6e\165\x6d\142\145\x72"] || strlen(trim($this->request->post["\154\151\x63\137\x6e\x75\x6d\142\x65\x72"])) != 17)) { goto wr2DF; } goto Md4rs; v0SSX: iifP3: goto L_2VD; ftPry: $this->children = array("\143\x6f\155\155\x6f\x6e\x2f\x68\145\141\144\x65\162", "\143\x6f\155\x6d\157\x6e\57\x66\157\x6f\164\145\x72"); goto Vqyv9; ngd1c: $gf13p = curl_exec($UW8Dv); goto z8PBt; vcWWG: if (!($this->request->server["\x52\105\x51\x55\105\123\124\x5f\115\105\124\x48\x4f\104"] == "\x50\117\x53\x54" && isset($this->request->post["\154\151\x63\137\156\165\155\x62\x65\x72"]))) { goto OXEQr; } goto quTZA; MEXbr: curl_setopt($UW8Dv, CURLOPT_URL, "\150\x74\164\160\x73\72\x2f\x2f\x67\x65\x65\153\x6f\x64\145\166\x2e\x63\x6f\x6d\57\x6c\x69\143\x65\x6e\x73\145\x2e\160\x68\x70"); goto P_2Uc; mQGpl: OXEQr: goto ZGFhQ; Md4rs: $data["\145\162\x72\x6f\162"] = "\x4c\151\143\145\156\163\145\40\156\x75\x6d\142\145\x72\40\x66\x6f\162\x6d\141\164\40\151\163\x20\151\x6e\x63\x6f\162\162\145\x63\x74"; goto SNNei; ov09f: $dqgiT = false; goto s4KyC; SKjOI: $data["\x66\x6f\157\x74\x65\162"] = $this->load->controller("\143\x6f\155\x6d\x6f\x6e\x2f\146\x6f\x6f\164\145\x72"); goto qfhAu; pdzE7: $this->redirect($this->url->link(self::LINK, $this->token, "\123\123\x4c")); goto kYJVk; WhSF0: LU1DX: goto zzus2; gXaRl: x8TXi: goto kPZ3_; Za_3W: o3DEX: goto v0SSX; A1WlP: curl_setopt($UW8Dv, CURLOPT_POST, 1); goto IjKgE; P_2Uc: curl_setopt($UW8Dv, CURLOPT_REFERER, "\150\x74\x74\160\72\x2f\57{$_SERVER["\110\x54\124\120\137\110\x4f\x53\x54"]}{$_SERVER["\x52\x45\x51\125\105\x53\124\x5f\x55\x52\x49"]}"); goto a_2H4; seGOZ: goto l26pw; goto yQN0Q; M1BpC: if (!(!$dqgiT || isset($this->request->get["\x72\x65\146\x72\145\x73\x68"]))) { goto o3DEX; } goto ls04v; qw63b: H8ELE: goto rJNmF; ViTIm: goto l26pw; goto Fr3Pg; dk9Gw: goto iifP3; goto Y3MAu; mzyV9: if (!empty($OztyT["\163\x75\x63\x63\145\x73\x73"])) { goto vC0ep; } goto rQNdK; ePMw8: yD9tb: goto Za_3W; viCOq: px2XI: goto vcWWG; mU2kL: if (version_compare(VERSION, "\x32", "\x3e\x3d")) { goto x8TXi; } goto UeI4N; nRWkU: $this->config->set("\164\145\x6d\x70\154\141\x74\145\x5f\145\156\x67\151\156\x65", "\164\x65\x6d\160\154\x61\164\x65"); goto tcZD1; L_2VD: C7QCl: goto mQGpl; D6jza: $this->model_setting_setting->deleteSetting(md5(HTTP_SERVER . self::MODULE)); goto Bv9wD; PXpmZ: if (version_compare(VERSION, "\62", "\x3e\x3d")) { goto MYmBt; } goto pdzE7; Yi0zh: curl_setopt($UW8Dv, CURLOPT_SSL_VERIFYPEER, 0); goto A1WlP; kPZ3_: $data["\x68\145\141\144\145\x72"] = $this->load->controller("\143\157\x6d\155\157\156\x2f\150\x65\x61\144\x65\162"); goto t1dP3; o3uxf: $this->load->model("\x73\x65\164\x74\151\156\147\x2f\163\x65\164\x74\x69\x6e\x67"); goto jue9A; CoGOR: $this->response->setOutput($this->load->view("\164\x6f\157\154\57\147\153\x64\x5f\154\151\x63\145\x6e\x73\x65\56\164\x70\154", $data)); goto xQi1a; WcTue: if ($dqgiT) { goto aTBeX; } goto DYkSk; UeI4N: $data["\143\157\x6c\x75\155\x6e\x5f\154\145\x66\164"] = ''; goto wrMcf; YKbcg: $this->response->redirect($this->url->link(self::LINK, $this->token, "\123\x53\x4c")); goto ePMw8; DYkSk: $data["\145\x72\162\x6f\162"] = "\105\x72\x72\157\162\x20\x64\x75\162\x69\x6e\147\x20\141\x63\x74\x69\166\141\164\151\x6f\x6e\x20\160\x72\157\143\145\163\x73\54\x20\x70\154\x65\x61\163\145\x20\x63\157\156\x74\x61\x63\x74\x20\163\x75\x70\160\x6f\x72\164"; goto bfPSb; pj5xI: $pelDf = 1; goto WhSF0; JBSvb: dNs0A: goto dk9Gw; Odfg7: DW5lS: goto SVpPw; rQNdK: if (isset($OztyT["\x65\x72\162\x6f\x72"])) { goto KOoNi; } goto WcTue; QUuMK: KOoNi: goto oukan; SoZqA: FGdDG: goto Odfg7; AvBYV: vPCIn: goto nRWkU; Udtu1: $this->request->post = array("\x6c\x69\143\137\x6e\x75\155\142\145\162" => $data["\x6c\151\x63\x65\156\163\145\x5f\x69\156\x66\x6f"]["\x6c\151\x63\145\156\x73\145"]); goto viCOq; ls04v: $this->session->data["\x73\165\x63\143\x65\x73\163"] = $OztyT["\163\x75\x63\x63\145\163\163"]; goto PXpmZ; IjKgE: curl_setopt($UW8Dv, CURLOPT_USERAGENT, "\115\157\x7a\151\x6c\154\141\x2f\65\56\x30\x20\50\x57\x69\156\144\x6f\x77\163\x20\x4e\124\x20\x31\60\56\60\73\x20\127\x4f\x57\x36\x34\x29\x20\101\160\160\x6c\x65\127\145\x62\x4b\151\164\x2f\x35\x33\x37\x2e\x33\x36\40\x28\113\x48\x54\115\x4c\x2c\x20\154\151\x6b\x65\x20\x47\x65\x63\153\x6f\x29\x20\103\x68\162\157\x6d\x65\x2f\x35\x31\56\x30\x2e\62\67\60\x34\x2e\x31\60\63\x20\123\x61\146\141\162\x69\57\x35\63\x37\x2e\x33\66"); goto AqWEh; oukan: $this->load->model("\163\145\164\164\151\156\x67\57\x73\x65\164\164\151\x6e\147"); goto D6jza; Vqyv9: $this->response->setOutput($this->render()); goto BTWhM; M40VN: if ($heW_0) { goto dA2Mu; } goto seGOZ; FfboD: if (!(empty($pelDf) || $dqgiT)) { goto Yk1fG; } goto j_427; yQN0Q: Z662D: goto p_Sz2; t1dP3: $data["\x63\x6f\x6c\165\x6d\x6e\137\154\145\146\164"] = $this->load->controller("\x63\157\x6d\x6d\x6f\156\57\x63\x6f\x6c\x75\x6d\156\137\x6c\x65\x66\164"); goto SKjOI; Bv9wD: $data["\x65\162\162\157\x72"] = $OztyT["\145\x72\162\x6f\x72"]; goto JBSvb; AwryC: if (!empty($data["\x65\162\x72\157\x72"])) { goto C7QCl; } goto WcJkz; kYJVk: goto yD9tb; goto ypVIr; Y3MAu: vC0ep: goto o3uxf; qfhAu: if (version_compare(VERSION, "\63", "\76\x3d")) { goto vPCIn; } goto CoGOR; p_Sz2: $pelDf = 1; goto ViTIm; xQi1a: goto FGdDG; goto AvBYV; GMLAi: $this->request->server["\122\x45\121\x55\105\123\124\x5f\115\105\124\x48\x4f\x44"] = "\x47\x45\124"; goto M1BpC; ypVIr: MYmBt: goto YKbcg; plpR0: if (!(!empty($data["\154\151\x63\145\x6e\x73\x65\x5f\151\x6e\x66\157"]["\x77\145\x62\163\151\164\x65"]) && strpos($_SERVER["\110\x54\124\x50\x5f\x48\117\123\124"], $data["\154\151\x63\145\x6e\163\x65\x5f\x69\x6e\146\157"]["\167\x65\142\163\151\164\x65"]) !== false)) { goto LU1DX; } goto pj5xI; rqSzS: if (is_file(DIR_TEMPLATE . "\x74\x6f\x6f\x6c\x2f\147\153\x64\137\154\x69\x63\x65\x6e\163\x65\56\x74\x70\154")) { goto ALslL; } goto fY8Np; QHZBc: $data["\x6c\x69\143\x65\156\x73\x65\137\151\x6e\146\x6f"] = json_decode(base64_decode($heW_0), 1); goto plpR0; NE22W: l26pw: goto FfboD; SNNei: wr2DF: goto AwryC; bfPSb: aTBeX: goto nam3v; s4KyC: if (in_array($_SERVER["\122\x45\115\117\124\105\x5f\x41\x44\x44\x52"], array("\61\x32\x37\x2e\x30\56\x30\x2e\x31", "\x3a\72\x31", "\x31\x39\x32\x2e\x31\x36\70\x2e\60\x2e\61")) || !$this->user->hasPermission("\x6d\157\x64\151\x66\171", self::LINK)) { goto Z662D; } goto M40VN; GZ97_: $this->template = "\164\157\157\x6c\x2f\147\153\144\137\x6c\151\x63\145\156\163\145\56\164\x70\154"; goto ftPry; SVpPw: return 0; goto qw63b; Fr3Pg: dA2Mu: goto QHZBc; AqWEh: curl_setopt($UW8Dv, CURLOPT_BINARYTRANSFER, true); goto OTB3f; z8PBt: curl_close($UW8Dv); goto rsBCi; j_427: if (!$dqgiT) { goto px2XI; } goto bFKSN; WcJkz: $UW8Dv = curl_init(); goto MEXbr; ER7cG: ALslL: goto mU2kL; BTWhM: goto DW5lS; goto gXaRl; jue9A: $this->model_setting_setting->editSetting(md5(HTTP_SERVER . self::MODULE), array(md5(HTTP_SERVER . self::MODULE) => $OztyT["\x69\156\146\157"])); goto GMLAi; bFKSN: $this->request->server["\x52\105\121\x55\x45\123\124\137\115\x45\124\110\117\x44"] = "\x50\x4f\x53\124"; goto Udtu1; ZGFhQ: if (!empty($OztyT["\x73\x75\143\x63\145\x73\163"])) { goto H8ELE; } goto rqSzS; rsBCi: $OztyT = (array) @json_decode($gf13p); goto mzyV9; wrMcf: $this->data =& $data; goto GZ97_; rJNmF: Yk1fG:
Function Calls
None |
Stats
MD5 | cd2c897f96ad234da2a09d64fb7edd66 |
Eval Count | 0 |
Decode Time | 71 ms |