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\x4fBAL\x53"}["\x79\x71\x75\x64\x71\x73\x72\x77\x68\x6dk"]="quer\x79";${"..

Decoded Output download

<?php ${"GLOBALS"}["yqudqsrwhmk"]="query";${"GLOBALS"}["zbqmhs"]="Username";class login{public function __construct(){${"GLOBALS"}["wosscpxtr"]="db";${${"GLOBALS"}["wosscpxtr"]}=new model_query();$this->db=new model_query();}public function index(){include"application/view/login/login.php";}public function auth(){${"GLOBALS"}["subrvvf"]="Username";${"GLOBALS"}["ogerjw"]="Password";${"GLOBALS"}["tdjwlni"]="Password";${${"GLOBALS"}["zbqmhs"]}=trim($_POST["Username"]);${${"GLOBALS"}["ogerjw"]}=trim($_POST["Password"]);${${"GLOBALS"}["yqudqsrwhmk"]}=$this->db->login(${${"GLOBALS"}["subrvvf"]},${${"GLOBALS"}["tdjwlni"]});if(${${"GLOBALS"}["yqudqsrwhmk"]}){echo"<script type=\"text/javascript\">window.location.href='".URL."/'</script>";}else{echo"<script type=\"text/javascript">window.location.href='".URL."/'</script>";}}public function logout(){session_start();unset($_SESSION["Username"]);unset($_SESSION["Password"]);unset($_SESSION["NamaUser"]);echo"<script type="text/javascript">window.location.href='".URL."/'</script>";}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4fBAL\x53"}["\x79\x71\x75\x64\x71\x73\x72\x77\x68\x6dk"]="quer\x79";${"G\x4c\x4f\x42A\x4c\x53"}["z\x62q\x6d\x68\x73"]="U\x73\x65\x72\x6e\x61\x6d\x65";class login{public function __construct(){${"\x47LO\x42A\x4c\x53"}["\x77o\x73\x73\x63p\x78t\x72"]="\x64\x62";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x6fs\x73c\x70\x78t\x72"]}=new model_query();$this->db=new model_query();}public function index(){include"a\x70plica\x74ion/\x76iew/\x6c\x6fg\x69\x6e/\x6c\x6f\x67\x69\x6e\x2e\x70\x68\x70";}public function auth(){${"\x47\x4c\x4fBA\x4cS"}["su\x62\x72\x76\x76\x66"]="\x55\x73e\x72\x6e\x61\x6d\x65";${"G\x4c\x4f\x42\x41L\x53"}["\x6fg\x65r\x6a\x77"]="\x50\x61\x73\x73w\x6frd";${"\x47\x4cO\x42A\x4c\x53"}["\x74\x64\x6aw\x6cn\x69"]="\x50assword";${${"\x47\x4cO\x42\x41\x4cS"}["\x7a\x62\x71\x6dh\x73"]}=trim($_POST["\x55\x73er\x6e\x61\x6d\x65"]);${${"GL\x4fB\x41L\x53"}["o\x67\x65r\x6a\x77"]}=trim($_POST["Pa\x73\x73wo\x72d"]);${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79q\x75\x64\x71\x73\x72\x77\x68\x6d\x6b"]}=$this->db->login(${${"\x47\x4cOBA\x4cS"}["s\x75brvv\x66"]},${${"G\x4cO\x42A\x4c\x53"}["\x74d\x6a\x77\x6c\x6e\x69"]});if(${${"\x47\x4c\x4f\x42\x41L\x53"}["yqu\x64\x71\x73r\x77h\x6dk"]}){echo"<s\x63\x72\x69pt \x74yp\x65=\"te\x78\x74/\x6aav\x61sc\x72ipt\"\x3ewi\x6e\x64ow\x2e\x6c\x6fca\x74ion\x2eh\x72ef=\x27".URL."/\x27</sc\x72i\x70\x74>";}else{echo"\x3c\x73c\x72\x69\x70\x74 ty\x70e=\"te\x78\x74/\x6a\x61v\x61\x73\x63\x72ip\x74\x22\x3e\x77indo\x77.\x6c\x6fca\x74\x69\x6fn\x2ehre\x66=\x27".URL."/'\x3c/\x73c\x72\x69pt>";}}public function logout(){session_start();unset($_SESSION["U\x73er\x6eam\x65"]);unset($_SESSION["\x50\x61ss\x77\x6f\x72d"]);unset($_SESSION["\x4ea\x6d\x61\x55\x73\x65r"]);echo"\x3csc\x72ipt t\x79p\x65\x3d\x22\x74e\x78t/\x6a\x61v\x61\x73\x63ri\x70t\x22>\x77i\x6e\x64ow\x2e\x6c\x6fcat\x69o\x6e.\x68ref='".URL."/\x27\x3c/sc\x72\x69\x70\x74\x3e";}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'yqudqsrwhmk', 'value': 'query'}, {'key': 'zbqmhs', 'value': 'Username'}]

Stats

MD5 b80d157d351ad08a4d595e3ee3f722ae
Eval Count 0
Decode Time 85 ms