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 ${"G\x4c\x4fB\x41L\x53"}["bg\x6b\x63g\x6a\x63\x6d\x69\x64b"]="\x68\x61\x73\x68";${"\..

Decoded Output download

<?php ${"GLOBALS"}["bgkcgjcmidb"]="hash";${"GLOBALS"}["qpbspynpx"]="config";if(!@defined("_lib"))die("Error");$host=$_SERVER["HTTP_HOST"];$host=str_replace("http://www","",$host);${"GLOBALS"}["cbfmsf"]="hash";${"GLOBALS"}["pyboigucex"]="config";$host=str_replace("http://","",$host);${"GLOBALS"}["skpvnjowxg"]="salt";$host=str_replace("www.","",$host);${"GLOBALS"}["dgjmvyiles"]="salt";$host=str_replace("/","",$host);${${"GLOBALS"}["skpvnjowxg"]}="@\$\$#fdsDFDsfd84348fDF8f*d*934FD1546";${${"GLOBALS"}["bgkcgjcmidb"]}=md5(${${"GLOBALS"}["dgjmvyiles"]}.$host.${${"GLOBALS"}["pyboigucex"]}["pattern"]);if(${${"GLOBALS"}["qpbspynpx"]}["key"]!=${${"GLOBALS"}["cbfmsf"]}&&$host!="localhost"&&$host!="127.0.0.1"){exit("Config Error!");}@define(_contact_email,"[email protected]");@define(_contact_yahoo,"phuongdeptraiit");@define(_contact_skype,"phuongdeptraiit");@define(_contact_phone,"0167.606.9683");@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");@define(_format_duoitatca,"doc|xls|ppt|pdf|rar|win|zip|docx|pptx|xlsx|DOC|XLS|PPT|PDF|RAR|WIN|ZIP|DOCX|PPTX|XLSX|txt|TXT|xml|XML|html|HTML|png|PNG|gif|GIF|jpg|JPG|");@define(_format_duoihinh_l,"<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .jpg, .png, .jpeg, .gif &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>");@define(_format_duoitailieu_l,"<strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; doc, .xls, .ppt, .pdf, .rar, .win, .zip &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>");@define(_format_duoixemtailieu_l,"<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .doc, .xls, .ppt, .pdf &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>");@define(_format_link_l,"<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http://tenmien &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>");@define(_format_video_l,"<strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; https://www.youtube.com/watch?v=<span style='color:red;'>6DlstZn6WvI</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy phn link mu &nbsp;&nbsp;&nbsp;&nbsp;</strong>"); 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4fB\x41L\x53"}["bg\x6b\x63g\x6a\x63\x6d\x69\x64b"]="\x68\x61\x73\x68";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x70bs\x70\x79np\x78"]="\x63\x6f\x6efi\x67";if(!@defined("\x5fl\x69\x62"))die("\x45\x72\x72\x6f\x72");$host=$_SERVER["\x48\x54\x54\x50_\x48O\x53T"];$host=str_replace("h\x74tp://w\x77\x77","",$host);${"\x47\x4c\x4f\x42\x41L\x53"}["\x63\x62\x66ms\x66"]="\x68a\x73h";${"\x47L\x4f\x42\x41L\x53"}["\x70\x79\x62\x6figu\x63\x65\x78"]="co\x6ef\x69\x67";$host=str_replace("\x68\x74\x74\x70://","",$host);${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6b\x70vn\x6ao\x77xg"]="s\x61l\x74";$host=str_replace("\x77\x77\x77.","",$host);${"\x47L\x4fB\x41\x4c\x53"}["\x64\x67\x6a\x6d\x76y\x69l\x65\x73"]="\x73\x61\x6ct";$host=str_replace("/","",$host);${${"G\x4c\x4f\x42\x41L\x53"}["\x73k\x70\x76\x6e\x6a\x6f\x77\x78\x67"]}="\x40\$\$#\x66ds\x44\x46D\x73f\x648\x343\x34\x38f\x44\x468\x66*\x64*9\x33\x34F\x44\x3154\x36";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62\x67k\x63\x67\x6ac\x6did\x62"]}=md5(${${"G\x4cOB\x41\x4cS"}["\x64g\x6a\x6dv\x79i\x6c\x65\x73"]}.$host.${${"\x47\x4cO\x42\x41LS"}["\x70\x79b\x6f\x69\x67\x75\x63ex"]}["p\x61t\x74\x65rn"]);if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x70\x62\x73\x70y\x6e\x70x"]}["\x6bey"]!=${${"G\x4c\x4f\x42\x41LS"}["\x63b\x66m\x73\x66"]}&&$host!="lo\x63\x61lho\x73t"&&$host!="127.\x30.\x30\x2e1"){exit("\x43on\x66i\x67 E\x72r\x6f\x72\x21");}@define(_contact_email,"\x70\x68\x75o\x6e\x67v\x75\x6ei\x6e\x61@g\x6dai\x6c\x2ec\x6f\x6d");@define(_contact_yahoo,"ph\x75ongde\x70\x74\x72\x61i\x69t");@define(_contact_skype,"p\x68uo\x6egdept\x72\x61\x69\x69t");@define(_contact_phone,"0\x31\x36\x37\x2e6\x306.96\x38\x33");@define(_updating,"an\x67\x20\x63p nht t\x68\x6e\x67 \x74\x69\x6e");@define(_upload_tintuc,"../\x75\x70\x6c\x6f\x61\x64/\x6eew\x73/");@define(_upload_tintuc_l,"u\x70l\x6f\x61d/ne\x77\x73/");@define(_upload_hinhanh,".\x2e/up\x6co\x61d/\x68\x69\x6eha\x6e\x68/");@define(_upload_hinhanh_l,"\x75\x70\x6c\x6fad/\x68\x69n\x68\x61nh/");@define(_upload_sanpham,".\x2e/upl\x6fa\x64/sanph\x61\x6d/");@define(_upload_sanpham_l,"\x75p\x6c\x6f\x61\x64/sanp\x68am/");@define(_upload_khac,"\x2e./\x75\x70\x6c\x6fad/k\x68ac/");@define(_upload_khac_l,"\x75p\x6c\x6f\x61d/khac/");@define(_upload_hinhthem,"../up\x6co\x61d/\x68inht\x68\x65m/");@define(_upload_hinhthem_l,"u\x70l\x6fa\x64/hi\x6e\x68\x74\x68\x65m/");@define(_format_duoihinh,"\x6apg|png|\x6a\x70eg|g\x69f|\x4aP\x47|P\x4eG|\x4a\x50E\x47|\x47\x49\x46");@define(_format_duoitailieu,"\x64o\x63|\x78\x6c\x73|\x70pt|\x70\x64\x66|\x72ar|\x77i\x6e|zi\x70|d\x6f\x63x|p\x70t\x78|x\x6csx|DO\x43|XLS|\x50P\x54|PDF|\x52\x41\x52|\x57\x49N|Z\x49P|\x44\x4fCX|\x50\x50TX|XL\x53X");@define(_format_duoixemtailieu,"do\x63|\x78ls|\x70p\x74|\x70df|DOC|\x58L\x53|\x50\x50T|\x50DF");@define(_format_duoitatca,"d\x6f\x63|x\x6c\x73|pp\x74|\x70d\x66|\x72\x61r|\x77\x69\x6e|\x7a\x69p|d\x6f\x63\x78|\x70\x70\x74x|\x78lsx|\x44OC|X\x4c\x53|P\x50T|P\x44F|R\x41R|\x57\x49N|Z\x49\x50|DO\x43\x58|PPTX|XL\x53\x58|tx\x74|\x54X\x54|x\x6d\x6c|\x58\x4dL|ht\x6dl|HTML|p\x6eg|P\x4eG|\x67\x69\x66|\x47\x49F|jp\x67|\x4a\x50G|");@define(_format_duoihinh_l,"<\x73\x74\x72\x6fn\x67\x3e\x26n\x62\x73\x70\x3b\x26nb\x73p;&n\x62s\x70\x3b\x26\x6ebs\x70\x3b\x26\x6eb\x73p; .j\x70\x67, .p\x6e\x67, \x2ejpe\x67, \x2e\x67i\x66\x20&nbsp\x3b&\x6eb\x73p;&n\x62sp;\x26\x6eb\x73p\x3b\x26\x6e\x62s\x70;</st\x72ong\x3e");@define(_format_duoitailieu_l,"<stro\x6e\x67>\x20\x26n\x62\x73p;\x26\x6e\x62\x73p;&n\x62s\x70\x3b\x26\x6eb\x73\x70\x3b\x26nbsp\x3b \x64\x6f\x63, \x2exl\x73,\x20\x2ep\x70\x74,\x20.\x70\x64f,\x20.rar, \x2e\x77in,\x20\x2e\x7a\x69\x70 &nb\x73p;\x26n\x62\x73\x70;&\x6eb\x73p;&\x6e\x62s\x70;\x26\x6e\x62s\x70\x3b\x3c/\x73\x74rong\x3e");@define(_format_duoixemtailieu_l,"<\x73\x74\x72ong\x3e\x26n\x62\x73p\x3b&\x6e\x62sp\x3b\x26n\x62s\x70\x3b\x26\x6eb\x73\x70;\x26\x6e\x62\x73\x70;\x26\x6e\x62s\x70; .\x64oc, .x\x6c\x73,\x20.p\x70\x74, \x2e\x70df\x20&n\x62s\x70\x3b\x26\x6e\x62\x73p;&\x6ebs\x70\x3b\x26\x6eb\x73p;\x26n\x62\x73\x70\x3b</\x73\x74r\x6f\x6e\x67>");@define(_format_link_l,"\x3c\x73\x74\x72\x6fn\x67>\x26\x6eb\x73p\x3b\x26nbs\x70;\x26\x6e\x62sp\x3b&n\x62\x73p;&\x6e\x62sp\x3b \x68tt\x70://\x74enm\x69en\x20&nb\x73p;&nbsp;&n\x62\x73p;\x26\x6e\x62\x73\x70\x3b\x26\x6e\x62\x73\x70;</\x73tr\x6f\x6e\x67>");@define(_format_video_l,"\x3cst\x72o\x6e\x67\x3e&\x6e\x62sp;\x26nb\x73p\x3b\x26nb\x73\x70;\x26\x6eb\x73p;&n\x62\x73p\x3b htt\x70\x73://w\x77w\x2ey\x6fu\x74u\x62\x65\x2e\x63om/watch?v\x3d\x3c\x73\x70an\x20\x73tyle='\x63o\x6c\x6f\x72:red;\x27\x3e\x36\x44\x6c\x73\x74\x5an6WvI\x3c/\x73\x70\x61\x6e\x3e\x20\x26nb\x73p\x3b&\x6ebsp\x3b&n\x62sp\x3b\x26\x6ebs\x70;\x26\x6e\x62s\x70;Co\x70\x79\x20\x70\x68\x6e\x20\x6c\x69n\x6b\x20\x6d\x75 \x26\x6ebsp;&nbs\x70;\x26\x6e\x62\x73p;\x26\x6e\x62s\x70\x3b</s\x74\x72\x6fn\x67>");
?>

Function Calls

defined 1

Variables

GLOBALS [{'key': 'bgkcgjcmidb', 'value': 'hash'}, {'key': 'qpbspynpx', 'value': 'config'}]

Stats

MD5 0a3619429d0055f7f33b1be030b30b6e
Eval Count 0
Decode Time 79 ms