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 ${"GLOBAL\x53"}["\x79\x72\x71v\x6e\x66"]="c\x6f\x6e\x66\x69\x67";${"\x47\x4c\x4f\x42..

Decoded Output download

<?php ${"GLOBALS"}["yrqvnf"]="config";${"GLOBALS"}["byhnerxybodp"]="salt";if(!@defined("_lib"))die("Error");$host=$_SERVER["HTTP_HOST"];$host=str_replace("http://www","",$host);${"GLOBALS"}["ebwidezue"]="salt";$host=str_replace("http://","",$host);$ojpevsjxgshi="hash";$host=str_replace("www.","",$host);$jfoknbkx="config";$host=str_replace("/","",$host);${${"GLOBALS"}["ebwidezue"]}="@\$\$#fdsDFDsfd84348fDF8f*d*934FD1546";${"GLOBALS"}["kxpcearyif"]="hash";${$ojpevsjxgshi}=md5(${${"GLOBALS"}["byhnerxybodp"]}.$host.${$jfoknbkx}["pattern"]);if(${${"GLOBALS"}["yrqvnf"]}["key"]!=${${"GLOBALS"}["kxpcearyif"]}&&$host!="localhost"&&$host!="127.0.0.1"){exit("Config Error!");}@define(_js_temp,"js/temp/");@define(_layout_temp,"layout/temp/");@define(_updating,"ang cp nht thng tin");@define(_upload_thanhvien,"../upload/thanhvien/");@define(_upload_thanhvien_l,"upload/thanhvien/");@define(_upload_download,"../download/");@define(_upload_download_l,"download/");@define(_upload_hinhanh,"../upload/hinhanh/");@define(_upload_hinhanh_l,"upload/hinhanh/");@define(_upload_chinhanh,"../upload/chinhanh/");@define(_upload_chinhanh_l,"upload/chinhanh/");@define(_upload_product,"../upload/product/");@define(_upload_product_l,"upload/product/");@define(_upload_post,"../upload/post/");@define(_upload_post_l,"upload/post/");@define(_upload_baiviet,"../upload/baiviet/");@define(_upload_baiviet_l,"upload/baiviet/");@define(_upload_album,"../upload/album/");@define(_upload_album_l,"upload/album/"); ?>

Did this file decode correctly?

Original Code

<?php ${"GLOBAL\x53"}["\x79\x72\x71v\x6e\x66"]="c\x6f\x6e\x66\x69\x67";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["by\x68\x6ee\x72\x78\x79b\x6fd\x70"]="\x73\x61\x6ct";if(!@defined("\x5fl\x69\x62"))die("E\x72\x72\x6f\x72");$host=$_SERVER["\x48T\x54\x50\x5f\x48OST"];$host=str_replace("\x68\x74\x74p://www","",$host);${"\x47LOB\x41LS"}["\x65\x62wide\x7au\x65"]="s\x61\x6ct";$host=str_replace("h\x74\x74\x70://","",$host);$ojpevsjxgshi="ha\x73h";$host=str_replace("\x77\x77\x77.","",$host);$jfoknbkx="\x63\x6f\x6e\x66\x69\x67";$host=str_replace("/","",$host);${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65bw\x69d\x65\x7a\x75\x65"]}="\x40\$\$\x23\x66\x64s\x44\x46\x44\x73\x66\x64\x38\x343\x34\x38fDF8f*\x64*9\x334\x46\x44\x315\x34\x36";${"\x47\x4c\x4f\x42AL\x53"}["\x6b\x78pc\x65\x61r\x79i\x66"]="\x68a\x73h";${$ojpevsjxgshi}=md5(${${"GLO\x42\x41\x4c\x53"}["b\x79h\x6e\x65r\x78y\x62\x6fd\x70"]}.$host.${$jfoknbkx}["\x70\x61\x74\x74e\x72\x6e"]);if(${${"G\x4cOB\x41\x4c\x53"}["\x79\x72\x71\x76\x6e\x66"]}["k\x65\x79"]!=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x78p\x63\x65\x61ryi\x66"]}&&$host!="\x6c\x6f\x63alh\x6fs\x74"&&$host!="\x3127.\x30\x2e0.1"){exit("\x43\x6fn\x66i\x67\x20\x45rr\x6f\x72\x21");}@define(_js_temp,"js/\x74\x65\x6dp/");@define(_layout_temp,"\x6c\x61\x79out/\x74em\x70/");@define(_updating,"an\x67 c\x70 \x6eh\x74\x20t\x68n\x67\x20\x74\x69n");@define(_upload_thanhvien,"\x2e./up\x6coad/th\x61\x6eh\x76\x69en/");@define(_upload_thanhvien_l,"uploa\x64/\x74h\x61\x6ehv\x69en/");@define(_upload_download,"../\x64\x6fwn\x6c\x6f\x61d/");@define(_upload_download_l,"d\x6f\x77nloa\x64/");@define(_upload_hinhanh,"\x2e\x2e/u\x70l\x6f\x61\x64/\x68\x69n\x68a\x6eh/");@define(_upload_hinhanh_l,"\x75ploa\x64/\x68\x69nh\x61\x6eh/");@define(_upload_chinhanh,"\x2e./u\x70\x6c\x6f\x61d/\x63\x68i\x6e\x68\x61n\x68/");@define(_upload_chinhanh_l,"u\x70l\x6f\x61\x64/c\x68i\x6eh\x61\x6e\x68/");@define(_upload_product,"\x2e./\x75\x70loa\x64/p\x72odu\x63t/");@define(_upload_product_l,"upl\x6fa\x64/\x70\x72\x6f\x64\x75c\x74/");@define(_upload_post,"\x2e./\x75\x70l\x6f\x61d/post/");@define(_upload_post_l,"\x75\x70l\x6f\x61d/\x70os\x74/");@define(_upload_baiviet,"\x2e\x2e/u\x70\x6c\x6fa\x64/b\x61\x69v\x69et/");@define(_upload_baiviet_l,"up\x6co\x61\x64/b\x61\x69viet/");@define(_upload_album,".\x2e/\x75p\x6c\x6f\x61d/alb\x75\x6d/");@define(_upload_album_l,"u\x70load/\x61\x6c\x62um/");

Function Calls

defined 1

Variables

GLOBALS [{'key': 'yrqvnf', 'value': 'config'}, {'key': 'byhnerxybodp', 'value': 'salt'}]

Stats

MD5 5862c06b7b49f09226babe08c6791036
Eval Count 0
Decode Time 77 ms