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 ${"\x47L\x4f\x42\x41L\x53"}["\x64\x64\x63f\x6d\x70\x72\x68"]="hash";${"\x47\x4cO\x42..

Decoded Output download

<?php ${"GLOBALS"}["ddcfmprh"]="hash";${"GLOBALS"}["ymcnnfexj"]="salt";$tentxhk="config";if(!@defined("LIBRARIES"))die("Error");$jkblwwtn="hash";$host=$_SERVER["HTTP_HOST"];${"GLOBALS"}["oxaloq"]="salt";$host=str_replace("http://www","",$host);$host=str_replace("http://","",$host);$host=str_replace("www.","",$host);${"GLOBALS"}["gujyfuv"]="config";$host=str_replace("/","",$host);${${"GLOBALS"}["ymcnnfexj"]}="@\$\$#fdsDFDsfd84348fDF8f*d*934FD1546";${${"GLOBALS"}["ddcfmprh"]}=md5(${${"GLOBALS"}["oxaloq"]}.$host.${${"GLOBALS"}["gujyfuv"]}["pattern"]);if(${$tentxhk}["key"]!=${$jkblwwtn}&&$host!="localhost"&&$host!="127.0.0.1"){exit("Config Error!");}@define(UPLOAD_FILE,"../upload/download/");@define(UPLOAD_FILE_L,"upload/download/");@define(UPLOAD_SYNC,"../upload/sync/");@define(UPLOAD_SYNC_L,"upload/sync/");@define(UPLOAD_EXCEL,"../upload/excel/");@define(UPLOAD_EXCEL_L,"upload/excel/");@define(UPLOAD_SEOPAGE,"../upload/seopage/");@define(UPLOAD_SEOPAGE_L,"upload/seopage/");@define(UPLOAD_PHOTO,"../upload/photo/");@define(UPLOAD_PHOTO_L,"upload/photo/");@define(UPLOAD_TEMP,"../upload/temp/");@define(UPLOAD_TEMP_L,"upload/temp/");@define(UPLOAD_USER,"../upload/user/");@define(UPLOAD_PRODUCT,"../upload/product/");@define(UPLOAD_PRODUCT_L,"upload/product/");@define(UPLOAD_COLOR,"../upload/mau/");@define(UPLOAD_COLOR_L,"upload/mau/");@define(UPLOAD_NEWS,"../upload/news/");@define(UPLOAD_NEWS_L,"upload/news/");@define(UPLOAD_TAGS,"../upload/tags/");@define(UPLOAD_TAGS_L,"upload/tags/"); 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4f\x42\x41L\x53"}["\x64\x64\x63f\x6d\x70\x72\x68"]="hash";${"\x47\x4cO\x42\x41\x4c\x53"}["\x79m\x63n\x6e\x66\x65\x78\x6a"]="\x73\x61\x6ct";$tentxhk="\x63\x6fn\x66i\x67";if(!@defined("L\x49\x42\x52\x41R\x49\x45S"))die("E\x72ror");$jkblwwtn="\x68\x61\x73h";$host=$_SERVER["\x48T\x54P_\x48\x4fST"];${"G\x4c\x4fB\x41\x4c\x53"}["ox\x61\x6co\x71"]="\x73\x61\x6ct";$host=str_replace("h\x74tp://w\x77w","",$host);$host=str_replace("\x68\x74t\x70://","",$host);$host=str_replace("\x77\x77\x77.","",$host);${"\x47\x4cOB\x41\x4c\x53"}["\x67u\x6ay\x66\x75\x76"]="co\x6efi\x67";$host=str_replace("/","",$host);${${"GL\x4f\x42\x41\x4c\x53"}["\x79mc\x6e\x6e\x66\x65xj"]}="\x40\$\$\x23f\x64\x73\x44FD\x73f\x64\x38\x34\x334\x38fDF8f*d*\x3934FD1\x35\x34\x36";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64d\x63\x66\x6dp\x72\x68"]}=md5(${${"G\x4cO\x42\x41LS"}["\x6f\x78a\x6co\x71"]}.$host.${${"GL\x4fB\x41\x4cS"}["\x67\x75\x6a\x79\x66\x75\x76"]}["pa\x74\x74\x65r\x6e"]);if(${$tentxhk}["\x6b\x65y"]!=${$jkblwwtn}&&$host!="\x6coc\x61l\x68\x6f\x73\x74"&&$host!="1\x327.0.0\x2e1"){exit("\x43\x6f\x6efi\x67 Er\x72\x6fr\x21");}@define(UPLOAD_FILE,"\x2e\x2e/\x75p\x6c\x6fa\x64/d\x6fw\x6e\x6c\x6f\x61\x64/");@define(UPLOAD_FILE_L,"\x75p\x6c\x6fa\x64/\x64\x6f\x77\x6e\x6c\x6f\x61\x64/");@define(UPLOAD_SYNC,"../\x75\x70lo\x61d/sync/");@define(UPLOAD_SYNC_L,"\x75ploa\x64/s\x79n\x63/");@define(UPLOAD_EXCEL,".\x2e/\x75p\x6co\x61\x64/\x65xc\x65\x6c/");@define(UPLOAD_EXCEL_L,"u\x70\x6coad/e\x78\x63el/");@define(UPLOAD_SEOPAGE,"\x2e./up\x6coad/\x73\x65op\x61\x67e/");@define(UPLOAD_SEOPAGE_L,"u\x70\x6co\x61d/\x73\x65o\x70\x61\x67e/");@define(UPLOAD_PHOTO,"../\x75p\x6co\x61d/p\x68\x6fto/");@define(UPLOAD_PHOTO_L,"\x75\x70load/p\x68\x6fto/");@define(UPLOAD_TEMP,".\x2e/u\x70\x6c\x6fad/te\x6d\x70/");@define(UPLOAD_TEMP_L,"upload/\x74\x65mp/");@define(UPLOAD_USER,"../uplo\x61d/\x75s\x65\x72/");@define(UPLOAD_PRODUCT,"\x2e./up\x6co\x61\x64/\x70\x72o\x64\x75ct/");@define(UPLOAD_PRODUCT_L,"\x75plo\x61\x64/\x70r\x6fd\x75\x63t/");@define(UPLOAD_COLOR,"\x2e\x2e/\x75\x70\x6coad/\x6d\x61\x75/");@define(UPLOAD_COLOR_L,"up\x6coa\x64/m\x61u/");@define(UPLOAD_NEWS,".\x2e/\x75\x70\x6c\x6fad/n\x65\x77\x73/");@define(UPLOAD_NEWS_L,"u\x70\x6c\x6fa\x64/ne\x77\x73/");@define(UPLOAD_TAGS,".\x2e/\x75\x70l\x6fad/\x74\x61\x67s/");@define(UPLOAD_TAGS_L,"\x75p\x6c\x6f\x61d/t\x61\x67\x73/");
?>

Function Calls

defined 1

Variables

GLOBALS [{'key': 'ddcfmprh', 'value': 'hash'}, {'key': 'ymcnnfexj', 'value': 'salt'}]
$tentxhk config

Stats

MD5 aa8025b8640e3767854cf359e81a8173
Eval Count 0
Decode Time 72 ms