Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6f\x6d\x72\x69\x79\x74n\x71o\x6b\x73"]="\x63\x6f\x6e..

Decoded Output download

<?  ${"GLOBALS"}["jomriytnqoks"]="config";${"GLOBALS"}["onikwpni"]="hash";${"GLOBALS"}["ggvvviaoyeg"]="salt";if(!@defined("_lib"))die("Error");$host=$_SERVER["HTTP_HOST"];${"GLOBALS"}["qsgmvvxwv"]="salt";$host=str_replace("http://www","",$host);$host=str_replace("http://","",$host);$vfwrijx="hash";${"GLOBALS"}["lvtxrsv"]="config";$host=str_replace("www.","",$host);$host=str_replace("/","",$host);${${"GLOBALS"}["ggvvviaoyeg"]}="@\$\$#fdsDFDsfd84348fDF8f*d*934FD1546";${${"GLOBALS"}["onikwpni"]}=md5(${${"GLOBALS"}["qsgmvvxwv"]}.$host.${${"GLOBALS"}["lvtxrsv"]}["pattern"]);if(${${"GLOBALS"}["jomriytnqoks"]}["key"]!=${$vfwrijx}&&$host!="localhost"&&$host!="127.0.0.1"){exit("Config Error!");}@define(_contact_email,"[email protected]");@define(_contact_yahoo,"");@define(_contact_skype,"");@define(_contact_phone,"0167.412.5176");@define(_updating,"ang cp nht thng tin");@define(_upload_tintuc,"../upload/news/");@define(_upload_tintuc_l,"upload/news/");@define(_upload_hinhanh,"../upload/hinhanh/");@define(_upload_hinhanh_l,"upload/hinhanh/");@define(_upload_sanpham,"../upload/sanpham/");@define(_upload_sanpham_l,"upload/sanpham/");@define(_upload_khac,"../upload/khac/");@define(_upload_khac_l,"upload/khac/");@define(_upload_hinhthem,"../upload/hinhthem/");@define(_upload_hinhthem_l,"upload/hinhthem/");@define(_format_duoihinh,"jpg|png|jpeg|gif|JPG|PNG|JPEG|GIF");@define(_format_duoitailieu,"doc|xls|ppt|pdf|rar|win|zip|docx|pptx|xlsx|DOC|XLS|PPT|PDF|RAR|WIN|ZIP|DOCX|PPTX|XLSX");@define(_format_duoixemtailieu,"doc|xls|ppt|pdf|DOC|XLS|PPT|PDF"); ?>

Did this file decode correctly?

Original Code

${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6f\x6d\x72\x69\x79\x74n\x71o\x6b\x73"]="\x63\x6f\x6ef\x69\x67";${"G\x4c\x4fB\x41L\x53"}["\x6fni\x6b\x77\x70\x6e\x69"]="h\x61\x73\x68";${"GL\x4fB\x41\x4cS"}["ggv\x76\x76i\x61\x6f\x79\x65g"]="\x73\x61\x6c\x74";if(!@defined("\x5fl\x69\x62"))die("\x45r\x72or");$host=$_SERVER["HTTP_H\x4f\x53T"];${"\x47\x4cOBA\x4c\x53"}["q\x73gm\x76\x76\x78wv"]="\x73al\x74";$host=str_replace("h\x74t\x70://ww\x77","",$host);$host=str_replace("\x68\x74\x74p://","",$host);$vfwrijx="\x68\x61\x73\x68";${"GL\x4fBA\x4cS"}["\x6c\x76\x74\x78\x72\x73\x76"]="\x63\x6fn\x66\x69g";$host=str_replace("\x77ww\x2e","",$host);$host=str_replace("/","",$host);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67\x67v\x76vi\x61\x6f\x79\x65\x67"]}="\x40\$\$#fds\x44\x46\x44sfd\x384\x3348f\x44F\x38\x66*d*93\x34\x46\x4415\x34\x36";${${"GLO\x42AL\x53"}["\x6fn\x69k\x77\x70\x6ei"]}=md5(${${"\x47L\x4f\x42A\x4c\x53"}["\x71sg\x6d\x76\x76\x78\x77\x76"]}.$host.${${"\x47\x4c\x4fB\x41L\x53"}["lvtxr\x73v"]}["\x70a\x74te\x72n"]);if(${${"GL\x4fBA\x4c\x53"}["\x6ao\x6d\x72\x69\x79tnq\x6f\x6b\x73"]}["\x6bey"]!=${$vfwrijx}&&$host!="\x6c\x6f\x63a\x6c\x68\x6fs\x74"&&$host!="\x3127.0\x2e\x30\x2e1"){exit("\x43\x6fnf\x69g\x20E\x72ror\x21");}@define(_contact_email,"\x70\x68\x61mtuy\x65\x6e.n\x69\x6e\x61@\x67ma\x69l\x2ec\x6f\x6d");@define(_contact_yahoo,"");@define(_contact_skype,"");@define(_contact_phone,"0\x316\x37\x2e\x34\x31\x32\x2e\x35\x317\x36");@define(_updating,"\x61n\x67\x20\x63\x70\x20\x6eh\x74 thng ti\x6e");@define(_upload_tintuc,"\x2e\x2e/u\x70\x6c\x6fa\x64/n\x65ws/");@define(_upload_tintuc_l,"up\x6co\x61d/\x6eews/");@define(_upload_hinhanh,"../u\x70lo\x61d/h\x69n\x68\x61\x6e\x68/");@define(_upload_hinhanh_l,"\x75pl\x6fa\x64/\x68\x69\x6ehan\x68/");@define(_upload_sanpham,"../uplo\x61d/s\x61np\x68\x61m/");@define(_upload_sanpham_l,"u\x70loa\x64/s\x61\x6ep\x68\x61m/");@define(_upload_khac,"../\x75p\x6c\x6fad/k\x68ac/");@define(_upload_khac_l,"\x75\x70\x6coa\x64/\x6bhac/");@define(_upload_hinhthem,"\x2e./uploa\x64/hi\x6eh\x74\x68e\x6d/");@define(_upload_hinhthem_l,"upl\x6f\x61d/hi\x6e\x68\x74he\x6d/");@define(_format_duoihinh,"jpg|pn\x67|jp\x65g|\x67\x69f|J\x50\x47|P\x4e\x47|J\x50\x45G|\x47\x49F");@define(_format_duoitailieu,"\x64o\x63|x\x6c\x73|p\x70\x74|p\x64f|\x72\x61r|\x77in|z\x69\x70|d\x6fcx|pptx|xl\x73x|DOC|\x58L\x53|PPT|\x50\x44F|R\x41\x52|\x57IN|ZI\x50|\x44\x4f\x43\x58|\x50PT\x58|XLS\x58");@define(_format_duoixemtailieu,"d\x6fc|xls|ppt|pd\x66|DOC|\x58L\x53|\x50P\x54|\x50\x44F");

Function Calls

defined 1

Variables

GLOBALS [{'key': 'jomriytnqoks', 'value': 'config'}, {'key': 'onikwpni', 'value': 'hash'}, {'key': 'ggvvviaoyeg', 'value': 'salt'}]

Stats

MD5 691a08899c69fc3199e469273b73e826
Eval Count 0
Decode Time 52 ms