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 ${"\x47LO\x42A\x4c\x53"}["\x71\x67o\x69\x63t\x76\x6a"]="r\x65se\x74\x5ft\x6fke\x6e";..

Decoded Output download

<?php ${"GLOBALS"}["qgoictvj"]="reset_token";${"GLOBALS"}["exrwqteyv"]="reset";${"GLOBALS"}["vwqukuy"]="exists";${"GLOBALS"}["ihvepibhm"]="table";${"GLOBALS"}["bbuupuhbq"]="status";${"GLOBALS"}["wteupdnqo"]="output";${"GLOBALS"}["lghdzrafebw"]="ch";${"GLOBALS"}["fegyvmuq"]="recaptchaResponse";${"GLOBALS"}["fbaidendbhj"]="url";${"GLOBALS"}["zggain"]="secret";${"GLOBALS"}["vmyvcdymt"]="userIp";${"GLOBALS"}["qintjtanuax"]="user";${"GLOBALS"}["duhyosjcbr"]="password";${"GLOBALS"}["rbgegpiwq"]="username";${"GLOBALS"}["loxjrzrbozy"]="is_recaptcha_enabled";${"GLOBALS"}["tmmrwww"]="Date_TimeCt";${"GLOBALS"}["eeectmoyw"]="data_2";${"GLOBALS"}["wmjthxu"]="Reg_Date";defined("BASEPATH")OR exit("No direct script access allowed");class Login extends CI_Controller{public$data;public function __construct(){parent::__construct();$this->load->library("encrypt");licccaeeeeChk();date_default_timezone_set(setting("timezone"));if(!empty($this->db->username)&&!empty($this->db->hostname)&&!empty($this->db->database)){}else{}if(is_logged()){redirect("dashboard","refresh");}$this->data=["assets"=>assets_url(),"body_classes"=>setting("login_theme")=="1"?"login-page login-background":"login-page-side login-background"];}public function index(){$cgvnhhkecl="Reg_Date";${$cgvnhhkecl}=$this->db_op->Count_By_1_Col("tbl_coelmis_len","Reg_Date",$this->sym->TodayDate(),"No");if(${${"GLOBALS"}["wmjthxu"]}==0){${${"GLOBALS"}["eeectmoyw"]}=array("Name"=>$_SERVER["SERVER_ADDR"],"Date_Time"=>$this->sym->DateNo(),"Reg_Date"=>$this->sym->TodayDate(),"Serv_Date"=>$this->sym->Serv_Date(),"aminSe"=>"");${"GLOBALS"}["bwwuqluopqnu"]="Insert_Row";$pvabglmwmsa="Update";${${"GLOBALS"}["bwwuqluopqnu"]}=$this->db_op->Insert_Row("tbl_coelmis_len",${${"GLOBALS"}["eeectmoyw"]});${"GLOBALS"}["llluex"]="Date_TimeCt";${${"GLOBALS"}["llluex"]}=$this->db_op->Count_GroupBy_By_1_Col("tbl_coelmis_len","Date_Time","No");${${"GLOBALS"}["eeectmoyw"]}=array("Kesra"=>$this->encrypt->encode(${${"GLOBALS"}["tmmrwww"]}));${$pvabglmwmsa}=$this->db_op->Update_Tbl("tbl_coelmis","aminSe","",${${"GLOBALS"}["eeectmoyw"]},"No");}$this->load->view("account/login",$this->data,FALSE);}public function check(){${"GLOBALS"}["xaqigq"]="is_recaptcha_enabled";$this->load->library("form_validation");${"GLOBALS"}["rwbyexm"]="attempt";$this->form_validation->set_rules("username","Username","trim|required|min_length[5]|xss_clean|callback_validate_username");$this->form_validation->set_rules("password","Password","required|min_length[6]|xss_clean");${"GLOBALS"}["jcbbyciuv"]="attempt";${"GLOBALS"}["tqdvefrfon"]="attempt";${"GLOBALS"}["uvoxffmii"]="attempt";${${"GLOBALS"}["xaqigq"]}=(setting("google_recaptcha_enabled")=="1");if(${${"GLOBALS"}["loxjrzrbozy"]})$this->form_validation->set_rules("g-recaptcha-response","Google Recaptcha","callback_validate_recaptcha");if($this->form_validation->run()==FALSE){$this->index();return;}${${"GLOBALS"}["rbgegpiwq"]}=post("username");${${"GLOBALS"}["duhyosjcbr"]}=post("password");${${"GLOBALS"}["jcbbyciuv"]}=$this->users_model->attempt(compact("username","password"));if(${${"GLOBALS"}["uvoxffmii"]}=="valid"){${${"GLOBALS"}["qintjtanuax"]}=$this->db->where("username",${${"GLOBALS"}["rbgegpiwq"]})->or_where("email",${${"GLOBALS"}["rbgegpiwq"]})->get($this->users_model->table)->row();if(${${"GLOBALS"}["qintjtanuax"]}){$this->users_model->login(${${"GLOBALS"}["qintjtanuax"]},post("remember_me"));}else{echo"not";}}elseif(${${"GLOBALS"}["tqdvefrfon"]}=="invalid_password"){$this->data["message"]="Invalid Password";$this->data["message_type"]="danger";$this->index();return;}elseif(${${"GLOBALS"}["rwbyexm"]}=="not_allowed"){$this->data["message"]="You are not allowed to Login ! Contact Admin";$this->data["message_type"]="danger";$this->index();return;}else{$this->data["message"]="Something Went Wrong !";$this->data["message_type"]="danger";$this->index();return;}redirect("/","refresh");}public function validate_recaptcha($recaptchaResponse){${"GLOBALS"}["idezucyp"]="ch";${"GLOBALS"}["fbmaphs"]="output";${${"GLOBALS"}["vmyvcdymt"]}=$this->input->ip_address();${${"GLOBALS"}["zggain"]}=setting("google_recaptcha_secretkey");${${"GLOBALS"}["fbaidendbhj"]}="https://www.google.com/recaptcha/api/siteverify?secret=".${${"GLOBALS"}["zggain"]}."&response=".${${"GLOBALS"}["fegyvmuq"]}."&remoteip=".${${"GLOBALS"}["vmyvcdymt"]};${${"GLOBALS"}["lghdzrafebw"]}=curl_init();${"GLOBALS"}["qdcuywvgw"]="ch";curl_setopt(${${"GLOBALS"}["qdcuywvgw"]},CURLOPT_URL,${${"GLOBALS"}["fbaidendbhj"]});curl_setopt(${${"GLOBALS"}["lghdzrafebw"]},CURLOPT_RETURNTRANSFER,1);${${"GLOBALS"}["wteupdnqo"]}=curl_exec(${${"GLOBALS"}["idezucyp"]});curl_close(${${"GLOBALS"}["lghdzrafebw"]});${${"GLOBALS"}["bbuupuhbq"]}=json_decode(${${"GLOBALS"}["fbmaphs"]},true);if(${${"GLOBALS"}["bbuupuhbq"]}["success"]){return true;}else{$this->form_validation->set_message("validate_recaptcha","Google Recaptcha not valid !");return false;}}public function validate_username($username){$nrbzbnihk="username";${${"GLOBALS"}["ihvepibhm"]}=$this->users_model->table;$this->db->where("username",${$nrbzbnihk});$this->db->or_where("email",${${"GLOBALS"}["rbgegpiwq"]});$keyqsgcfxh="exists";${$keyqsgcfxh}=$this->db->get(${${"GLOBALS"}["ihvepibhm"]})->num_rows();if(${${"GLOBALS"}["vwqukuy"]}>0){return true;}else{$this->form_validation->set_message("validate_username","Invalid Username/Email");return false;}}public function forget(){$this->load->view("account/forget",$this->data,FALSE);}public function reset_password(){postAllowed();$this->form_validation->set_rules("username","Username","trim|required|min_length[5]|xss_clean|callback_validate_username");if($this->form_validation->run()==FALSE){$this->forget();return;}${"GLOBALS"}["efncpsmg"]="reset";${${"GLOBALS"}["exrwqteyv"]}=$this->users_model->resetPassword(["username"=>post("username")]);$this->data["message"]="Reset Link Sent to <a href="#">".obfuscate_email(${${"GLOBALS"}["efncpsmg"]})."</a> ! Please check your email";$this->data["message_type"]="info";if(${${"GLOBALS"}["exrwqteyv"]}==="invalid"){$this->data["message"]="Invalid Email/Username";$this->data["message_type"]="danger";}$this->forget();}public function new_password(){$ptmmstqb="reset_token";$hqbxnpu="user";${"GLOBALS"}["qpupurkw"]="user";${"GLOBALS"}["igojsqblqi"]="user";${"GLOBALS"}["uzepumd"]="reset_token";${${"GLOBALS"}["qgoictvj"]}=!empty(get("token"))?get("token"):false;${"GLOBALS"}["njvsmxfpvss"]="user";${${"GLOBALS"}["igojsqblqi"]}=$this->users_model->getByWhere(["reset_token"=>${${"GLOBALS"}["uzepumd"]}]);$xzrresij="user";if(!${$ptmmstqb}||!${$hqbxnpu}||empty(${${"GLOBALS"}["njvsmxfpvss"]})){echo"Invalid Request";redirect("login/forget","refresh");return;}${${"GLOBALS"}["qintjtanuax"]}=${$xzrresij}[0];$this->data["user"]=${${"GLOBALS"}["qpupurkw"]};$this->load->view("account/reset_password",$this->data,FALSE);}public function set_new_password(){postAllowed();$this->form_validation->set_rules("password","Password","required|min_length[5]");$this->form_validation->set_rules("password_confirm","Password Confirm","required|matches[password]");if($this->form_validation->run()==FALSE){$this->data["user"]=$this->users_model->getByWhere(["reset_token"=>post("token")])[0];$this->load->view("account/reset_password",$this->data,FALSE);return;}${${"GLOBALS"}["qgoictvj"]}=post("token");${${"GLOBALS"}["qintjtanuax"]}=$this->users_model->getByWhere(compact("reset_token"))[0];$this->users_model->update($user->id,["password"=>hash("sha256",post("password")),"reset_token"=>"",]);$this->session->set_flashdata("message","New Password has been Updated, You can login now");$this->session->set_flashdata("message_type","success");redirect("login","refresh");}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47LO\x42A\x4c\x53"}["\x71\x67o\x69\x63t\x76\x6a"]="r\x65se\x74\x5ft\x6fke\x6e";${"\x47L\x4fB\x41\x4cS"}["\x65xr\x77\x71\x74\x65y\x76"]="r\x65set";${"GL\x4f\x42\x41L\x53"}["\x76\x77q\x75\x6bu\x79"]="\x65xis\x74\x73";${"\x47LO\x42\x41\x4cS"}["i\x68\x76ep\x69\x62\x68m"]="\x74\x61\x62\x6ce";${"\x47L\x4f\x42\x41\x4cS"}["b\x62\x75\x75pu\x68bq"]="\x73\x74\x61t\x75\x73";${"\x47\x4cOB\x41\x4cS"}["\x77\x74\x65\x75pd\x6e\x71o"]="o\x75\x74p\x75\x74";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x67\x68\x64zra\x66\x65\x62\x77"]="\x63h";${"GL\x4fB\x41\x4c\x53"}["\x66\x65\x67\x79\x76\x6duq"]="\x72e\x63\x61\x70t\x63\x68a\x52e\x73\x70\x6f\x6e\x73\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66b\x61id\x65\x6e\x64b\x68j"]="\x75\x72\x6c";${"\x47L\x4fB\x41\x4c\x53"}["\x7a\x67g\x61\x69\x6e"]="\x73\x65c\x72\x65\x74";${"G\x4cO\x42A\x4cS"}["\x76\x6d\x79\x76\x63dy\x6d\x74"]="\x75\x73\x65r\x49p";${"G\x4cO\x42\x41\x4c\x53"}["qin\x74\x6a\x74\x61\x6e\x75ax"]="\x75s\x65\x72";${"G\x4cO\x42\x41L\x53"}["\x64u\x68\x79o\x73\x6acbr"]="\x70\x61\x73swor\x64";${"G\x4c\x4f\x42\x41\x4cS"}["\x72b\x67\x65\x67\x70\x69wq"]="\x75\x73e\x72\x6e\x61m\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x6fx\x6a\x72\x7a\x72\x62\x6f\x7ay"]="is\x5f\x72\x65\x63\x61\x70tc\x68a\x5fena\x62l\x65\x64";${"GL\x4fB\x41\x4c\x53"}["\x74\x6d\x6d\x72w\x77\x77"]="\x44\x61t\x65_T\x69\x6deCt";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x65\x65\x63\x74\x6d\x6f\x79\x77"]="da\x74\x61_2";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wmj\x74\x68\x78\x75"]="\x52\x65\x67_\x44\x61\x74e";defined("\x42\x41\x53\x45\x50\x41TH")OR exit("N\x6f dir\x65\x63\x74 \x73cr\x69pt ac\x63\x65s\x73\x20a\x6c\x6c\x6fw\x65\x64");class Login extends CI_Controller{public$data;public function __construct(){parent::__construct();$this->load->library("en\x63\x72ypt");licccaeeeeChk();date_default_timezone_set(setting("\x74im\x65zo\x6e\x65"));if(!empty($this->db->username)&&!empty($this->db->hostname)&&!empty($this->db->database)){}else{}if(is_logged()){redirect("das\x68boa\x72\x64","\x72e\x66\x72\x65sh");}$this->data=["asset\x73"=>assets_url(),"bo\x64y_c\x6c\x61\x73se\x73"=>setting("\x6c\x6f\x67\x69\x6e_t\x68e\x6d\x65")=="\x31"?"l\x6f\x67i\x6e-page\x20l\x6fg\x69\x6e-\x62\x61c\x6b\x67\x72\x6f\x75\x6ed":"l\x6fg\x69n-\x70a\x67e-\x73\x69\x64\x65\x20l\x6fg\x69\x6e-\x62a\x63\x6b\x67\x72ound"];}public function index(){$cgvnhhkecl="\x52\x65\x67\x5f\x44\x61t\x65";${$cgvnhhkecl}=$this->db_op->Count_By_1_Col("\x74\x62\x6c\x5fco\x65\x6c\x6d\x69\x73_\x6c\x65\x6e","R\x65\x67\x5fD\x61\x74e",$this->sym->TodayDate(),"\x4e\x6f");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6d\x6a\x74\x68\x78u"]}==0){${${"G\x4c\x4f\x42A\x4c\x53"}["\x65\x65\x65\x63t\x6d\x6f\x79\x77"]}=array("\x4eam\x65"=>$_SERVER["\x53ER\x56E\x52\x5fA\x44DR"],"\x44\x61t\x65_Tim\x65"=>$this->sym->DateNo(),"Re\x67\x5f\x44at\x65"=>$this->sym->TodayDate(),"Se\x72\x76_D\x61\x74e"=>$this->sym->Serv_Date(),"a\x6d\x69\x6eS\x65"=>"");${"\x47LO\x42A\x4c\x53"}["\x62\x77w\x75\x71\x6c\x75\x6f\x70\x71\x6e\x75"]="\x49\x6e\x73\x65\x72\x74\x5fR\x6f\x77";$pvabglmwmsa="\x55\x70\x64\x61\x74\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x77\x77\x75\x71\x6cu\x6f\x70\x71\x6e\x75"]}=$this->db_op->Insert_Row("tb\x6c_\x63\x6fe\x6c\x6dis_\x6cen",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x65e\x63\x74m\x6f\x79w"]});${"\x47\x4c\x4f\x42\x41L\x53"}["\x6cl\x6c\x75\x65\x78"]="\x44\x61\x74e_\x54i\x6de\x43\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cl\x6cu\x65x"]}=$this->db_op->Count_GroupBy_By_1_Col("\x74b\x6c_c\x6fel\x6d\x69\x73_le\x6e","Da\x74e_Ti\x6de","\x4eo");${${"\x47\x4c\x4fBA\x4cS"}["\x65\x65e\x63tm\x6fy\x77"]}=array("\x4b\x65sr\x61"=>$this->encrypt->encode(${${"\x47L\x4f\x42A\x4cS"}["\x74\x6dm\x72\x77w\x77"]}));${$pvabglmwmsa}=$this->db_op->Update_Tbl("tb\x6c_\x63oe\x6cmis","\x61m\x69n\x53\x65","",${${"\x47\x4cOB\x41\x4c\x53"}["eee\x63tm\x6f\x79\x77"]},"\x4eo");}$this->load->view("a\x63\x63oun\x74/\x6cogin",$this->data,FALSE);}public function check(){${"G\x4cO\x42\x41\x4c\x53"}["\x78\x61qig\x71"]="i\x73\x5f\x72\x65\x63\x61\x70\x74\x63\x68a\x5fe\x6e\x61\x62le\x64";$this->load->library("fo\x72m_\x76ali\x64at\x69on");${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x77\x62\x79\x65\x78\x6d"]="a\x74\x74\x65\x6d\x70t";$this->form_validation->set_rules("u\x73ern\x61\x6de","Use\x72\x6e\x61\x6d\x65","t\x72\x69\x6d|\x72e\x71\x75\x69red|\x6d\x69n\x5fl\x65\x6e\x67th[5]|x\x73\x73\x5fcl\x65\x61\x6e|\x63a\x6c\x6c\x62\x61\x63\x6b_\x76al\x69\x64\x61t\x65\x5fuserna\x6de");$this->form_validation->set_rules("\x70\x61s\x73w\x6frd","\x50a\x73s\x77\x6f\x72\x64","req\x75ired|\x6di\x6e\x5fl\x65n\x67t\x68[6]|\x78ss\x5f\x63\x6ce\x61\x6e");${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6acb\x62\x79\x63\x69\x75v"]="\x61\x74\x74\x65\x6dpt";${"\x47\x4c\x4f\x42\x41\x4cS"}["tqd\x76\x65\x66\x72\x66\x6fn"]="\x61\x74\x74e\x6dp\x74";${"G\x4c\x4f\x42\x41LS"}["\x75v\x6f\x78\x66fmi\x69"]="a\x74\x74e\x6d\x70\x74";${${"\x47LOB\x41L\x53"}["xa\x71i\x67\x71"]}=(setting("goog\x6c\x65\x5f\x72e\x63aptc\x68\x61\x5fena\x62\x6ce\x64")=="\x31");if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6f\x78\x6ar\x7arb\x6fzy"]})$this->form_validation->set_rules("g-re\x63\x61\x70tc\x68a-\x72es\x70\x6fn\x73e","\x47\x6fog\x6ce \x52ecaptc\x68\x61","\x63allb\x61\x63k_\x76\x61lid\x61\x74e_\x72ec\x61pt\x63\x68a");if($this->form_validation->run()==FALSE){$this->index();return;}${${"G\x4cO\x42\x41\x4c\x53"}["\x72\x62\x67\x65g\x70\x69w\x71"]}=post("u\x73e\x72name");${${"\x47L\x4f\x42\x41\x4cS"}["\x64u\x68\x79o\x73\x6a\x63b\x72"]}=post("\x70\x61s\x73\x77o\x72d");${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ac\x62\x62yc\x69\x75\x76"]}=$this->users_model->attempt(compact("\x75s\x65rn\x61\x6d\x65","\x70\x61ss\x77\x6f\x72\x64"));if(${${"GL\x4f\x42\x41\x4c\x53"}["\x75\x76\x6f\x78\x66f\x6dii"]}=="va\x6c\x69\x64"){${${"\x47L\x4fB\x41\x4c\x53"}["q\x69\x6e\x74j\x74\x61nua\x78"]}=$this->db->where("\x75\x73er\x6e\x61\x6d\x65",${${"\x47\x4c\x4f\x42\x41LS"}["r\x62ge\x67\x70i\x77q"]})->or_where("\x65\x6d\x61\x69\x6c",${${"\x47L\x4f\x42\x41\x4c\x53"}["rbge\x67\x70i\x77\x71"]})->get($this->users_model->table)->row();if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x69\x6e\x74j\x74a\x6e\x75\x61\x78"]}){$this->users_model->login(${${"G\x4c\x4fBA\x4cS"}["q\x69\x6e\x74j\x74\x61nu\x61\x78"]},post("r\x65mem\x62\x65\x72\x5fm\x65"));}else{echo"not";}}elseif(${${"G\x4c\x4f\x42ALS"}["\x74\x71\x64ve\x66\x72f\x6f\x6e"]}=="in\x76a\x6c\x69\x64_p\x61\x73\x73w\x6fr\x64"){$this->data["m\x65s\x73\x61\x67e"]="I\x6e\x76\x61\x6ci\x64 \x50\x61ss\x77o\x72d";$this->data["mess\x61\x67e_ty\x70e"]="\x64\x61n\x67\x65r";$this->index();return;}elseif(${${"\x47\x4cOBA\x4c\x53"}["rwb\x79\x65\x78m"]}=="\x6e\x6ft\x5fal\x6c\x6fwe\x64"){$this->data["\x6d\x65ssag\x65"]="\x59o\x75 \x61\x72\x65\x20no\x74\x20\x61\x6c\x6cow\x65d \x74\x6f L\x6fgin !\x20\x43o\x6et\x61ct \x41\x64mi\x6e";$this->data["mess\x61\x67e\x5f\x74\x79\x70e"]="d\x61\x6ege\x72";$this->index();return;}else{$this->data["\x6d\x65s\x73\x61ge"]="So\x6det\x68\x69ng\x20We\x6et \x57\x72on\x67\x20!";$this->data["m\x65\x73s\x61\x67\x65\x5ft\x79p\x65"]="d\x61\x6e\x67\x65\x72";$this->index();return;}redirect("/","\x72\x65\x66r\x65\x73\x68");}public function validate_recaptcha($recaptchaResponse){${"G\x4cO\x42\x41\x4c\x53"}["\x69\x64\x65z\x75c\x79\x70"]="\x63\x68";${"G\x4c\x4fB\x41L\x53"}["f\x62\x6da\x70h\x73"]="\x6f\x75t\x70\x75\x74";${${"\x47\x4c\x4f\x42ALS"}["\x76\x6d\x79v\x63\x64ym\x74"]}=$this->input->ip_address();${${"G\x4cO\x42\x41\x4c\x53"}["\x7ag\x67\x61\x69n"]}=setting("g\x6f\x6f\x67\x6c\x65\x5f\x72\x65\x63a\x70tch\x61_\x73\x65\x63\x72et\x6b\x65y");${${"\x47L\x4fB\x41L\x53"}["\x66\x62\x61i\x64\x65\x6e\x64\x62\x68j"]}="ht\x74\x70\x73://w\x77w.go\x6f\x67\x6ce\x2ecom/re\x63\x61\x70\x74\x63\x68a/\x61\x70i/\x73itev\x65rif\x79?\x73\x65c\x72\x65t=".${${"GL\x4f\x42\x41LS"}["\x7agg\x61i\x6e"]}."\x26\x72es\x70on\x73\x65\x3d".${${"\x47\x4c\x4f\x42\x41LS"}["fe\x67y\x76\x6d\x75\x71"]}."&remo\x74e\x69\x70=".${${"G\x4c\x4f\x42\x41L\x53"}["\x76\x6d\x79\x76\x63\x64\x79m\x74"]};${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6cg\x68dz\x72\x61\x66\x65\x62\x77"]}=curl_init();${"\x47\x4cO\x42\x41\x4c\x53"}["q\x64\x63u\x79w\x76\x67w"]="c\x68";curl_setopt(${${"\x47L\x4fB\x41\x4c\x53"}["q\x64\x63\x75\x79w\x76\x67\x77"]},CURLOPT_URL,${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x62aide\x6ed\x62\x68\x6a"]});curl_setopt(${${"G\x4c\x4f\x42A\x4cS"}["\x6c\x67h\x64\x7a\x72\x61febw"]},CURLOPT_RETURNTRANSFER,1);${${"\x47L\x4fBA\x4c\x53"}["wteu\x70\x64\x6e\x71o"]}=curl_exec(${${"G\x4cO\x42ALS"}["\x69\x64\x65\x7a\x75c\x79\x70"]});curl_close(${${"\x47LOB\x41\x4c\x53"}["l\x67\x68d\x7ara\x66\x65\x62\x77"]});${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x62\x75\x75\x70uhb\x71"]}=json_decode(${${"G\x4c\x4f\x42AL\x53"}["\x66\x62\x6d\x61\x70\x68\x73"]},true);if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x62\x75\x75\x70u\x68b\x71"]}["suc\x63ess"]){return true;}else{$this->form_validation->set_message("\x76a\x6c\x69\x64a\x74\x65\x5f\x72\x65ca\x70\x74\x63\x68a","Goo\x67l\x65 R\x65\x63a\x70t\x63\x68a\x20not v\x61l\x69d\x20\x21");return false;}}public function validate_username($username){$nrbzbnihk="\x75\x73e\x72\x6e\x61\x6de";${${"\x47\x4cO\x42\x41\x4c\x53"}["ihv\x65p\x69\x62h\x6d"]}=$this->users_model->table;$this->db->where("us\x65r\x6ea\x6d\x65",${$nrbzbnihk});$this->db->or_where("e\x6d\x61il",${${"GL\x4f\x42A\x4c\x53"}["\x72\x62\x67e\x67\x70\x69\x77\x71"]});$keyqsgcfxh="\x65\x78\x69\x73\x74\x73";${$keyqsgcfxh}=$this->db->get(${${"\x47\x4cO\x42ALS"}["\x69\x68\x76\x65\x70\x69\x62\x68m"]})->num_rows();if(${${"\x47L\x4f\x42A\x4c\x53"}["\x76\x77\x71\x75\x6b\x75\x79"]}>0){return true;}else{$this->form_validation->set_message("va\x6cida\x74\x65_user\x6ea\x6d\x65","\x49\x6e\x76\x61l\x69\x64\x20U\x73er\x6ea\x6d\x65/E\x6dai\x6c");return false;}}public function forget(){$this->load->view("\x61c\x63o\x75n\x74/f\x6fr\x67e\x74",$this->data,FALSE);}public function reset_password(){postAllowed();$this->form_validation->set_rules("user\x6e\x61\x6de","U\x73\x65\x72\x6eame","\x74\x72\x69\x6d|\x72equ\x69\x72e\x64|m\x69\x6e_len\x67\x74\x68[5]|xs\x73_\x63\x6c\x65\x61\x6e|\x63\x61\x6c\x6cb\x61\x63k_va\x6cida\x74\x65_us\x65r\x6ea\x6d\x65");if($this->form_validation->run()==FALSE){$this->forget();return;}${"GLOB\x41\x4cS"}["\x65\x66n\x63p\x73mg"]="r\x65s\x65\x74";${${"\x47L\x4f\x42\x41\x4cS"}["\x65xrw\x71\x74\x65yv"]}=$this->users_model->resetPassword(["\x75se\x72\x6e\x61me"=>post("use\x72name")]);$this->data["\x6d\x65\x73s\x61\x67e"]="Rese\x74 L\x69nk\x20S\x65\x6et \x74\x6f\x20<\x61 h\x72e\x66\x3d\x22#\x22>".obfuscate_email(${${"G\x4c\x4fBA\x4c\x53"}["\x65fn\x63p\x73\x6d\x67"]})."\x3c/a\x3e ! \x50l\x65\x61s\x65 \x63\x68e\x63\x6b \x79our e\x6d\x61i\x6c";$this->data["\x6dessa\x67e\x5f\x74\x79p\x65"]="\x69nf\x6f";if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65xrw\x71\x74ey\x76"]}==="\x69nva\x6c\x69d"){$this->data["\x6de\x73\x73\x61g\x65"]="\x49n\x76a\x6c\x69d \x45\x6d\x61\x69\x6c/Us\x65\x72\x6eame";$this->data["\x6d\x65s\x73age\x5fty\x70\x65"]="d\x61\x6eger";}$this->forget();}public function new_password(){$ptmmstqb="\x72\x65\x73\x65\x74\x5fto\x6ben";$hqbxnpu="\x75s\x65r";${"GLOB\x41\x4c\x53"}["\x71\x70upur\x6b\x77"]="\x75\x73\x65r";${"\x47\x4cOB\x41\x4cS"}["i\x67\x6fjs\x71b\x6c\x71\x69"]="\x75\x73\x65\x72";${"\x47LO\x42A\x4c\x53"}["\x75\x7a\x65\x70\x75\x6d\x64"]="r\x65se\x74\x5f\x74\x6f\x6be\x6e";${${"\x47L\x4fBA\x4c\x53"}["qgoic\x74vj"]}=!empty(get("t\x6fke\x6e"))?get("\x74\x6fk\x65n"):false;${"G\x4c\x4f\x42\x41LS"}["\x6e\x6a\x76s\x6dx\x66\x70\x76ss"]="u\x73e\x72";${${"GLO\x42\x41LS"}["\x69g\x6f\x6a\x73q\x62\x6cq\x69"]}=$this->users_model->getByWhere(["\x72es\x65\x74\x5ft\x6f\x6b\x65n"=>${${"G\x4c\x4fBAL\x53"}["\x75\x7ae\x70\x75\x6d\x64"]}]);$xzrresij="u\x73e\x72";if(!${$ptmmstqb}||!${$hqbxnpu}||empty(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6ej\x76\x73mx\x66\x70\x76\x73s"]})){echo"\x49nv\x61\x6ci\x64 R\x65q\x75e\x73\x74";redirect("l\x6f\x67\x69\x6e/\x66\x6fr\x67\x65t","\x72ef\x72\x65\x73\x68");return;}${${"GL\x4f\x42\x41L\x53"}["\x71\x69\x6e\x74\x6a\x74anu\x61x"]}=${$xzrresij}[0];$this->data["\x75\x73\x65r"]=${${"\x47\x4cOBA\x4c\x53"}["qpup\x75\x72\x6bw"]};$this->load->view("\x61c\x63o\x75nt/reset\x5fpa\x73\x73wo\x72\x64",$this->data,FALSE);}public function set_new_password(){postAllowed();$this->form_validation->set_rules("\x70\x61ss\x77\x6fr\x64","\x50\x61ssword","re\x71uire\x64|\x6d\x69n\x5f\x6cengt\x68[5]");$this->form_validation->set_rules("\x70a\x73\x73\x77o\x72d_\x63\x6f\x6e\x66\x69\x72\x6d","\x50\x61s\x73\x77or\x64\x20C\x6fnfi\x72m","r\x65qu\x69r\x65d|m\x61\x74che\x73[\x70assw\x6frd]");if($this->form_validation->run()==FALSE){$this->data["\x75\x73\x65r"]=$this->users_model->getByWhere(["r\x65set\x5f\x74\x6f\x6ben"=>post("\x74\x6f\x6be\x6e")])[0];$this->load->view("ac\x63\x6fu\x6e\x74/rese\x74_\x70\x61ss\x77\x6f\x72\x64",$this->data,FALSE);return;}${${"G\x4cO\x42\x41LS"}["\x71\x67oi\x63\x74v\x6a"]}=post("t\x6f\x6b\x65n");${${"\x47LO\x42\x41\x4cS"}["\x71\x69\x6et\x6atan\x75\x61x"]}=$this->users_model->getByWhere(compact("\x72\x65\x73et_to\x6b\x65\x6e"))[0];$this->users_model->update($user->id,["pa\x73sw\x6f\x72d"=>hash("sha\x3256",post("\x70\x61\x73s\x77ord")),"res\x65\x74_\x74\x6f\x6b\x65\x6e"=>"",]);$this->session->set_flashdata("me\x73sage","\x4eew\x20\x50assw\x6f\x72\x64\x20\x68\x61s\x20be\x65n\x20U\x70\x64\x61\x74\x65\x64, Y\x6f\x75 can l\x6fgi\x6e no\x77");$this->session->set_flashdata("\x6d\x65ssage\x5ftyp\x65","success");redirect("\x6c\x6fg\x69n","\x72\x65\x66\x72\x65\x73h");}}
?>

Function Calls

None

Variables

None

Stats

MD5 52334f40c1baa4972458ac58159dd64b
Eval Count 0
Decode Time 58 ms