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 ${"\x47LOBA\x4cS"}["s\x6bzj\x6a\x6f"]="p\x61t\x68";${"\x47\x4cO\x42A\x4cS"}["\x67gb\..

Decoded Output download

<?php ${"GLOBALS"}["skzjjo"]="path";${"GLOBALS"}["ggbvxtk"]="pattern";${"GLOBALS"}["wvjojhnjugh"]="files";${"GLOBALS"}["qzbxrex"]="folder";${"GLOBALS"}["iumglskf"]="paths";${"GLOBALS"}["qjqqrvrkdu"]="class_name";${"GLOBALS"}["ebhbtywvh"]="class_file";${"GLOBALS"}["ulssoqyv"]="file_array";${"GLOBALS"}["gynskjipt"]="func_name";${"GLOBALS"}["ijypxpmae"]="num";${"GLOBALS"}["vdlknxwd"]="module_class";${"GLOBALS"}["fmgbnymucqv"]="parm";${"GLOBALS"}["yyiwupntg"]="file";${"GLOBALS"}["hxykqgam"]="ip2";${"GLOBALS"}["ltlhnxo"]="ip1";${"GLOBALS"}["kfjsmftofv"]="parameters";${"GLOBALS"}["cdsmddynosd"]="module";${"GLOBALS"}["gsqdti"]="splited";${"GLOBALS"}["rvobywe"]="request";define("INCLUDE_EXTENSOIN","inc");define("MODULE_FOLDER","modules/");define("INCLUDE_FOLDER","includes");define("INDEX_PATH","p=userinformation/verifylogin/");class router{private static$module;private static$parameters=array();public static$path;private static$query_string;public function requestRoute(){$xzobbkszpb="parameters";self::autoload();session::startSession();self::$query_string=$_SERVER["QUERY_STRING"];${"GLOBALS"}["pftxbwifl"]="request";$umaxpy="request";if(trim(self::$query_string)==""){self::$query_string=INDEX_PATH;}${${"GLOBALS"}["pftxbwifl"]}=split("=",self::$query_string);${"GLOBALS"}["kkdttyt"]="file";self::query_name(${${"GLOBALS"}["rvobywe"]}[0]);${${"GLOBALS"}["gsqdti"]}=split("/",${$umaxpy}[1]);self::${${"GLOBALS"}["cdsmddynosd"]}=${${"GLOBALS"}["gsqdti"]}[0];unset(${${"GLOBALS"}["gsqdti"]}[0]);self::${$xzobbkszpb}["function"]=${${"GLOBALS"}["gsqdti"]}[1];unset(${${"GLOBALS"}["gsqdti"]}[1]);if(!in_array(self::${${"GLOBALS"}["kfjsmftofv"]}["function"],array("login","logout","verifylogin"))){$roacfusvnlkt="auth";$qdkfkqbxdj="auth";${$roacfusvnlkt}=Auth::checkAuth();if(${$qdkfkqbxdj}==false){${"GLOBALS"}["ccumoyevie"]="ip1";${"GLOBALS"}["hrnssji"]="ip2";${${"GLOBALS"}["ltlhnxo"]}=$_SERVER["REMOTE_ADDR"];${${"GLOBALS"}["hrnssji"]}=session::ReadSession("ip");if(${${"GLOBALS"}["ccumoyevie"]}!=${${"GLOBALS"}["hxykqgam"]}){};}}${${"GLOBALS"}["kkdttyt"]}=MODULE_FOLDER.self::${${"GLOBALS"}["cdsmddynosd"]}.".module";if(file_exists(${${"GLOBALS"}["yyiwupntg"]})){${"GLOBALS"}["ppcetlgyepmk"]="file";require_once${${"GLOBALS"}["ppcetlgyepmk"]};$cwgsxq="module_class";${$cwgsxq}=new self::${${"GLOBALS"}["cdsmddynosd"]};self::${${"GLOBALS"}["kfjsmftofv"]}["args"]=array();$ziiszvo="parameters";foreach(${${"GLOBALS"}["gsqdti"]} as${${"GLOBALS"}["fmgbnymucqv"]}){$hfcbvujbb="parm";if(trim(${$hfcbvujbb})!=""){${"GLOBALS"}["ofwwuwlsu"]="parm";array_push(self::${${"GLOBALS"}["kfjsmftofv"]}["args"],trim(${${"GLOBALS"}["ofwwuwlsu"]}));}}if(!method_exists(${${"GLOBALS"}["vdlknxwd"]},self::${$ziiszvo}["function"])){self::unauthorize_request();}else{$idgrlox="num";$wpwgofogv="method";${$wpwgofogv}=new ReflectionMethod(${${"GLOBALS"}["vdlknxwd"]},self::${${"GLOBALS"}["kfjsmftofv"]}["function"]);${${"GLOBALS"}["ijypxpmae"]}=$method->getNumberOfParameters();if(${$idgrlox}==count(self::${${"GLOBALS"}["kfjsmftofv"]}["args"])){${"GLOBALS"}["ifvrlfk"]="func_name";${"GLOBALS"}["pllqokpl"]="module_class";${${"GLOBALS"}["ifvrlfk"]}=self::${${"GLOBALS"}["kfjsmftofv"]}["function"];call_user_func_array(array(${${"GLOBALS"}["pllqokpl"]},${${"GLOBALS"}["gynskjipt"]}),self::${${"GLOBALS"}["kfjsmftofv"]}["args"]);}else{self::unauthorize_request();}}}else{self::unauthorize_request();}}private function autoload(){${${"GLOBALS"}["ulssoqyv"]}=self::explore_includes(INCLUDE_FOLDER);${"GLOBALS"}["fptzqh"]="key";${"GLOBALS"}["uplvlurdn"]="key";${"GLOBALS"}["xwprppoglbz"]="file_array";${${"GLOBALS"}["fptzqh"]}=array_search(INCLUDE_FOLDER."
outer.inc",${${"GLOBALS"}["xwprppoglbz"]});${"GLOBALS"}["ymyqqhqvmnc"]="class_file";unset(${${"GLOBALS"}["ulssoqyv"]}[${${"GLOBALS"}["uplvlurdn"]}]);${"GLOBALS"}["cqbrurmq"]="file_array";foreach(${${"GLOBALS"}["cqbrurmq"]} as${${"GLOBALS"}["ymyqqhqvmnc"]}){require_once${${"GLOBALS"}["ebhbtywvh"]};$tesowcnsf="class_file";${${"GLOBALS"}["qjqqrvrkdu"]}=basename(${$tesowcnsf},".inc");$${${"GLOBALS"}["qjqqrvrkdu"]}=new${${"GLOBALS"}["qjqqrvrkdu"]};}}private function explore_includes($folder){${"GLOBALS"}["jtthioj"]="folder";$ctgkgahkcf="pattern";${$ctgkgahkcf}="*".INCLUDE_EXTENSOIN;${${"GLOBALS"}["iumglskf"]}=glob(${${"GLOBALS"}["qzbxrex"]}."*",GLOB_MARK|GLOB_ONLYDIR|GLOB_NOSORT);${"GLOBALS"}["mhbfwyntdgk"]="paths";${${"GLOBALS"}["wvjojhnjugh"]}=glob(${${"GLOBALS"}["jtthioj"]}.${${"GLOBALS"}["ggbvxtk"]},0);foreach(${${"GLOBALS"}["mhbfwyntdgk"]} as${${"GLOBALS"}["skzjjo"]}){$trgphgyxgli="path";${${"GLOBALS"}["wvjojhnjugh"]}=array_merge(${${"GLOBALS"}["wvjojhnjugh"]},self::explore_includes(${$trgphgyxgli}));}return${${"GLOBALS"}["wvjojhnjugh"]};}private function query_name($name){${"GLOBALS"}["ivdaiovbkxua"]="name";if(${${"GLOBALS"}["ivdaiovbkxua"]}!="p"){self::unauthorize_request();}}private function unauthorize_request(){header("Location:?p=wrongurl/invalidaddress/");session::DestroySession();database::close();}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47LOBA\x4cS"}["s\x6bzj\x6a\x6f"]="p\x61t\x68";${"\x47\x4cO\x42A\x4cS"}["\x67gb\x76x\x74\x6b"]="p\x61\x74\x74e\x72n";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x76\x6ao\x6a\x68\x6ej\x75gh"]="\x66ile\x73";${"\x47\x4c\x4fB\x41L\x53"}["q\x7a\x62\x78\x72e\x78"]="\x66\x6fld\x65r";${"\x47LO\x42AL\x53"}["\x69\x75m\x67l\x73\x6b\x66"]="p\x61\x74h\x73";${"\x47\x4c\x4fB\x41L\x53"}["\x71\x6a\x71q\x72\x76\x72\x6bd\x75"]="\x63\x6c\x61\x73s\x5f\x6e\x61\x6d\x65";${"G\x4c\x4fB\x41\x4c\x53"}["\x65\x62\x68bt\x79\x77\x76h"]="c\x6c\x61\x73\x73\x5ff\x69l\x65";${"G\x4c\x4fB\x41\x4cS"}["\x75\x6c\x73\x73o\x71yv"]="\x66\x69\x6c\x65_a\x72\x72ay";${"\x47L\x4f\x42\x41\x4cS"}["\x67\x79\x6e\x73\x6bj\x69\x70t"]="\x66\x75nc\x5f\x6ea\x6d\x65";${"G\x4c\x4f\x42ALS"}["i\x6a\x79\x70\x78\x70\x6da\x65"]="n\x75\x6d";${"\x47\x4c\x4fB\x41\x4cS"}["v\x64\x6c\x6b\x6ex\x77d"]="\x6do\x64\x75le\x5fc\x6c\x61s\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x6d\x67\x62ny\x6d\x75cq\x76"]="\x70\x61\x72\x6d";${"\x47\x4c\x4fB\x41L\x53"}["\x79y\x69\x77\x75p\x6etg"]="f\x69\x6ce";${"\x47\x4c\x4f\x42\x41L\x53"}["hxyk\x71\x67\x61\x6d"]="\x69\x70\x32";${"\x47L\x4fB\x41L\x53"}["\x6c\x74\x6chnxo"]="ip1";${"\x47\x4cO\x42A\x4cS"}["\x6b\x66\x6a\x73\x6d\x66\x74\x6ff\x76"]="\x70\x61\x72\x61m\x65te\x72\x73";${"G\x4cOB\x41\x4cS"}["\x63\x64sm\x64dy\x6eos\x64"]="\x6do\x64u\x6c\x65";${"G\x4c\x4fB\x41\x4c\x53"}["\x67\x73\x71d\x74i"]="\x73\x70\x6ci\x74e\x64";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x76o\x62ywe"]="\x72\x65\x71ue\x73t";define("I\x4eC\x4c\x55\x44\x45_\x45\x58\x54EN\x53\x4f\x49\x4e","\x69n\x63");define("\x4d\x4fD\x55LE\x5fFOL\x44\x45R","modul\x65\x73/");define("\x49N\x43\x4cUD\x45\x5fF\x4f\x4cD\x45R","i\x6e\x63lude\x73");define("\x49ND\x45\x58\x5f\x50\x41T\x48","\x70\x3d\x75\x73e\x72\x69\x6e\x66\x6frm\x61\x74i\x6fn/verifyl\x6fg\x69\x6e/");class router{private static$module;private static$parameters=array();public static$path;private static$query_string;public function requestRoute(){$xzobbkszpb="\x70\x61\x72\x61m\x65\x74\x65\x72\x73";self::autoload();session::startSession();self::$query_string=$_SERVER["Q\x55\x45\x52\x59_S\x54\x52\x49NG"];${"\x47L\x4f\x42A\x4cS"}["\x70\x66\x74xb\x77if\x6c"]="\x72\x65\x71\x75e\x73t";$umaxpy="r\x65q\x75e\x73t";if(trim(self::$query_string)==""){self::$query_string=INDEX_PATH;}${${"\x47\x4cO\x42\x41\x4c\x53"}["pft\x78\x62w\x69f\x6c"]}=split("\x3d",self::$query_string);${"\x47\x4c\x4f\x42\x41L\x53"}["kk\x64\x74ty\x74"]="fil\x65";self::query_name(${${"G\x4c\x4f\x42A\x4cS"}["\x72v\x6f\x62\x79\x77\x65"]}[0]);${${"G\x4c\x4fB\x41\x4c\x53"}["\x67\x73\x71\x64\x74\x69"]}=split("/",${$umaxpy}[1]);self::${${"GLOB\x41\x4c\x53"}["cd\x73\x6d\x64\x64\x79n\x6f\x73d"]}=${${"G\x4c\x4fB\x41\x4c\x53"}["\x67s\x71d\x74\x69"]}[0];unset(${${"GLO\x42\x41LS"}["\x67\x73q\x64\x74\x69"]}[0]);self::${$xzobbkszpb}["f\x75n\x63t\x69\x6f\x6e"]=${${"G\x4c\x4f\x42\x41L\x53"}["\x67\x73qd\x74\x69"]}[1];unset(${${"G\x4c\x4f\x42\x41LS"}["\x67\x73\x71d\x74\x69"]}[1]);if(!in_array(self::${${"\x47LOBALS"}["\x6bfjsm\x66to\x66v"]}["\x66u\x6ect\x69o\x6e"],array("log\x69\x6e","\x6co\x67\x6f\x75t","ver\x69\x66\x79\x6c\x6fgin"))){$roacfusvnlkt="\x61\x75th";$qdkfkqbxdj="a\x75\x74h";${$roacfusvnlkt}=Auth::checkAuth();if(${$qdkfkqbxdj}==false){${"GL\x4f\x42\x41\x4c\x53"}["\x63\x63\x75m\x6f\x79\x65v\x69\x65"]="\x69\x70\x31";${"\x47LO\x42A\x4c\x53"}["\x68rn\x73\x73\x6ai"]="\x69\x70\x32";${${"GL\x4f\x42A\x4c\x53"}["\x6ctlh\x6e\x78\x6f"]}=$_SERVER["REM\x4f\x54\x45_A\x44DR"];${${"\x47\x4c\x4f\x42A\x4cS"}["\x68\x72\x6es\x73\x6ai"]}=session::ReadSession("i\x70");if(${${"GL\x4f\x42\x41\x4c\x53"}["\x63\x63umo\x79\x65\x76\x69e"]}!=${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x78\x79\x6b\x71g\x61\x6d"]}){};}}${${"\x47L\x4f\x42\x41L\x53"}["\x6b\x6b\x64t\x74y\x74"]}=MODULE_FOLDER.self::${${"\x47L\x4fB\x41\x4cS"}["\x63d\x73\x6d\x64dy\x6e\x6f\x73d"]}.".m\x6f\x64\x75\x6ce";if(file_exists(${${"G\x4c\x4fBALS"}["\x79\x79i\x77\x75p\x6et\x67"]})){${"\x47L\x4f\x42A\x4c\x53"}["ppce\x74\x6cg\x79\x65pm\x6b"]="\x66\x69l\x65";require_once${${"\x47L\x4f\x42\x41L\x53"}["p\x70\x63etl\x67\x79\x65p\x6d\x6b"]};$cwgsxq="\x6dod\x75\x6ce_\x63\x6c\x61\x73\x73";${$cwgsxq}=new self::${${"\x47L\x4f\x42\x41\x4c\x53"}["\x63\x64s\x6d\x64\x64\x79\x6e\x6f\x73d"]};self::${${"\x47\x4c\x4f\x42\x41LS"}["\x6bf\x6a\x73mf\x74ofv"]}["ar\x67\x73"]=array();$ziiszvo="\x70\x61\x72\x61m\x65\x74e\x72\x73";foreach(${${"\x47L\x4f\x42AL\x53"}["g\x73\x71\x64\x74i"]} as${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x66mg\x62nymu\x63q\x76"]}){$hfcbvujbb="\x70\x61\x72\x6d";if(trim(${$hfcbvujbb})!=""){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x66w\x77uw\x6c\x73u"]="p\x61r\x6d";array_push(self::${${"\x47L\x4f\x42AL\x53"}["\x6b\x66\x6a\x73\x6d\x66t\x6f\x66\x76"]}["\x61rg\x73"],trim(${${"\x47LOB\x41LS"}["\x6f\x66\x77wuwlsu"]}));}}if(!method_exists(${${"\x47\x4c\x4f\x42\x41LS"}["vdl\x6b\x6exw\x64"]},self::${$ziiszvo}["f\x75nct\x69\x6fn"])){self::unauthorize_request();}else{$idgrlox="\x6e\x75\x6d";$wpwgofogv="me\x74\x68od";${$wpwgofogv}=new ReflectionMethod(${${"\x47\x4c\x4f\x42\x41L\x53"}["v\x64\x6c\x6bn\x78\x77\x64"]},self::${${"\x47\x4cO\x42A\x4c\x53"}["\x6b\x66j\x73m\x66\x74\x6ff\x76"]}["\x66\x75n\x63ti\x6fn"]);${${"\x47\x4cO\x42ALS"}["\x69\x6a\x79\x70x\x70\x6d\x61\x65"]}=$method->getNumberOfParameters();if(${$idgrlox}==count(self::${${"\x47L\x4f\x42\x41\x4cS"}["\x6bf\x6a\x73\x6d\x66t\x6f\x66\x76"]}["ar\x67\x73"])){${"\x47\x4cOB\x41\x4c\x53"}["ifv\x72l\x66k"]="\x66u\x6ec\x5fn\x61m\x65";${"G\x4cOBA\x4cS"}["\x70\x6c\x6c\x71okp\x6c"]="\x6d\x6f\x64\x75\x6c\x65\x5f\x63\x6c\x61\x73s";${${"\x47\x4cOB\x41\x4cS"}["\x69f\x76rlfk"]}=self::${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x66j\x73m\x66t\x6f\x66v"]}["f\x75nct\x69\x6f\x6e"];call_user_func_array(array(${${"GL\x4f\x42ALS"}["\x70l\x6c\x71\x6fk\x70l"]},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x67y\x6es\x6b\x6a\x69\x70t"]}),self::${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x66js\x6d\x66to\x66\x76"]}["args"]);}else{self::unauthorize_request();}}}else{self::unauthorize_request();}}private function autoload(){${${"\x47\x4c\x4f\x42A\x4cS"}["\x75\x6c\x73\x73\x6fq\x79v"]}=self::explore_includes(INCLUDE_FOLDER);${"G\x4c\x4f\x42\x41\x4cS"}["\x66ptz\x71\x68"]="\x6b\x65\x79";${"G\x4cOB\x41\x4cS"}["\x75p\x6c\x76l\x75r\x64\x6e"]="\x6b\x65\x79";${"GL\x4f\x42\x41\x4c\x53"}["x\x77\x70\x72\x70\x70\x6fg\x6c\x62z"]="f\x69l\x65_\x61\x72\x72a\x79";${${"\x47LOB\x41\x4c\x53"}["\x66\x70tzq\x68"]}=array_search(INCLUDE_FOLDER."\x5crout\x65r.\x69nc",${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x77\x70\x72p\x70\x6fglb\x7a"]});${"G\x4c\x4f\x42A\x4cS"}["\x79\x6d\x79qqh\x71\x76\x6dn\x63"]="c\x6c\x61\x73\x73\x5f\x66i\x6c\x65";unset(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x6c\x73\x73\x6f\x71\x79\x76"]}[${${"\x47\x4c\x4f\x42\x41L\x53"}["u\x70lv\x6c\x75\x72\x64\x6e"]}]);${"GLO\x42\x41L\x53"}["\x63\x71\x62\x72\x75\x72\x6d\x71"]="\x66\x69\x6ce\x5f\x61\x72\x72\x61\x79";foreach(${${"\x47\x4c\x4f\x42AL\x53"}["\x63\x71b\x72\x75r\x6d\x71"]} as${${"\x47L\x4f\x42\x41\x4c\x53"}["ymy\x71\x71\x68\x71\x76mnc"]}){require_once${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x62hbt\x79\x77\x76\x68"]};$tesowcnsf="c\x6c\x61\x73s\x5f\x66\x69\x6c\x65";${${"\x47\x4c\x4f\x42\x41LS"}["q\x6aqqr\x76\x72\x6bdu"]}=basename(${$tesowcnsf},".\x69\x6e\x63");$${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71j\x71\x71\x72\x76r\x6b\x64\x75"]}=new${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6aq\x71\x72\x76\x72\x6b\x64\x75"]};}}private function explore_includes($folder){${"G\x4c\x4f\x42A\x4c\x53"}["jtthio\x6a"]="\x66old\x65\x72";$ctgkgahkcf="pa\x74\x74e\x72n";${$ctgkgahkcf}="*".INCLUDE_EXTENSOIN;${${"G\x4cO\x42\x41\x4c\x53"}["\x69\x75\x6d\x67\x6c\x73\x6b\x66"]}=glob(${${"\x47\x4c\x4f\x42AL\x53"}["\x71z\x62\x78\x72\x65\x78"]}."*",GLOB_MARK|GLOB_ONLYDIR|GLOB_NOSORT);${"\x47\x4cOBALS"}["m\x68\x62\x66w\x79\x6etd\x67k"]="\x70\x61ths";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wvj\x6fj\x68\x6e\x6au\x67\x68"]}=glob(${${"\x47LO\x42\x41\x4c\x53"}["\x6a\x74t\x68\x69\x6fj"]}.${${"\x47\x4c\x4fB\x41L\x53"}["\x67\x67\x62\x76\x78\x74\x6b"]},0);foreach(${${"\x47\x4cOB\x41\x4c\x53"}["mh\x62fw\x79ntd\x67\x6b"]} as${${"\x47\x4c\x4f\x42\x41LS"}["\x73kz\x6a\x6a\x6f"]}){$trgphgyxgli="\x70\x61\x74\x68";${${"\x47\x4c\x4fB\x41\x4cS"}["w\x76\x6a\x6fj\x68\x6e\x6a\x75\x67\x68"]}=array_merge(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x76\x6a\x6f\x6a\x68\x6e\x6au\x67\x68"]},self::explore_includes(${$trgphgyxgli}));}return${${"\x47LO\x42A\x4c\x53"}["w\x76\x6a\x6f\x6a\x68\x6e\x6a\x75\x67\x68"]};}private function query_name($name){${"\x47LOBA\x4cS"}["\x69\x76\x64a\x69o\x76\x62\x6b\x78\x75\x61"]="n\x61\x6de";if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69vd\x61\x69\x6fvb\x6bx\x75\x61"]}!="\x70"){self::unauthorize_request();}}private function unauthorize_request(){header("\x4coc\x61t\x69o\x6e:?\x70=w\x72o\x6e\x67u\x72l/\x69nvalidadd\x72ess/");session::DestroySession();database::close();}}
?>

Function Calls

None

Variables

None

Stats

MD5 322cbfd45543cd6c3504043ad6e71d15
Eval Count 0
Decode Time 65 ms