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 goto amzYT; zzus2: $dqgiT = isset($this->request->get["refresh"]) ? 1 : rand(1, 12) ..

Decoded Output download

<?php 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

<?php 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: ?>

Function Calls

None

Variables

None

Stats

MD5 8ea9132469772f899816422991717ae7
Eval Count 0
Decode Time 44 ms