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\x41L\x53"}["\x6e\x62\x72\x66lpki\x6c\x6c\x63"]="\x63on\x66\x69\x67\..

Decoded Output download

<?php ${"GLOBALS"}["nbrflpkillc"]="config_url";${"GLOBALS"}["jubihghe"]="sql";${"GLOBALS"}["cegtskgxatv"]="password";${"GLOBALS"}["puahxuoqh"]="username";$gngsxk="title_cat";if(!defined("_source"))die("Error");${"GLOBALS"}["vnppoxomuiy"]="title";${$gngsxk}="Thm username";${${"GLOBALS"}["vnppoxomuiy"]}="Thm username";if(!empty($_POST)){if(strtoupper($_POST["capcha"])!=$_SESSION["key"]){transfer(_mabaovesai,"them-user.html");}else{${${"GLOBALS"}["puahxuoqh"]}=$_POST["username"];${"GLOBALS"}["pvmvjpfu"]="sql";${${"GLOBALS"}["cegtskgxatv"]}=md5($_POST["password"]);${${"GLOBALS"}["pvmvjpfu"]}="INSERT INTO  table_user (username,password,role,com,active) VALUES ('$username','$password',3,'admin',1)";if(mysql_query(${${"GLOBALS"}["jubihghe"]})==true){transfer(_dangkythanhcong,"http://".${${"GLOBALS"}["nbrflpkillc"]});}else{transfer(_hethongloi,"them-user.html");}}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4cO\x42\x41L\x53"}["\x6e\x62\x72\x66lpki\x6c\x6c\x63"]="\x63on\x66\x69\x67\x5f\x75r\x6c";${"\x47L\x4f\x42\x41LS"}["\x6a\x75bi\x68\x67\x68\x65"]="\x73ql";${"GL\x4f\x42\x41\x4cS"}["c\x65\x67\x74sk\x67\x78\x61\x74\x76"]="pas\x73w\x6f\x72d";${"\x47\x4cO\x42AL\x53"}["\x70\x75\x61\x68xu\x6f\x71h"]="\x75\x73\x65\x72n\x61m\x65";$gngsxk="\x74i\x74\x6c\x65\x5fcat";if(!defined("_\x73o\x75r\x63e"))die("Er\x72\x6f\x72");${"GL\x4fB\x41\x4c\x53"}["vnpp\x6fx\x6f\x6d\x75\x69\x79"]="\x74i\x74\x6c\x65";${$gngsxk}="Th\x6d usern\x61\x6de";${${"\x47L\x4fB\x41\x4c\x53"}["\x76\x6e\x70\x70ox\x6f\x6d\x75\x69\x79"]}="Thm\x20\x75s\x65\x72\x6eame";if(!empty($_POST)){if(strtoupper($_POST["ca\x70cha"])!=$_SESSION["\x6bey"]){transfer(_mabaovesai,"t\x68em-use\x72\x2eh\x74\x6d\x6c");}else{${${"\x47\x4c\x4fB\x41\x4cS"}["p\x75a\x68\x78u\x6fqh"]}=$_POST["us\x65rn\x61m\x65"];${"\x47\x4cOB\x41L\x53"}["pvm\x76j\x70fu"]="\x73\x71\x6c";${${"\x47\x4cO\x42AL\x53"}["\x63\x65gt\x73\x6b\x67\x78a\x74\x76"]}=md5($_POST["\x70\x61\x73sw\x6f\x72\x64"]);${${"\x47\x4cO\x42\x41L\x53"}["\x70\x76\x6dv\x6ap\x66u"]}="I\x4e\x53\x45\x52T \x49\x4e\x54O  \x74\x61\x62\x6c\x65\x5fu\x73\x65\x72\x20(use\x72\x6eame,pas\x73wo\x72d,role,\x63\x6fm,\x61c\x74ive) VALUE\x53 (\x27$username\x27,'$password',\x33,\x27a\x64\x6din\x27,1)";if(mysql_query(${${"\x47\x4cO\x42A\x4c\x53"}["\x6au\x62\x69hg\x68e"]})==true){transfer(_dangkythanhcong,"\x68t\x74\x70://".${${"G\x4c\x4f\x42\x41LS"}["\x6e\x62r\x66\x6cp\x6b\x69llc"]});}else{transfer(_hethongloi,"t\x68\x65\x6d-u\x73\x65r.\x68\x74m\x6c");}}}
?>

Function Calls

defined 1

Variables

$gngsxk title_cat
GLOBALS [{'key': 'nbrflpkillc', 'value': 'config_url'}, {'key': 'jubihghe', 'value': 'sql'}, {'key': 'cegtskgxatv', 'value': 'password'}, {'key': 'puahxuoqh', 'value': 'username'}]

Stats

MD5 d85f6f3a5cf9762de53167e1936aaccc
Eval Count 0
Decode Time 36 ms