defined("BASEPATH") or exit("No direct script access allowed"); class LicenseModel extends CI_Model { function __construct() { parent::__construct(); } function verify($F0fr2, $S5jzD) { goto j0r3Z; i7qiM: $sfi5R = curl_exec($NDl0_); goto c6T8p; mll7P: pBjIY: goto q2l2z; QBYt4: $a44PX = json_decode($sfi5R, true); goto Xukbz; GnRS1: if ($AO7Uy == 200) { goto y88OL; } goto QBYt4; j0r3Z: $GSuRF = $_SERVER["SERVER_ADDR"] ?? $_SERVER["LOCAL_ADDR"] ?? gethostbyname(gethostname()); goto Nw5rU; Nw5rU: $NDl0_ = curl_init(); goto J6XNw; tRxPz: curl_close($NDl0_); goto GnRS1; fQOlD: goto bDVzh; goto B3J1T; q2l2z: return array("status" => "error", "message" => $a44PX["message"]); goto x3mXV; B3J1T: y88OL: goto B_j90; YjsEl: return array("status" => "error", "message" => "Username and License Code are required."); goto U9IuB; Xukbz: if (isset($a44PX["message"])) { goto pBjIY; } goto YjsEl; x3mXV: MKeFw: goto fQOlD; J6XNw: curl_setopt_array($NDl0_, array(CURLOPT_URL => base64_decode("aHR0cHM6Ly9vbmVieXRlc29sdXRpbuY29tL2FwaS9kb29vL2F1dGg="), CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => http_build_query(array("username" => $F0fr2, "license" => $S5jzD, "version" => '', "domain" => base_url(), "ip" => $GSuRF)), CURLOPT_HTTPHEADER => array("X-Server-IP: " . $GSuRF))); goto i7qiM; c6T8p: $AO7Uy = curl_getinfo($NDl0_, CURLINFO_HTTP_CODE); goto tRxPz; U9IuB: goto MKeFw; goto mll7P; B_j90: return array("status" => "success", "data" => json_decode($sfi5R)); goto orGxW; orGxW: bDVzh: goto boqIK; boqIK: } function auth($F0fr2, $S5jzD) { goto r71HD; eWYNL: VGKuU: goto BNUWM; CuqPl: $this->db->set("license_user", ''); goto mTOgu; N69aW: $sfi5R = curl_exec($NDl0_); goto hCXRx; S1yaC: uKB8t: goto iQhd_; VaSLX: $this->db->where("id", 1); goto QU92M; CBCw0: $this->db->set("license_access_token", ''); goto teOK0; fpDkk: $ILr3g = $rw6r_->row(); goto azdXU; VJLJG: $NDl0_ = curl_init(); goto ROyyR; DlmsL: if ($AO7Uy == 200) { goto uKB8t; } goto CuqPl; iQhd_: $this->db->set("license_user", $F0fr2); goto bSruv; Vt3vL: hQdcd: goto Uzti4; k_oH0: return array("status" => "error", "message" => "Username and License Code are required."); goto hARLh; QU92M: $this->db->update("config"); goto UgHdC; lCFFL: return array("status" => "success", "message" => "License Code verified successfully!"); goto eWYNL; mTOgu: $this->db->set("license_code", ''); goto CBCw0; bSruv: $this->db->set("license_code", $S5jzD); goto YMALi; teOK0: $this->db->set("license_token_type", ''); goto VaSLX; Oklx3: curl_close($NDl0_); goto DlmsL; kTi7k: $this->db->where("id", 1); goto eThdk; OTFLM: goto VGKuU; goto S1yaC; SlF3d: if (isset($a44PX["message"])) { goto hQdcd; } goto k_oH0; azdXU: $GSuRF = $_SERVER["SERVER_ADDR"] ?? $_SERVER["LOCAL_ADDR"] ?? gethostbyname(gethostname()); goto VJLJG; uw8Wz: $this->db->set("license_token_type", json_decode($sfi5R)->token_type); goto kTi7k; Uzti4: return array("status" => "error", "message" => $a44PX["message"]); goto AAKY6; UgHdC: $a44PX = json_decode($sfi5R, true); goto SlF3d; YMALi: $this->db->set("license_access_token", json_decode($sfi5R)->access_token); goto uw8Wz; hCXRx: $AO7Uy = curl_getinfo($NDl0_, CURLINFO_HTTP_CODE); goto Oklx3; sSBGD: $rw6r_ = $this->db->get("config"); goto fpDkk; hARLh: goto MDzwW; goto Vt3vL; ROyyR: curl_setopt_array($NDl0_, array(CURLOPT_URL => base64_decode("aHR0cHM6Ly9vbmVieXRlc29sdXRpb24uY29tL2FwaS9kb29vL2F1dGg="), CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => http_build_query(array("username" => $F0fr2, "license" => $S5jzD, "version" => $ILr3g->Dashboard_Version, "domain" => base_url(), "ip" => $GSuRF)), CURLOPT_HTTPHEADER => array("X-Server-IP: " . $GSuRF))); goto N69aW; AAKY6: MDzwW: goto OTFLM; r71HD: $this->load->database(); goto sSBGD; eThdk: $this->db->update("config"); goto lCFFL; BNUWM: } function licence() { goto z4WzM; K3MdI: $rw6r_ = $this->db->get("config"); goto lWdCB; nt_fK: $NDl0_ = curl_init(); goto AYs0x; y1xaj: $sfi5R = curl_exec($NDl0_); goto wQyTr; hmP_h: K3A03: goto PdHTL; rZkfR: if ($AO7Uy == 200) { goto nvRlQ; } goto Q8k70; y2xDR: curl_close($NDl0_); goto rZkfR; LniFI: goto K3A03; goto HWh3n; wQyTr: $AO7Uy = curl_getinfo($NDl0_, CURLINFO_HTTP_CODE); goto y2xDR; gKNAP: $GSuRF = $_SERVER["SERVER_ADDR"] ?? $_SERVER["LOCAL_ADDR"] ?? gethostbyname(gethostname()); goto nt_fK; HWh3n: nvRlQ: goto GCdFB; lWdCB: $ILr3g = $rw6r_->row(); goto gKNAP; GCdFB: return array("status" => "success", "data" => json_decode($sfi5R)); goto hmP_h; Q8k70: return array("status" => "error", "message" => "Invalid License Code."); goto LniFI; AYs0x: curl_setopt_array($NDl0_, array(CURLOPT_URL => base64_decode("aHR0cHM6Ly9vbmVieXRlc29sdXRpb24uY29tL2FwaS9kb29vL2xpY2VuY2U="), CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_HTTPHEADER => array("Authorization: " . $ILr3g->license_token_type . " " . $ILr3g->license_access_token, "X-Server-IP: " . $GSuRF))); goto y1xaj; z4WzM: $this->load->database(); goto K3MdI; PdHTL: } }
defined("BASEPATH") or exit("No direct script access allowed"); class LicenseModel extends CI_Model { function __construct() { parent::__construct(); } function verify($F0fr2, $S5jzD) { goto j0r3Z; i7qiM: $sfi5R = curl_exec($NDl0_); goto c6T8p; mll7P: pBjIY: goto q2l2z; QBYt4: $a44PX = json_decode($sfi5R, true); goto Xukbz; GnRS1: if ($AO7Uy == 200) { goto y88OL; } goto QBYt4; j0r3Z: $GSuRF = $_SERVER["SERVER_ADDR"] ?? $_SERVER["LOCAL_ADDR"] ?? gethostbyname(gethostname()); goto Nw5rU; Nw5rU: $NDl0_ = curl_init(); goto J6XNw; tRxPz: curl_close($NDl0_); goto GnRS1; fQOlD: goto bDVzh; goto B3J1T; q2l2z: return array("status" => "error", "message" => $a44PX["message"]); goto x3mXV; B3J1T: y88OL: goto B_j90; YjsEl: return array("status" => "error", "message" => "Username and License Code are required."); goto U9IuB; Xukbz: if (isset($a44PX["message"])) { goto pBjIY; } goto YjsEl; x3mXV: MKeFw: goto fQOlD; J6XNw: curl_setopt_array($NDl0_, array(CURLOPT_URL => https://onebytesolutin6FWF CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => http_build_query(array("username" => $F0fr2, "license" => $S5jzD, "version" => '', "domain" => base_url(), "ip" => $GSuRF)), CURLOPT_HTTPHEADER => array("X-Server-IP: " . $GSuRF))); goto i7qiM; c6T8p: $AO7Uy = curl_getinfo($NDl0_, CURLINFO_HTTP_CODE); goto tRxPz; U9IuB: goto MKeFw; goto mll7P; B_j90: return array("status" => "success", "data" => json_decode($sfi5R)); goto orGxW; orGxW: bDVzh: goto boqIK; boqIK: } function auth($F0fr2, $S5jzD) { goto r71HD; eWYNL: VGKuU: goto BNUWM; CuqPl: $this->db->set("license_user", ''); goto mTOgu; N69aW: $sfi5R = curl_exec($NDl0_); goto hCXRx; S1yaC: uKB8t: goto iQhd_; VaSLX: $this->db->where("id", 1); goto QU92M; CBCw0: $this->db->set("license_access_token", ''); goto teOK0; fpDkk: $ILr3g = $rw6r_->row(); goto azdXU; VJLJG: $NDl0_ = curl_init(); goto ROyyR; DlmsL: if ($AO7Uy == 200) { goto uKB8t; } goto CuqPl; iQhd_: $this->db->set("license_user", $F0fr2); goto bSruv; Vt3vL: hQdcd: goto Uzti4; k_oH0: return array("status" => "error", "message" => "Username and License Code are required."); goto hARLh; QU92M: $this->db->update("config"); goto UgHdC; lCFFL: return array("status" => "success", "message" => "License Code verified successfully!"); goto eWYNL; mTOgu: $this->db->set("license_code", ''); goto CBCw0; bSruv: $this->db->set("license_code", $S5jzD); goto YMALi; teOK0: $this->db->set("license_token_type", ''); goto VaSLX; Oklx3: curl_close($NDl0_); goto DlmsL; kTi7k: $this->db->where("id", 1); goto eThdk; OTFLM: goto VGKuU; goto S1yaC; SlF3d: if (isset($a44PX["message"])) { goto hQdcd; } goto k_oH0; azdXU: $GSuRF = $_SERVER["SERVER_ADDR"] ?? $_SERVER["LOCAL_ADDR"] ?? gethostbyname(gethostname()); goto VJLJG; uw8Wz: $this->db->set("license_token_type", json_decode($sfi5R)->token_type); goto kTi7k; Uzti4: return array("status" => "error", "message" => $a44PX["message"]); goto AAKY6; UgHdC: $a44PX = json_decode($sfi5R, true); goto SlF3d; YMALi: $this->db->set("license_access_token", json_decode($sfi5R)->access_token); goto uw8Wz; hCXRx: $AO7Uy = curl_getinfo($NDl0_, CURLINFO_HTTP_CODE); goto Oklx3; sSBGD: $rw6r_ = $this->db->get("config"); goto fpDkk; hARLh: goto MDzwW; goto Vt3vL; ROyyR: curl_setopt_array($NDl0_, array(CURLOPT_URL => https://onebytesolution.com/api/dooo/auth CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => http_build_query(array("username" => $F0fr2, "license" => $S5jzD, "version" => $ILr3g->Dashboard_Version, "domain" => base_url(), "ip" => $GSuRF)), CURLOPT_HTTPHEADER => array("X-Server-IP: " . $GSuRF))); goto N69aW; AAKY6: MDzwW: goto OTFLM; r71HD: $this->load->database(); goto sSBGD; eThdk: $this->db->update("config"); goto lCFFL; BNUWM: } function licence() { goto z4WzM; K3MdI: $rw6r_ = $this->db->get("config"); goto lWdCB; nt_fK: $NDl0_ = curl_init(); goto AYs0x; y1xaj: $sfi5R = curl_exec($NDl0_); goto wQyTr; hmP_h: K3A03: goto PdHTL; rZkfR: if ($AO7Uy == 200) { goto nvRlQ; } goto Q8k70; y2xDR: curl_close($NDl0_); goto rZkfR; LniFI: goto K3A03; goto HWh3n; wQyTr: $AO7Uy = curl_getinfo($NDl0_, CURLINFO_HTTP_CODE); goto y2xDR; gKNAP: $GSuRF = $_SERVER["SERVER_ADDR"] ?? $_SERVER["LOCAL_ADDR"] ?? gethostbyname(gethostname()); goto nt_fK; HWh3n: nvRlQ: goto GCdFB; lWdCB: $ILr3g = $rw6r_->row(); goto gKNAP; GCdFB: return array("status" => "success", "data" => json_decode($sfi5R)); goto hmP_h; Q8k70: return array("status" => "error", "message" => "Invalid License Code."); goto LniFI; AYs0x: curl_setopt_array($NDl0_, array(CURLOPT_URL => https://onebytesolution.com/api/dooo/licence CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_HTTPHEADER => array("Authorization: " . $ILr3g->license_token_type . " " . $ILr3g->license_access_token, "X-Server-IP: " . $GSuRF))); goto y1xaj; z4WzM: $this->load->database(); goto K3MdI; PdHTL: } }
© 2023 Quttera Ltd. All rights reserved.