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\x4cO\x42\x41\x4c\x53"}["\x6c\x63\x62\x67wh\x66\x73\x67"]="r\x65s";${"\x47\x4..
Decoded Output download
<?php ${"GLOBALS"}["lcbgwhfsg"]="res";${"GLOBALS"}["zeclgqm"]="konten";if(!defined("BASEPATH"))exit("No direct script access allowed");class Login extends MX_Controller{public function __construct(){parent::__construct();}public function index(){${"GLOBALS"}["ogywnuktlgs"]="konten";if(isset($_SESSION["username"])){redirect("../home");}${${"GLOBALS"}["zeclgqm"]}["smenu"]="login";${${"GLOBALS"}["ogywnuktlgs"]}["submenu"]="";${"GLOBALS"}["ttstty"]="konten";${"GLOBALS"}["peapszq"]="konten";${${"GLOBALS"}["zeclgqm"]}["css"]="";${${"GLOBALS"}["ttstty"]}["js"]="";${${"GLOBALS"}["zeclgqm"]}["header"]="inc/loginheader";${${"GLOBALS"}["zeclgqm"]}["footer"]="inc/loginfooter";${${"GLOBALS"}["peapszq"]}["tujuan"]="default";$this->load->view("login",${${"GLOBALS"}["zeclgqm"]});}function doLogin(){if(IS_AJAX){${${"GLOBALS"}["lcbgwhfsg"]}=$this->Data_model->verify_user(array("email"=>$this->input->post("email"),"password"=>md5($this->input->post("password"))),"vuser");if(${${"GLOBALS"}["lcbgwhfsg"]}!==false){$_SESSION["wdp"]=$this->input->post("password");$_SESSION["username"]=$res->username;$_SESSION["email"]=$res->email;$_SESSION["userid"]=$res->user_id;$_SESSION["role"]=$res->role_id;$_SESSION["apid"]=$res->apid;$_SESSION["nmdepan"]=$res->first_name;$_SESSION["nmbelakang"]=$res->last_name;$_SESSION["kodekl"]=$res->KODEKL;$_SESSION["namakl"]=$res->NAMAKL;$_SESSION["gambar"]=$res->image;echo base_url("home");}else{echo"";}}}public function out(){session_destroy();$this->index();}}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x63\x62\x67wh\x66\x73\x67"]="r\x65s";${"\x47\x4c\x4f\x42A\x4cS"}["z\x65\x63\x6c\x67q\x6d"]="\x6b\x6f\x6e\x74\x65\x6e";if(!defined("BASE\x50\x41TH"))exit("\x4e\x6f \x64\x69rec\x74\x20\x73c\x72i\x70\x74\x20a\x63c\x65ss\x20a\x6cl\x6fw\x65d");class Login extends MX_Controller{public function __construct(){parent::__construct();}public function index(){${"GL\x4f\x42\x41L\x53"}["\x6f\x67\x79\x77n\x75\x6b\x74lg\x73"]="k\x6fnte\x6e";if(isset($_SESSION["u\x73e\x72\x6ea\x6de"])){redirect(".\x2e/\x68o\x6d\x65");}${${"\x47\x4c\x4f\x42\x41L\x53"}["\x7a\x65\x63l\x67\x71m"]}["\x73\x6d\x65\x6eu"]="lo\x67\x69\x6e";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6fgyw\x6e\x75\x6b\x74\x6c\x67s"]}["su\x62menu"]="";${"G\x4c\x4f\x42\x41\x4cS"}["t\x74s\x74\x74\x79"]="\x6bo\x6e\x74\x65n";${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x65\x61\x70s\x7aq"]="\x6bo\x6e\x74\x65\x6e";${${"\x47L\x4fB\x41\x4c\x53"}["z\x65\x63\x6c\x67\x71\x6d"]}["\x63ss"]="";${${"GLOB\x41L\x53"}["\x74t\x73\x74\x74\x79"]}["j\x73"]="";${${"G\x4cOB\x41\x4c\x53"}["\x7ae\x63l\x67\x71\x6d"]}["h\x65ader"]="in\x63/\x6c\x6fginh\x65\x61\x64\x65r";${${"GL\x4f\x42AL\x53"}["z\x65c\x6cg\x71\x6d"]}["\x66\x6f\x6ft\x65\x72"]="\x69\x6ec/\x6c\x6fg\x69nf\x6foter";${${"\x47L\x4f\x42\x41LS"}["\x70\x65\x61\x70\x73\x7aq"]}["\x74uj\x75\x61n"]="d\x65\x66\x61u\x6ct";$this->load->view("l\x6fgin",${${"\x47\x4c\x4fB\x41L\x53"}["z\x65\x63\x6cg\x71\x6d"]});}function doLogin(){if(IS_AJAX){${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6cc\x62\x67\x77hf\x73g"]}=$this->Data_model->verify_user(array("e\x6dai\x6c"=>$this->input->post("e\x6da\x69\x6c"),"\x70a\x73s\x77\x6fr\x64"=>md5($this->input->post("\x70\x61ss\x77\x6f\x72d"))),"\x76\x75s\x65r");if(${${"GL\x4f\x42\x41\x4cS"}["\x6c\x63b\x67\x77\x68fs\x67"]}!==false){$_SESSION["\x77d\x70"]=$this->input->post("p\x61\x73s\x77\x6f\x72d");$_SESSION["us\x65\x72\x6eame"]=$res->username;$_SESSION["\x65mai\x6c"]=$res->email;$_SESSION["\x75s\x65rid"]=$res->user_id;$_SESSION["ro\x6ce"]=$res->role_id;$_SESSION["api\x64"]=$res->apid;$_SESSION["n\x6dd\x65\x70\x61\x6e"]=$res->first_name;$_SESSION["\x6e\x6dbe\x6c\x61\x6b\x61n\x67"]=$res->last_name;$_SESSION["ko\x64\x65k\x6c"]=$res->KODEKL;$_SESSION["\x6eamakl"]=$res->NAMAKL;$_SESSION["g\x61\x6d\x62\x61\x72"]=$res->image;echo base_url("\x68\x6fm\x65");}else{echo"";}}}public function out(){session_destroy();$this->index();}}
?>
Function Calls
| defined | 1 |
Stats
| MD5 | e03202fac41b5a3c1f59ffdae73c60d1 |
| Eval Count | 0 |
| Decode Time | 94 ms |