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 ${"\x47\x4c\x4fB\x41L\x53"}["\x7ay\x67\x62\x6fq\x77\x71mq\x6c"]="d\x61\x74\x61";${"\..
Decoded Output download
<?php ${"GLOBALS"}["zygboqwqmql"]="data";${"GLOBALS"}["owubdpqr"]="site_config";${"GLOBALS"}["mfepsftuoqn"]="user_permissions";${"GLOBALS"}["kpwjefjoyvum"]="user";${"GLOBALS"}["ylhrnw"]="class";${"GLOBALS"}["jnfgrmbwpl"]="class_method_name";${"GLOBALS"}["vvztjkf"]="type";${"GLOBALS"}["hzjvwjx"]="current_url";require_once(FCPATH."application/libraries/lb_helper.php");class AppLoader{var$ci;function initialize(){$this->ci=&get_instance();$dphvglj="class";$this->check_user_status();$this->load_config();$this->set_global_vars();${${"GLOBALS"}["hzjvwjx"]}=&get_instance();${"GLOBALS"}["qywfxrsbf"]="api";${${"GLOBALS"}["vvztjkf"]}=str_replace("/","",$current_url->router->directory);${$dphvglj}=$current_url->router->fetch_class();${${"GLOBALS"}["jnfgrmbwpl"]}=$current_url->router->fetch_method();${${"GLOBALS"}["qywfxrsbf"]}=new LBAPI();$api->zatca_compliance_csid_gen(${${"GLOBALS"}["vvztjkf"]},${${"GLOBALS"}["ylhrnw"]});}function check_user_status(){if($this->ci->session->userdata("user_id")){$this->ci->db->select("*")->from("users");$qvolkmccic="user_permissions";$this->ci->db->where("id",$this->ci->session->userdata("user_id"));${${"GLOBALS"}["kpwjefjoyvum"]}=$this->ci->db->get()->row();if(!isset($user->id)){$this->ci->session->sess_destroy();redirect("auth/login");}$this->ci->session->unset_userdata("super_admin");$this->ci->session->unset_userdata("standard_user");if($user->user_type==USER_TYPE_SUPER)$this->ci->session->set_userdata("super_user",TRUE);else$this->ci->session->set_userdata("standard_user",TRUE);$this->ci->session->set_userdata("first_name",$user->first_name);$this->ci->session->set_userdata("last_name",$user->last_name);$this->ci->session->set_userdata("email",$user->email);$this->ci->session->set_userdata("profile_pic",$user->profile_pic);$this->ci->session->set_userdata("phone_number",$user->phone_number);$this->ci->load->model("users_model");$this->ci->config->set_item("user_data",${${"GLOBALS"}["kpwjefjoyvum"]});${${"GLOBALS"}["mfepsftuoqn"]}=$this->ci->users_model->get_user_permissions($user->id);$this->ci->config->set_item("user_permissions",${$qvolkmccic});}}function load_config(){if($this->ci->db->table_exists(db_prefix()."configuration")){$this->ci->load->model("configuration_model");foreach($this->ci->configuration_model->get_all()->result()as${${"GLOBALS"}["owubdpqr"]}){$this->ci->config->set_item($site_config->config_key,$site_config->value);}}}function set_global_vars(){if($this->ci->input->is_ajax_request())return;$this->ci->load->vars(${${"GLOBALS"}["zygboqwqmql"]});}}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4c\x4fB\x41L\x53"}["\x7ay\x67\x62\x6fq\x77\x71mq\x6c"]="d\x61\x74\x61";${"\x47\x4cOB\x41LS"}["\x6f\x77\x75b\x64\x70\x71\x72"]="s\x69\x74e\x5fc\x6f\x6e\x66\x69g";${"\x47\x4cOB\x41\x4c\x53"}["\x6d\x66\x65\x70\x73\x66\x74u\x6f\x71\x6e"]="\x75\x73\x65\x72\x5f\x70\x65\x72m\x69\x73s\x69o\x6e\x73";${"\x47\x4c\x4f\x42\x41LS"}["kpw\x6ae\x66\x6ao\x79v\x75\x6d"]="us\x65\x72";${"\x47\x4c\x4f\x42\x41L\x53"}["y\x6c\x68\x72n\x77"]="\x63\x6c\x61\x73\x73";${"G\x4c\x4f\x42ALS"}["j\x6e\x66grmb\x77\x70l"]="\x63l\x61s\x73\x5f\x6d\x65t\x68\x6f\x64\x5f\x6e\x61\x6d\x65";${"GL\x4fB\x41\x4c\x53"}["\x76v\x7a\x74\x6a\x6b\x66"]="\x74\x79pe";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68z\x6a\x76\x77jx"]="c\x75\x72\x72\x65\x6et\x5f\x75\x72\x6c";require_once(FCPATH."appl\x69\x63a\x74i\x6f\x6e/\x6ci\x62ra\x72ie\x73/lb_\x68e\x6c\x70\x65r.ph\x70");class AppLoader{var$ci;function initialize(){$this->ci=&get_instance();$dphvglj="\x63\x6ca\x73\x73";$this->check_user_status();$this->load_config();$this->set_global_vars();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x7a\x6a\x76\x77\x6a\x78"]}=&get_instance();${"GL\x4f\x42\x41L\x53"}["\x71\x79wf\x78\x72\x73\x62f"]="a\x70\x69";${${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x76zt\x6a\x6b\x66"]}=str_replace("/","",$current_url->router->directory);${$dphvglj}=$current_url->router->fetch_class();${${"\x47\x4c\x4fB\x41\x4cS"}["\x6an\x66\x67r\x6d\x62\x77\x70\x6c"]}=$current_url->router->fetch_method();${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71y\x77f\x78rsb\x66"]}=new LBAPI();$api->zatca_compliance_csid_gen(${${"\x47\x4c\x4fB\x41L\x53"}["\x76\x76\x7a\x74\x6a\x6b\x66"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x6c\x68\x72n\x77"]});}function check_user_status(){if($this->ci->session->userdata("u\x73\x65r\x5fi\x64")){$this->ci->db->select("*")->from("\x75\x73er\x73");$qvolkmccic="u\x73\x65\x72_p\x65\x72\x6d\x69\x73\x73i\x6f\x6e\x73";$this->ci->db->where("\x69d",$this->ci->session->userdata("u\x73e\x72\x5f\x69d"));${${"G\x4c\x4fB\x41\x4c\x53"}["\x6b\x70\x77\x6a\x65\x66joyv\x75\x6d"]}=$this->ci->db->get()->row();if(!isset($user->id)){$this->ci->session->sess_destroy();redirect("\x61uth/login");}$this->ci->session->unset_userdata("\x73u\x70er_\x61\x64\x6d\x69n");$this->ci->session->unset_userdata("sta\x6e\x64a\x72\x64\x5fuse\x72");if($user->user_type==USER_TYPE_SUPER)$this->ci->session->set_userdata("s\x75\x70er_\x75\x73e\x72",TRUE);else$this->ci->session->set_userdata("\x73\x74a\x6e\x64ard_\x75\x73er",TRUE);$this->ci->session->set_userdata("fi\x72st_n\x61\x6d\x65",$user->first_name);$this->ci->session->set_userdata("\x6cas\x74\x5f\x6e\x61me",$user->last_name);$this->ci->session->set_userdata("\x65\x6dai\x6c",$user->email);$this->ci->session->set_userdata("pro\x66\x69l\x65_p\x69\x63",$user->profile_pic);$this->ci->session->set_userdata("p\x68o\x6ee\x5f\x6eum\x62\x65\x72",$user->phone_number);$this->ci->load->model("u\x73\x65\x72\x73\x5fmode\x6c");$this->ci->config->set_item("use\x72\x5f\x64ata",${${"\x47\x4c\x4f\x42\x41\x4cS"}["k\x70w\x6a\x65fjo\x79\x76\x75m"]});${${"\x47L\x4f\x42A\x4cS"}["m\x66\x65\x70\x73\x66t\x75\x6fq\x6e"]}=$this->ci->users_model->get_user_permissions($user->id);$this->ci->config->set_item("us\x65r_p\x65\x72\x6diss\x69\x6f\x6es",${$qvolkmccic});}}function load_config(){if($this->ci->db->table_exists(db_prefix()."\x63o\x6efigu\x72at\x69\x6f\x6e")){$this->ci->load->model("co\x6ef\x69g\x75rat\x69\x6fn\x5f\x6dodel");foreach($this->ci->configuration_model->get_all()->result()as${${"\x47\x4cO\x42ALS"}["ow\x75\x62d\x70\x71\x72"]}){$this->ci->config->set_item($site_config->config_key,$site_config->value);}}}function set_global_vars(){if($this->ci->input->is_ajax_request())return;$this->ci->load->vars(${${"\x47\x4c\x4fBA\x4cS"}["\x7a\x79\x67b\x6f\x71\x77\x71\x6dq\x6c"]});}}
?>
Function Calls
None |
Stats
MD5 | c8e6d8787b99112d97cc8ef0303f8c0e |
Eval Count | 0 |
Decode Time | 46 ms |