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\x42A\x4c\x53"}["\x70f\x68\x6e\x75\x70\x71\x74\x67t"]="\x61\x70pl\x69cat..

Decoded Output download

<?php ${"GLOBALS"}["pfhnupqtgt"]="application_folder";${"GLOBALS"}["tuvigovnkk"]="system_path";${"GLOBALS"}["hnztluuqhy"]="system_path";if(!session_id()){session_start();}date_default_timezone_set("Asia/Jakarta");define("_doc_root",dirname(__FILE__)."/");define("_dir_icon","assets/images/icon/");define("_dir_captcha","assets/images/captcha/");${"GLOBALS"}["unkqrwlqyvxo"]="application_folder";$ihsuseenovn="system_path";define("_app_name_","Inofarma");define("_reseller_name_","Inolabs");define("_reseller_website_","http://inolabs.net");define("_theme_color_","navy");define("ENVIRONMENT","production");if(defined("ENVIRONMENT")){switch(ENVIRONMENT){case"development":error_reporting(E_ALL);break;case"inofarma.com":case"demo":case"testing":case"production":error_reporting(0);break;default:exit("The application environment is not set correctly.");}}${${"GLOBALS"}["tuvigovnkk"]}="system";${${"GLOBALS"}["pfhnupqtgt"]}=${${"GLOBALS"}["tuvigovnkk"]}."/application";if(defined("STDIN")){chdir(dirname(__FILE__));}if(realpath(${${"GLOBALS"}["tuvigovnkk"]})!==FALSE){${${"GLOBALS"}["tuvigovnkk"]}=realpath(${${"GLOBALS"}["tuvigovnkk"]})."/";}${${"GLOBALS"}["hnztluuqhy"]}=rtrim(${${"GLOBALS"}["tuvigovnkk"]},"/")."/";if(!is_dir(${$ihsuseenovn})){exit("Your system folder path does not appear to be set correctly. Please open the following file and correct this: ".pathinfo(__FILE__,PATHINFO_BASENAME));}define("SELF",pathinfo(__FILE__,PATHINFO_BASENAME));define("EXT",".php");define("BASEPATH",str_replace("\","/",${${"GLOBALS"}["tuvigovnkk"]}));define("FCPATH",str_replace(SELF,"",__FILE__));define("SYSDIR",trim(strrchr(trim(BASEPATH,"/"),"/"),"/"));define("__CRON_LOGS__",dirname(__FILE__)."/cron/logs/");if(is_dir(${${"GLOBALS"}["unkqrwlqyvxo"]})){define("APPPATH",${${"GLOBALS"}["pfhnupqtgt"]}."/");}else{if(!is_dir(BASEPATH.${${"GLOBALS"}["pfhnupqtgt"]}."/")){exit("Your application folder path does not appear to be set correctly. Please open the following file and correct this: ".SELF);}define("APPPATH",BASEPATH.${${"GLOBALS"}["pfhnupqtgt"]}."/");}require_once BASEPATH."core/CodeIgniter.php"; 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4f\x42A\x4c\x53"}["\x70f\x68\x6e\x75\x70\x71\x74\x67t"]="\x61\x70pl\x69cati\x6f\x6e_\x66o\x6c\x64\x65\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x75\x76ig\x6fvn\x6b\x6b"]="\x73\x79\x73\x74e\x6d\x5f\x70a\x74\x68";${"G\x4c\x4fBA\x4c\x53"}["hn\x7a\x74l\x75u\x71\x68\x79"]="\x73\x79\x73tem_\x70\x61\x74\x68";if(!session_id()){session_start();}date_default_timezone_set("A\x73\x69\x61/Jak\x61rt\x61");define("\x5f\x64o\x63\x5fr\x6f\x6f\x74",dirname(__FILE__)."/");define("_d\x69\x72\x5fi\x63on","ass\x65ts/\x69ma\x67e\x73/ico\x6e/");define("_dir_\x63a\x70t\x63ha","\x61\x73\x73e\x74s/\x69\x6d\x61\x67\x65\x73/c\x61p\x74ch\x61/");${"\x47\x4cOB\x41LS"}["unk\x71\x72\x77\x6c\x71y\x76\x78\x6f"]="\x61pp\x6ci\x63\x61tio\x6e\x5ff\x6f\x6c\x64e\x72";$ihsuseenovn="sy\x73t\x65\x6d\x5f\x70\x61\x74\x68";define("_\x61\x70p\x5fn\x61\x6d\x65_","In\x6ffa\x72\x6da");define("\x5f\x72e\x73\x65ll\x65r\x5fn\x61\x6de_","Inolab\x73");define("_\x72\x65s\x65l\x6ce\x72_web\x73\x69\x74\x65_","ht\x74p://i\x6e\x6fl\x61bs.n\x65\x74");define("_them\x65_\x63\x6flo\x72_","\x6e\x61\x76y");define("\x45\x4eVI\x52ON\x4d\x45NT","\x70\x72\x6fd\x75cti\x6f\x6e");if(defined("E\x4e\x56\x49R\x4fNM\x45N\x54")){switch(ENVIRONMENT){case"\x64\x65ve\x6c\x6fp\x6de\x6et":error_reporting(E_ALL);break;case"\x69n\x6f\x66\x61\x72m\x61\x2ecom":case"\x64\x65\x6d\x6f":case"te\x73\x74\x69\x6eg":case"pr\x6f\x64uction":error_reporting(0);break;default:exit("\x54h\x65 \x61pp\x6c\x69c\x61t\x69o\x6e\x20\x65\x6ev\x69\x72on\x6de\x6et \x69s n\x6ft\x20\x73e\x74\x20co\x72\x72e\x63\x74\x6c\x79.");}}${${"\x47\x4cOB\x41LS"}["tuv\x69g\x6fv\x6ek\x6b"]}="\x73\x79\x73\x74\x65\x6d";${${"\x47LOBALS"}["\x70\x66h\x6e\x75\x70\x71\x74\x67\x74"]}=${${"G\x4cOB\x41L\x53"}["t\x75\x76\x69\x67\x6fv\x6e\x6b\x6b"]}."/\x61p\x70\x6cic\x61t\x69\x6fn";if(defined("STDI\x4e")){chdir(dirname(__FILE__));}if(realpath(${${"G\x4c\x4f\x42\x41\x4c\x53"}["tu\x76ig\x6f\x76\x6e\x6b\x6b"]})!==FALSE){${${"\x47\x4c\x4f\x42AL\x53"}["\x74\x75\x76\x69\x67\x6f\x76\x6e\x6b\x6b"]}=realpath(${${"\x47\x4cOB\x41\x4cS"}["\x74\x75v\x69\x67\x6fv\x6e\x6b\x6b"]})."/";}${${"\x47\x4cO\x42A\x4cS"}["\x68n\x7at\x6cu\x75qh\x79"]}=rtrim(${${"GL\x4f\x42\x41LS"}["tuv\x69\x67\x6fvnk\x6b"]},"/")."/";if(!is_dir(${$ihsuseenovn})){exit("\x59\x6f\x75r\x20\x73\x79s\x74\x65m \x66ol\x64er\x20\x70\x61\x74\x68 \x64oe\x73\x20n\x6ft\x20a\x70pear\x20t\x6f\x20\x62\x65\x20\x73\x65\x74 \x63\x6frr\x65\x63\x74l\x79\x2e\x20Please \x6fp\x65n t\x68e f\x6fl\x6c\x6fw\x69\x6eg\x20\x66ile \x61n\x64 \x63\x6fr\x72\x65\x63t\x20thi\x73:\x20".pathinfo(__FILE__,PATHINFO_BASENAME));}define("S\x45\x4cF",pathinfo(__FILE__,PATHINFO_BASENAME));define("E\x58\x54",".ph\x70");define("\x42AS\x45\x50AT\x48",str_replace("\x5c","/",${${"\x47L\x4f\x42\x41\x4c\x53"}["t\x75\x76i\x67\x6f\x76n\x6b\x6b"]}));define("F\x43PATH",str_replace(SELF,"",__FILE__));define("S\x59SD\x49R",trim(strrchr(trim(BASEPATH,"/"),"/"),"/"));define("\x5f\x5f\x43R\x4f\x4e_L\x4fG\x53__",dirname(__FILE__)."/\x63\x72\x6fn/\x6c\x6fg\x73/");if(is_dir(${${"\x47L\x4f\x42\x41\x4cS"}["\x75\x6ekq\x72wl\x71\x79\x76\x78\x6f"]})){define("A\x50\x50PA\x54H",${${"\x47L\x4f\x42AL\x53"}["p\x66\x68nu\x70\x71\x74\x67\x74"]}."/");}else{if(!is_dir(BASEPATH.${${"\x47L\x4f\x42\x41\x4c\x53"}["\x70f\x68\x6e\x75p\x71t\x67t"]}."/")){exit("\x59ou\x72\x20app\x6c\x69\x63ati\x6fn\x20f\x6flder\x20p\x61t\x68\x20\x64oes\x20\x6e\x6f\x74 \x61\x70\x70\x65\x61\x72\x20\x74\x6f\x20\x62\x65\x20s\x65\x74 cor\x72\x65ct\x6c\x79.\x20\x50leas\x65\x20\x6f\x70\x65n\x20t\x68\x65 \x66\x6fllo\x77\x69n\x67 \x66\x69\x6c\x65\x20\x61nd\x20co\x72re\x63\x74\x20\x74\x68i\x73: ".SELF);}define("APP\x50\x41TH",BASEPATH.${${"\x47L\x4fBA\x4c\x53"}["\x70f\x68\x6e\x75\x70q\x74g\x74"]}."/");}require_once BASEPATH."\x63ore/\x43\x6fdeIg\x6eite\x72.\x70\x68\x70";
?>

Function Calls

session_id 1

Variables

GLOBALS [{'key': 'pfhnupqtgt', 'value': 'application_folder'}, {'key': 'tuvigovnkk', 'value': 'system_path'}, {'key': 'hnztluuqhy', 'value': 'system_path'}]

Stats

MD5 78aedd4b304aae3fed8f1b31255037cd
Eval Count 0
Decode Time 97 ms