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 ${"GL\x4f\x42\x41LS"}["\x79h\x6em\x6f\x6f\x6f\x61"]="\x66r\x6f\x6d\x5f\x61\x64d\x72\..

Decoded Output download

<?php ${"GLOBALS"}["yhnmoooa"]="from_addresse";${"GLOBALS"}["rszqhfgwa"]="froma";${"GLOBALS"}["erskvysbtoi"]="settings";${"GLOBALS"}["jofgvsyzxeyy"]="ad";function prep_add($ad){${"GLOBALS"}["qvwcwtku"]="from_addresse";preg_match_all("<[^<>]+>",${${"GLOBALS"}["jofgvsyzxeyy"]},${${"GLOBALS"}["qvwcwtku"]},PREG_PATTERN_ORDER);if(count(${${"GLOBALS"}["yhnmoooa"]}[0])>=2){${"GLOBALS"}["ogpqxtvx"]="from_addresse";${"GLOBALS"}["vkeenrfqbvk"]="froma";${${"GLOBALS"}["rszqhfgwa"]}=array();${${"GLOBALS"}["rszqhfgwa"]}[trim(${${"GLOBALS"}["ogpqxtvx"]}[0][1])]=trim(${${"GLOBALS"}["yhnmoooa"]}[0][0]);return${${"GLOBALS"}["vkeenrfqbvk"]};}return trim(${${"GLOBALS"}["yhnmoooa"]}[0][0]);}${"GLOBALS"}["eegdkcj"]="contents";function prep_add2($ad){${"GLOBALS"}["buykxrg"]="from_addresse";${"GLOBALS"}["qtdwwvqqj"]="from_addresse";${"GLOBALS"}["btuuvn"]="ad";${"GLOBALS"}["apstynyditl"]="from_addresse";preg_match_all("<[^<>]+>",${${"GLOBALS"}["btuuvn"]},${${"GLOBALS"}["apstynyditl"]},PREG_PATTERN_ORDER);if(count(${${"GLOBALS"}["qtdwwvqqj"]}[0])>=2){$tiyzjr="from_addresse";return trim(${$tiyzjr}[0][1]);}return trim(${${"GLOBALS"}["buykxrg"]}[0][0]);}${"GLOBALS"}["cikhtu"]="strItem";function formatSerialize(&$strItem,$strKey){${"GLOBALS"}["rjldogcdfusg"]="strItem";${${"GLOBALS"}["cikhtu"]}="[new]".base64_encode(${${"GLOBALS"}["rjldogcdfusg"]});}${"GLOBALS"}["hksobibiqy"]="paths";${"GLOBALS"}["vkimtvdrc"]="key";function formatSerializeRev(&$strItem,$strKey){if(substr(${${"GLOBALS"}["cikhtu"]},0,5)=="[new]"){${"GLOBALS"}["ribobmeqdl"]="strItem";${${"GLOBALS"}["cikhtu"]}=base64_decode(substr(${${"GLOBALS"}["ribobmeqdl"]},5));}}${"GLOBALS"}["nzlkwuvp"]="path";${"GLOBALS"}["neyxsltnuni"]="param";${"GLOBALS"}["kvkyalwm"]="db";${"GLOBALS"}["cpqszrzi"]="index";${"GLOBALS"}["mykzpwns"]="arrMenu";function myserialize($param){${"GLOBALS"}["mcqtbxtc"]="param";if(is_array(${${"GLOBALS"}["neyxsltnuni"]})){array_walk_recursive(${${"GLOBALS"}["neyxsltnuni"]},"formatSerialize");}return serialize(${${"GLOBALS"}["mcqtbxtc"]});}${"GLOBALS"}["aqbqrqbs"]="file";${"GLOBALS"}["kydnjcodeqd"]="statements";function myunserialize($param){${"GLOBALS"}["hcjlhjtr"]="arrMenu";$dkknwie="param";${${"GLOBALS"}["mykzpwns"]}=unserialize(${$dkknwie});if(is_array(${${"GLOBALS"}["hcjlhjtr"]})){${"GLOBALS"}["imxytmp"]="arrMenu";array_walk_recursive(${${"GLOBALS"}["imxytmp"]},"formatSerializeRev");}return${${"GLOBALS"}["mykzpwns"]};}class AppController extends Controller{var$helpers=array('Html','Rss','Ajax','Javascript','Time','Session');var$components=array('RequestHandler','Session','Auth'=>array('autoRedirect' => false));var$lastV=9;var$is_demo=0;function __construct(){parent::__construct();if($this->name=="CakeError"){$this->constructClasses();$this->beforeFilter();$this->layout="mes";}}function beforeRender(){if($this->is_demo==1){if(isset($this->data["Connection"]["login"])){$this->data["Connection"]["login"]="hidden";$this->data["Connection"]["database"]="otherdb";$this->data["Connection"]["user"]="hidden";}if(isset($this->data["Configuration"]["username"])){$this->data["Configuration"]["username"]="Hidden DEMO";$this->data["Configuration"]["password"]="Hidden DEMO";$this->data["Configuration"]["inbox_username"]="Hidden DEMO";$this->data["Configuration"]["inbox_password"]="Hidden DEMO";}}parent::beforeRender();}function beforeFilter(){Configure::write("Config.language",Configure::read("Settings.language"));if($this->is_demo==1){if(($this->params["controller"]=="configurations"||$this->params["controller"]=="templates"||$this->params["controller"]=="users")&&($this->params["action"]=="edit"||$this->params["action"]=="add")&&!empty($this->data)){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect(array("action"=>"index"));}if(($this->params["controller"]=="configurations"||$this->params["controller"]=="importtasks"||$this->params["controller"]=="templates"||$this->params["controller"]=="users")&&($this->params["action"]=="delete")){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect(array("action"=>"index"));}if(($this->params["controller"]=="mails")&&($this->params["action"]=="sendAll")){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect($this->referer());}if(($this->params["controller"]=="configurations")&&($this->params["action"]=="checkAll")){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect($this->referer());}if(($this->params["controller"]=="configurations")&&($this->params["action"]=="checkAll")){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect($this->referer());}if(($this->params["controller"]=="importtasks")&&($this->params["action"]=="run"||$this->params["action"]=="runAll")){die(__("Function Disabled! (DEMO)",true));}if(($this->params["controller"]=="importtasks")&&($this->params["action"]=="add")){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect($this->referer());}if(($this->params["controller"]=="importtasks")&&($this->params["action"]=="edit")&&!empty($this->data)){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect(array("controller"=>"importtasks","action"=>"edit1",$this->params["pass"][0]));}if(($this->params["controller"]=="importtasks")&&($this->params["action"]=="edit1")&&!empty($this->data)){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect(array("controller"=>"importtasks","action"=>"edit2",$this->params["pass"][0]));}if(($this->params["controller"]=="importtasks")&&($this->params["action"]=="edit2")&&!empty($this->data)){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect(array("controller"=>"importtasks","action"=>"edit3",$this->params["pass"][0]));}if(($this->params["controller"]=="importtasks")&&($this->params["action"]=="edit3")&&!empty($this->data)){$this->Session->setFlash(__("Function Disabled! (DEMO)",true));$this->redirect(array("action"=>"index"));}if(($this->params["controller"]=="mails")&&($this->params["action"]=="prepare"||$this->params["action"]=="send")){$this->Session->setFlash(__("You can't send a newsletter! Use the send test mail function to test the newsletter! (DEMO)",true));$this->redirect(array("action"=>"step",$this->params["pass"][0],4));}}if(!file_exists(CONFIGS."installed.yml")){if(!is_writable(TMP)){die("Please make the folder app/tmp writable");}$this->redirect("/install");}if(!file_exists(CONFIGS."update".$this->lastV.".yml")){$bulzfrlzm="path";@set_time_limit(60*60);@App::import("Model","ConnectionManager");${"GLOBALS"}["exezhfi"]="paths";${${"GLOBALS"}["kvkyalwm"]}=ConnectionManager::getDataSource("default");for(${${"GLOBALS"}["cpqszrzi"]}=1;${${"GLOBALS"}["cpqszrzi"]}-1<$this->lastV;${${"GLOBALS"}["cpqszrzi"]}++){${"GLOBALS"}["nmjkpwsjpqm"]="index";if(!file_exists(CONFIGS."update".${${"GLOBALS"}["nmjkpwsjpqm"]}.".yml")){${"GLOBALS"}["usfajtbwqxgn"]="index";$asyiyuahufu="index";if(file_exists(ROOT.DS.APP_DIR.DS."updates".DS."update".${$asyiyuahufu}.".sql")){${"GLOBALS"}["sgjnilebdj"]="statements";${"GLOBALS"}["xbavgxo"]="statement";${"GLOBALS"}["isuuhmy"]="index";${"GLOBALS"}["zxpnfuxz"]="statements";$nurduq="statements";${$nurduq}=file_get_contents(ROOT.DS.APP_DIR.DS."updates".DS."update".${${"GLOBALS"}["isuuhmy"]}.".sql");${${"GLOBALS"}["sgjnilebdj"]}=explode(";
",${${"GLOBALS"}["kydnjcodeqd"]});foreach(${${"GLOBALS"}["zxpnfuxz"]} as${${"GLOBALS"}["xbavgxo"]}){${"GLOBALS"}["gtzvhebf"]="statement";if(trim(${${"GLOBALS"}["gtzvhebf"]})!=""){$dshpbn="statement";$db->query(${$dshpbn});}}}Cache::clear();file_put_contents(CONFIGS."update".${${"GLOBALS"}["usfajtbwqxgn"]}.".yml","-");}}${${"GLOBALS"}["erskvysbtoi"]}=array("view_cache_path"=>ROOT.DS.APP."tmp".DS."cache".DS."views","std_cache_paths"=>array(ROOT.DS.APP_DIR.DS."tmp".DS."cache".DS."models",ROOT.DS.APP_DIR.DS."tmp".DS."cache".DS."persistent",));${${"GLOBALS"}["hksobibiqy"]}=${${"GLOBALS"}["erskvysbtoi"]}["std_cache_paths"];foreach(${${"GLOBALS"}["exezhfi"]} as${$bulzfrlzm}){$woksehgg="folder";$kiyonr="file";$qaquhis="contents";${$woksehgg}=new Folder(${${"GLOBALS"}["nzlkwuvp"]});${$qaquhis}=$folder->read();foreach(${${"GLOBALS"}["eegdkcj"]}[1]as${$kiyonr}){@unlink(${${"GLOBALS"}["nzlkwuvp"]}.DS.${${"GLOBALS"}["aqbqrqbs"]});}}}if(php_sapi_name()!=="cli"){eval(base64_decode("IGlmKG1kNV9maWxlKCIuLi9wbHVnaW5zL2FjdGl2YXRlL2NvbnRyb2xsZXJzL2FjdGl2YXRlX2NvbnRyb2xsZXIucGhwIikhPSJjMTNkMzhkYzAxOWYxYzc3YWZiZTUyYTU2YmM3NzRmYyIpew0KICAgICAgICAgICAgZGllKCJBY3RpdmF0aW9uIE1vZHVsZSBNaXNzaW5nIik7DQogICAgICAgIH0="));if(file_exists(CONFIGS.base64_decode("Y29kZS55bWw="))){${"GLOBALS"}["imknvij"]="key";$rpwkbljyrwc="key";${"GLOBALS"}["wdwlfiyf"]="mykey2";${"GLOBALS"}["msxumjpxe"]="mykey1";${${"GLOBALS"}["imknvij"]}=file_get_contents(CONFIGS.base64_decode("Y29kZS55bWw="));eval(base64_decode("JG15a2V5PW1kNShtZDUoQ09ORklHUyAuICIgLSAiIC4gUm91dGVyOjp1cmwoIi8iKSAuICIgLSAiIC4gJF9TRVJWRVJbIlNFUlZFUl9BRERSIl0pIC4gIi0iIC4gImtKcGRSbXZWTUJ6RVRYcU1kTmNLTkZDSkdEdVBkUVNncEJoTEJMTFpQcFFuVVplU2FIbXNaakhXVld2cmVSIik7DQpwcmVnX21hdGNoICggIi8oW3ddezN9Wy5dKT8oLiopL2kiICwgJF9TRVJWRVJbIlNFUlZFUl9OQU1FIl0sJGQpOw0KJG15a2V5MT1tZDUobWQ1KENPTkZJR1MgLiAiIC0gIiAuIFJvdXRlcjo6dXJsKCIvIikgLiAiIC0gIiAuICRkWzJdKSAuICItIiAuICJrSnBkUm12Vk1CekVUWHFNZE5jS05GQ0pHRHVQZFFTZ3BCaExCTExaUHBRblVaZVNhSG1zWmpIV1ZXdnJlUiIpOw0KJG15a2V5Mj1tZDUobWQ1KENPTkZJR1MgLiAiIC0gIiAuIFJvdXRlcjo6dXJsKCIvIikgLiAiIC0gIiAuICJ3d3cuIi4kZFsyXSkgLiAiLSIgLiAia0pwZFJtdlZNQnpFVFhxTWROY0tORkNKR0R1UGRRU2dwQmhMQkxMWlBwUW5VWmVTYUhtc1pqSFdWV3ZyZVIiKTs="));$gqhavftbaev="key";$xoovwguecjs="mykey";if(${${"GLOBALS"}["vkimtvdrc"]}!=${$xoovwguecjs}&&${$gqhavftbaev}!=${${"GLOBALS"}["msxumjpxe"]}&&${$rpwkbljyrwc}!=${${"GLOBALS"}["wdwlfiyf"]}){$this->redirect("/activate");}}else{$this->redirect("/activate");}}parent::beforeFilter();if(__("setlocale",true)!="setlocale"){setlocale(LC_ALL,json_decode(__("setlocale",true),true));}}} ?>

Did this file decode correctly?

Original Code

<?php ${"GL\x4f\x42\x41LS"}["\x79h\x6em\x6f\x6f\x6f\x61"]="\x66r\x6f\x6d\x5f\x61\x64d\x72\x65\x73\x73\x65";${"\x47L\x4f\x42\x41L\x53"}["\x72\x73\x7aq\x68\x66\x67\x77a"]="\x66\x72\x6f\x6d\x61";${"G\x4cOB\x41\x4cS"}["er\x73\x6b\x76\x79\x73b\x74\x6fi"]="\x73\x65\x74ti\x6e\x67s";${"G\x4c\x4fB\x41L\x53"}["j\x6ff\x67\x76\x73y\x7a\x78\x65\x79\x79"]="\x61\x64";function prep_add($ad){${"\x47L\x4f\x42\x41\x4cS"}["\x71\x76w\x63w\x74\x6b\x75"]="\x66rom_\x61\x64\x64\x72\x65s\x73e";preg_match_all("<\x5b\x5e\x3c>]+>",${${"G\x4c\x4f\x42\x41\x4cS"}["\x6a\x6ff\x67\x76\x73\x79\x7a\x78e\x79y"]},${${"GL\x4fBA\x4c\x53"}["\x71v\x77cw\x74\x6b\x75"]},PREG_PATTERN_ORDER);if(count(${${"\x47L\x4fB\x41\x4c\x53"}["yh\x6e\x6do\x6fo\x61"]}[0])>=2){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x67\x70\x71\x78\x74\x76\x78"]="f\x72\x6f\x6d_addr\x65\x73\x73\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["v\x6b\x65\x65nr\x66\x71b\x76\x6b"]="fr\x6fma";${${"G\x4c\x4fBAL\x53"}["rs\x7aq\x68\x66g\x77\x61"]}=array();${${"\x47\x4cOB\x41L\x53"}["\x72\x73\x7a\x71hf\x67\x77\x61"]}[trim(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x67p\x71\x78\x74\x76\x78"]}[0][1])]=trim(${${"G\x4cO\x42\x41\x4c\x53"}["yh\x6e\x6doo\x6fa"]}[0][0]);return${${"GLO\x42A\x4cS"}["\x76k\x65en\x72\x66qbv\x6b"]};}return trim(${${"\x47\x4c\x4f\x42A\x4c\x53"}["y\x68\x6e\x6d\x6fo\x6f\x61"]}[0][0]);}${"\x47L\x4f\x42\x41L\x53"}["\x65e\x67dk\x63\x6a"]="\x63\x6f\x6et\x65\x6et\x73";function prep_add2($ad){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["b\x75y\x6bx\x72\x67"]="\x66r\x6fm\x5f\x61dd\x72\x65\x73se";${"\x47LOB\x41L\x53"}["qtd\x77\x77\x76\x71q\x6a"]="\x66r\x6f\x6d_\x61dd\x72e\x73se";${"\x47LOBA\x4c\x53"}["\x62t\x75\x75\x76\x6e"]="\x61\x64";${"\x47LO\x42\x41\x4cS"}["\x61\x70\x73\x74\x79ny\x64\x69\x74\x6c"]="\x66\x72\x6f\x6d_\x61\x64\x64\x72es\x73\x65";preg_match_all("\x3c[^\x3c\x3e]+>",${${"G\x4cOBA\x4c\x53"}["\x62\x74\x75\x75\x76\x6e"]},${${"GLO\x42\x41\x4c\x53"}["ap\x73\x74\x79ny\x64i\x74\x6c"]},PREG_PATTERN_ORDER);if(count(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x74\x64w\x77v\x71qj"]}[0])>=2){$tiyzjr="\x66r\x6fm\x5fa\x64\x64\x72\x65s\x73\x65";return trim(${$tiyzjr}[0][1]);}return trim(${${"\x47\x4cO\x42AL\x53"}["\x62uykxr\x67"]}[0][0]);}${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63\x69\x6b\x68\x74\x75"]="\x73t\x72\x49\x74\x65m";function formatSerialize(&$strItem,$strKey){${"\x47L\x4fB\x41\x4c\x53"}["\x72\x6a\x6cd\x6f\x67\x63dfu\x73\x67"]="\x73t\x72\x49\x74em";${${"\x47LO\x42\x41L\x53"}["c\x69kh\x74u"]}="[\x6e\x65w\x5d".base64_encode(${${"\x47\x4cO\x42A\x4c\x53"}["\x72\x6a\x6c\x64o\x67\x63df\x75\x73\x67"]});}${"\x47LOBALS"}["\x68\x6b\x73\x6f\x62\x69\x62\x69q\x79"]="\x70\x61\x74\x68\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x6bi\x6d\x74\x76\x64\x72\x63"]="\x6bey";function formatSerializeRev(&$strItem,$strKey){if(substr(${${"\x47L\x4f\x42\x41LS"}["\x63\x69\x6b\x68\x74\x75"]},0,5)=="\x5b\x6eew\x5d"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["r\x69\x62o\x62\x6d\x65\x71\x64\x6c"]="\x73tr\x49\x74\x65\x6d";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["cik\x68\x74u"]}=base64_decode(substr(${${"\x47\x4c\x4fBA\x4cS"}["\x72\x69\x62\x6f\x62\x6d\x65\x71\x64\x6c"]},5));}}${"\x47\x4c\x4f\x42AL\x53"}["\x6e\x7al\x6bw\x75v\x70"]="p\x61\x74h";${"\x47\x4c\x4fB\x41LS"}["\x6e\x65\x79x\x73\x6c\x74\x6e\x75ni"]="p\x61\x72am";${"\x47\x4cO\x42A\x4c\x53"}["\x6bvkyalw\x6d"]="\x64b";${"\x47LO\x42\x41\x4c\x53"}["c\x70q\x73\x7a\x72\x7a\x69"]="\x69nd\x65\x78";${"\x47\x4c\x4fB\x41\x4cS"}["\x6d\x79\x6b\x7a\x70\x77\x6e\x73"]="\x61\x72r\x4d\x65\x6e\x75";function myserialize($param){${"\x47L\x4f\x42\x41L\x53"}["\x6d\x63\x71\x74\x62xt\x63"]="\x70\x61\x72\x61\x6d";if(is_array(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x65y\x78\x73l\x74\x6e\x75n\x69"]})){array_walk_recursive(${${"GLO\x42\x41L\x53"}["n\x65yx\x73\x6c\x74\x6e\x75\x6ei"]},"for\x6d\x61\x74S\x65\x72ia\x6c\x69\x7a\x65");}return serialize(${${"\x47L\x4f\x42AL\x53"}["\x6dc\x71\x74\x62\x78\x74\x63"]});}${"\x47\x4cO\x42\x41\x4cS"}["\x61q\x62qr\x71\x62\x73"]="\x66\x69l\x65";${"GLOB\x41\x4cS"}["\x6by\x64\x6e\x6a\x63od\x65\x71\x64"]="\x73\x74\x61\x74\x65m\x65\x6e\x74s";function myunserialize($param){${"\x47L\x4f\x42\x41L\x53"}["hcjl\x68\x6at\x72"]="a\x72\x72M\x65n\x75";$dkknwie="\x70\x61r\x61\x6d";${${"\x47\x4cO\x42\x41\x4cS"}["\x6d\x79\x6b\x7a\x70w\x6es"]}=unserialize(${$dkknwie});if(is_array(${${"G\x4cO\x42\x41\x4c\x53"}["\x68\x63\x6a\x6c\x68\x6a\x74r"]})){${"\x47L\x4f\x42\x41\x4cS"}["im\x78y\x74\x6d\x70"]="\x61\x72\x72\x4den\x75";array_walk_recursive(${${"G\x4cO\x42\x41\x4c\x53"}["\x69mxy\x74\x6dp"]},"f\x6f\x72m\x61t\x53erial\x69ze\x52\x65\x76");}return${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6dyk\x7ap\x77\x6e\x73"]};}class AppController extends Controller{var$helpers=array('Html','Rss','Ajax','Javascript','Time','Session');var$components=array('RequestHandler','Session','Auth'=>array('autoRedirect' => false));var$lastV=9;var$is_demo=0;function __construct(){parent::__construct();if($this->name=="\x43ak\x65\x45\x72ror"){$this->constructClasses();$this->beforeFilter();$this->layout="mes";}}function beforeRender(){if($this->is_demo==1){if(isset($this->data["\x43on\x6ee\x63tion"]["l\x6fgi\x6e"])){$this->data["\x43\x6f\x6enec\x74ion"]["lo\x67in"]="hidden";$this->data["C\x6fn\x6e\x65c\x74i\x6fn"]["d\x61taba\x73e"]="\x6f\x74herd\x62";$this->data["\x43on\x6e\x65c\x74\x69o\x6e"]["\x75\x73\x65\x72"]="\x68\x69\x64d\x65n";}if(isset($this->data["\x43on\x66\x69g\x75r\x61ti\x6f\x6e"]["\x75s\x65r\x6e\x61\x6d\x65"])){$this->data["\x43onfi\x67\x75rat\x69o\x6e"]["u\x73\x65\x72n\x61me"]="H\x69d\x64en \x44\x45\x4d\x4f";$this->data["\x43onfi\x67\x75\x72a\x74\x69on"]["pass\x77or\x64"]="\x48\x69\x64d\x65n\x20\x44\x45\x4dO";$this->data["\x43\x6f\x6e\x66i\x67u\x72\x61t\x69\x6f\x6e"]["inb\x6f\x78\x5fu\x73\x65rnam\x65"]="H\x69\x64den DE\x4dO";$this->data["\x43\x6fn\x66\x69gu\x72a\x74\x69\x6fn"]["i\x6ebox\x5fp\x61\x73\x73\x77\x6frd"]="H\x69d\x64en DE\x4d\x4f";}}parent::beforeRender();}function beforeFilter(){Configure::write("\x43\x6fn\x66ig.\x6c\x61\x6eg\x75\x61g\x65",Configure::read("\x53e\x74\x74in\x67s\x2e\x6cangua\x67e"));if($this->is_demo==1){if(($this->params["\x63on\x74\x72\x6f\x6cle\x72"]=="\x63\x6f\x6ef\x69\x67\x75r\x61tio\x6es"||$this->params["\x63ontrol\x6c\x65r"]=="temp\x6ca\x74es"||$this->params["co\x6etrol\x6c\x65\x72"]=="u\x73\x65rs")&&($this->params["ac\x74\x69\x6f\x6e"]=="\x65\x64i\x74"||$this->params["act\x69\x6f\x6e"]=="\x61\x64d")&&!empty($this->data)){$this->Session->setFlash(__("\x46\x75n\x63tion\x20D\x69\x73able\x64\x21 \x28D\x45\x4dO\x29",true));$this->redirect(array("a\x63\x74\x69\x6f\x6e"=>"\x69\x6ed\x65\x78"));}if(($this->params["c\x6f\x6e\x74rolle\x72"]=="config\x75r\x61t\x69on\x73"||$this->params["c\x6fn\x74r\x6f\x6c\x6cer"]=="\x69mpo\x72\x74ta\x73\x6bs"||$this->params["contr\x6fll\x65r"]=="\x74\x65\x6dp\x6c\x61\x74\x65s"||$this->params["\x63on\x74\x72\x6f\x6cl\x65\x72"]=="u\x73\x65\x72s")&&($this->params["a\x63\x74ion"]=="\x64\x65\x6c\x65t\x65")){$this->Session->setFlash(__("Func\x74i\x6fn D\x69\x73a\x62\x6ce\x64\x21\x20\x28\x44EM\x4f\x29",true));$this->redirect(array("acti\x6fn"=>"ind\x65\x78"));}if(($this->params["co\x6etr\x6fll\x65\x72"]=="ma\x69ls")&&($this->params["act\x69o\x6e"]=="\x73\x65n\x64Al\x6c")){$this->Session->setFlash(__("\x46un\x63\x74i\x6f\x6e\x20D\x69\x73\x61bl\x65d\x21 \x28D\x45MO\x29",true));$this->redirect($this->referer());}if(($this->params["cont\x72o\x6c\x6c\x65\x72"]=="con\x66\x69\x67\x75r\x61\x74\x69ons")&&($this->params["actio\x6e"]=="che\x63k\x41\x6c\x6c")){$this->Session->setFlash(__("\x46u\x6ecti\x6fn \x44\x69s\x61\x62\x6ce\x64\x21\x20\x28DE\x4d\x4f)",true));$this->redirect($this->referer());}if(($this->params["c\x6f\x6e\x74r\x6fll\x65r"]=="\x63onf\x69gur\x61\x74i\x6fns")&&($this->params["actio\x6e"]=="c\x68eckA\x6c\x6c")){$this->Session->setFlash(__("\x46\x75nc\x74\x69on \x44\x69\x73able\x64!\x20(DEMO\x29",true));$this->redirect($this->referer());}if(($this->params["con\x74\x72oll\x65\x72"]=="\x69\x6d\x70o\x72\x74\x74as\x6bs")&&($this->params["\x61c\x74\x69on"]=="r\x75\x6e"||$this->params["a\x63ti\x6f\x6e"]=="r\x75\x6eA\x6c\x6c")){die(__("Fu\x6e\x63\x74i\x6f\x6e\x20Di\x73\x61\x62\x6c\x65d\x21\x20\x28\x44EMO)",true));}if(($this->params["c\x6f\x6e\x74ro\x6cl\x65r"]=="\x69\x6dp\x6fr\x74\x74ask\x73")&&($this->params["ac\x74ion"]=="ad\x64")){$this->Session->setFlash(__("Fu\x6e\x63\x74\x69o\x6e D\x69s\x61bl\x65\x64! \x28DEMO)",true));$this->redirect($this->referer());}if(($this->params["co\x6e\x74ro\x6cler"]=="\x69\x6d\x70\x6f\x72\x74\x74ask\x73")&&($this->params["\x61c\x74\x69\x6f\x6e"]=="ed\x69\x74")&&!empty($this->data)){$this->Session->setFlash(__("\x46u\x6ectio\x6e\x20\x44i\x73ab\x6ced\x21\x20(\x44EM\x4f)",true));$this->redirect(array("con\x74\x72oll\x65\x72"=>"\x69m\x70o\x72t\x74a\x73\x6bs","actio\x6e"=>"edit\x31",$this->params["p\x61\x73\x73"][0]));}if(($this->params["\x63\x6f\x6e\x74r\x6fl\x6ce\x72"]=="i\x6d\x70ortt\x61\x73ks")&&($this->params["\x61c\x74\x69\x6fn"]=="edit\x31")&&!empty($this->data)){$this->Session->setFlash(__("\x46u\x6ectio\x6e\x20D\x69\x73\x61b\x6c\x65d! \x28\x44\x45M\x4f)",true));$this->redirect(array("con\x74r\x6f\x6c\x6ce\x72"=>"im\x70\x6fr\x74\x74as\x6bs","\x61\x63t\x69\x6f\x6e"=>"edit2",$this->params["\x70\x61ss"][0]));}if(($this->params["\x63\x6f\x6etro\x6c\x6cer"]=="i\x6d\x70\x6frtt\x61sk\x73")&&($this->params["act\x69on"]=="e\x64\x69t\x32")&&!empty($this->data)){$this->Session->setFlash(__("\x46unc\x74\x69\x6f\x6e\x20\x44\x69\x73abl\x65d\x21 (\x44E\x4d\x4f)",true));$this->redirect(array("con\x74\x72\x6fl\x6ce\x72"=>"\x69\x6d\x70\x6f\x72tt\x61\x73ks","act\x69\x6f\x6e"=>"ed\x69t3",$this->params["pas\x73"][0]));}if(($this->params["\x63\x6fn\x74ro\x6c\x6cer"]=="\x69\x6d\x70o\x72ttasks")&&($this->params["\x61\x63\x74ion"]=="edit3")&&!empty($this->data)){$this->Session->setFlash(__("Fu\x6e\x63\x74io\x6e Dis\x61b\x6c\x65\x64!\x20(DE\x4dO\x29",true));$this->redirect(array("\x61\x63\x74i\x6fn"=>"\x69n\x64ex"));}if(($this->params["c\x6f\x6e\x74r\x6fl\x6cer"]=="\x6dai\x6cs")&&($this->params["ac\x74io\x6e"]=="p\x72e\x70\x61re"||$this->params["\x61c\x74io\x6e"]=="\x73\x65\x6e\x64")){$this->Session->setFlash(__("Y\x6f\x75 \x63an\x27t\x20sen\x64 a\x20n\x65w\x73\x6c\x65t\x74e\x72!\x20Us\x65 \x74\x68\x65\x20\x73e\x6ed t\x65st \x6da\x69l\x20fun\x63tion \x74o test\x20\x74\x68\x65\x20ne\x77\x73\x6cette\x72\x21\x20\x28\x44\x45MO\x29",true));$this->redirect(array("\x61\x63t\x69\x6fn"=>"s\x74\x65\x70",$this->params["\x70\x61\x73s"][0],4));}}if(!file_exists(CONFIGS."i\x6e\x73\x74alle\x64.\x79\x6d\x6c")){if(!is_writable(TMP)){die("Ple\x61se\x20ma\x6b\x65\x20\x74\x68e\x20\x66\x6fld\x65r a\x70p/\x74\x6dp wri\x74a\x62l\x65");}$this->redirect("\x2fi\x6estal\x6c");}if(!file_exists(CONFIGS."\x75\x70\x64\x61\x74e".$this->lastV.".y\x6d\x6c")){$bulzfrlzm="p\x61th";@set_time_limit(60*60);@App::import("\x4dodel","C\x6f\x6en\x65c\x74i\x6f\x6eM\x61n\x61g\x65r");${"GL\x4f\x42\x41\x4c\x53"}["\x65\x78\x65z\x68fi"]="\x70\x61\x74\x68\x73";${${"\x47L\x4fB\x41LS"}["k\x76k\x79\x61l\x77\x6d"]}=ConnectionManager::getDataSource("\x64\x65\x66a\x75\x6ct");for(${${"\x47L\x4f\x42\x41LS"}["c\x70\x71s\x7a\x72\x7a\x69"]}=1;${${"\x47\x4cO\x42A\x4cS"}["c\x70qs\x7a\x72\x7a\x69"]}-1<$this->lastV;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x70\x71\x73zr\x7a\x69"]}++){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x6d\x6ak\x70w\x73\x6a\x70\x71\x6d"]="i\x6e\x64\x65\x78";if(!file_exists(CONFIGS."u\x70\x64\x61t\x65".${${"\x47\x4c\x4f\x42\x41LS"}["\x6em\x6ak\x70\x77\x73\x6a\x70qm"]}.".y\x6dl")){${"\x47LOB\x41LS"}["u\x73f\x61j\x74bw\x71\x78gn"]="\x69nde\x78";$asyiyuahufu="\x69nd\x65x";if(file_exists(ROOT.DS.APP_DIR.DS."\x75\x70\x64a\x74\x65\x73".DS."\x75p\x64a\x74\x65".${$asyiyuahufu}.".\x73\x71\x6c")){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x67\x6ani\x6c\x65\x62dj"]="\x73\x74\x61\x74\x65\x6de\x6e\x74s";${"\x47\x4cO\x42\x41LS"}["\x78b\x61\x76\x67\x78\x6f"]="s\x74a\x74\x65m\x65nt";${"\x47L\x4f\x42\x41\x4cS"}["i\x73u\x75\x68\x6d\x79"]="\x69n\x64\x65\x78";${"\x47L\x4f\x42\x41\x4c\x53"}["z\x78p\x6ef\x75\x78\x7a"]="st\x61\x74\x65m\x65n\x74s";$nurduq="\x73\x74\x61\x74\x65\x6dent\x73";${$nurduq}=file_get_contents(ROOT.DS.APP_DIR.DS."\x75\x70\x64\x61\x74e\x73".DS."u\x70\x64at\x65".${${"G\x4cO\x42\x41\x4cS"}["\x69\x73\x75\x75\x68\x6dy"]}.".s\x71l");${${"GL\x4f\x42\x41L\x53"}["\x73\x67j\x6e\x69l\x65\x62\x64\x6a"]}=explode("\x3b\n",${${"\x47\x4c\x4fBA\x4c\x53"}["\x6b\x79dnj\x63\x6f\x64e\x71\x64"]});foreach(${${"GL\x4f\x42\x41L\x53"}["\x7a\x78pn\x66\x75\x78z"]} as${${"\x47\x4c\x4fBA\x4c\x53"}["\x78\x62\x61\x76\x67\x78\x6f"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x74\x7av\x68eb\x66"]="\x73\x74a\x74e\x6d\x65n\x74";if(trim(${${"GL\x4f\x42\x41LS"}["\x67\x74\x7av\x68\x65\x62\x66"]})!=""){$dshpbn="\x73t\x61\x74\x65\x6den\x74";$db->query(${$dshpbn});}}}Cache::clear();file_put_contents(CONFIGS."u\x70d\x61\x74e".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x73f\x61\x6at\x62\x77\x71\x78gn"]}.".\x79m\x6c","-");}}${${"G\x4c\x4f\x42\x41L\x53"}["er\x73\x6b\x76\x79\x73\x62\x74\x6fi"]}=array("\x76\x69\x65\x77_cache\x5f\x70ath"=>ROOT.DS.APP."t\x6dp".DS."\x63\x61\x63\x68e".DS."\x76\x69ews","s\x74\x64_\x63a\x63\x68\x65_p\x61t\x68s"=>array(ROOT.DS.APP_DIR.DS."\x74mp".DS."ca\x63\x68e".DS."mod\x65ls",ROOT.DS.APP_DIR.DS."tm\x70".DS."ca\x63h\x65".DS."pe\x72\x73\x69st\x65\x6et",));${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x6bs\x6f\x62\x69b\x69\x71\x79"]}=${${"\x47\x4cOB\x41LS"}["\x65\x72s\x6b\x76\x79\x73b\x74o\x69"]}["s\x74d_ca\x63h\x65\x5f\x70\x61\x74\x68s"];foreach(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x78\x65\x7ah\x66\x69"]} as${$bulzfrlzm}){$woksehgg="\x66o\x6c\x64\x65\x72";$kiyonr="\x66\x69l\x65";$qaquhis="c\x6f\x6e\x74e\x6et\x73";${$woksehgg}=new Folder(${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x7alk\x77uv\x70"]});${$qaquhis}=$folder->read();foreach(${${"G\x4c\x4f\x42A\x4c\x53"}["\x65egd\x6bc\x6a"]}[1]as${$kiyonr}){@unlink(${${"GL\x4fB\x41\x4cS"}["n\x7a\x6ck\x77\x75\x76p"]}.DS.${${"G\x4c\x4f\x42AL\x53"}["a\x71\x62\x71r\x71\x62\x73"]});}}}if(php_sapi_name()!=="\x63l\x69"){eval(base64_decode("IGl\x6dK\x47\x31\x6bN\x56\x39ma\x57x\x6c\x4bC\x49uL\x699w\x62\x48\x56\x6e\x61W\x35z\x4c\x32\x46\x6adG\x6c\x32\x59X\x52l\x4c\x32N\x76bnRy\x62\x32xs\x5aX\x4azL\x32\x46jdGl\x32\x59\x58R\x6c\x582N\x76bn\x52y\x622xs\x5a\x58\x49\x75\x63\x47\x68w\x49\x69\x6bh\x50S\x4ajM\x54N\x6bMzh\x6b\x59z\x41\x78OW\x59xYz\x63\x33\x59W\x5a\x69Z\x54\x55y\x59TU2\x59\x6d\x4d3\x4e\x7a\x52\x6d\x59yI\x70e\x77\x30\x4bI\x43\x41\x67\x49\x43\x41\x67IC\x41\x67I\x43\x41\x67Z\x47l\x6cKC\x4a\x42Y3\x52pd\x6dF0a\x57\x39uI\x451\x76ZHV\x73ZS\x42N\x61X\x4ez\x61W5\x6eI\x69\x6b7\x44\x51o\x67I\x43A\x67\x49C\x41\x67\x49H\x30\x3d"));if(file_exists(CONFIGS.base64_decode("\x5929k\x5a\x53\x35\x35bWw="))){${"G\x4cOB\x41\x4c\x53"}["\x69\x6dkn\x76\x69j"]="\x6bey";$rpwkbljyrwc="k\x65y";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x64w\x6c\x66i\x79\x66"]="\x6dyke\x79\x32";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x73x\x75\x6djpx\x65"]="\x6d\x79\x6be\x791";${${"\x47LO\x42\x41LS"}["\x69\x6d\x6b\x6e\x76\x69\x6a"]}=file_get_contents(CONFIGS.base64_decode("\x59\x32\x39\x6bZ\x5355bW\x77\x3d"));eval(base64_decode("J\x471\x35\x612V\x35\x50\x571k\x4e\x53h\x74\x5aD\x55\x6fQ\x30\x39O\x52kl\x48\x55yA\x75\x49\x43I\x67L\x53\x41\x69IC4\x67Um\x39\x31dGV\x79\x4fj\x701c\x6dwoIi\x38i\x4bSAu\x49\x43I\x67L\x53Ai\x49\x434g\x4aF\x39\x54R\x56\x4a\x57RVJb\x49l\x4e\x46\x55l\x5a\x46U\x6c9B\x52ERS\x49l0\x70\x49C4gIi\x30i\x49\x43\x34gI\x6d\x74KcGR\x53bX\x5a\x57\x54U\x4a6\x52V\x52Y\x63U1kT\x6d\x4e\x4c\x54\x6bZ\x44S\x6b\x64E\x64VBk\x55V\x4en\x63\x45J\x6fTEJMTF\x70QcF\x46uV\x56\x70l\x552F\x49bXN\x61a\x6bh\x58V\x6cd2\x63m\x56S\x49i\x6b7\x44\x51pw\x63m\x56\x6e\x5821h\x64GN\x6f\x49\x43\x67g\x49i8\x6f\x573\x64dez\x4e\x39Wy5\x64\x4bT8\x6fLi\x6fp\x4c2\x6biI\x43\x77\x67\x4a\x469T\x52\x56JWR\x56\x4a\x62\x49l\x4eFUlZ\x46U\x6c\x39\x4fQU\x31F\x49l0sJ\x47Qp\x4f\x770K\x4aG\x31\x35a2V5\x4dT1\x74\x5a\x44\x55\x6f\x62W\x511KEN\x50T\x6bZJ\x52\x31M\x67Li\x41\x69IC\x30gIi\x41u\x49\x46\x4a\x76dX\x52\x6ccj\x6f6d\x58\x4asK\x43\x49vI\x69\x6b\x67LiA\x69\x49\x43\x30\x67\x49\x69A\x75\x49C\x52k\x57\x7a\x4ad\x4b\x53\x41uICItI\x69Au\x49\x43\x4a\x72\x53\x6e\x42k\x55m\x312\x56k1\x43\x65k\x56\x55WH\x46N\x5aE\x35jS05\x47Q0pH\x52\x48VQZ\x46\x46\x54Z3\x42C\x61\x45\x78CT\x45\x78\x61U\x48BRb\x6cV\x61\x5a\x56Nh\x53G\x31\x7aW\x6dpIV\x31\x5a\x58\x64nJlUiIp\x4fw\x30\x4bJG\x315\x612\x565Mj\x31\x74Z\x44U\x6f\x62W\x51\x31\x4bENP\x54\x6bZ\x4a\x521M\x67Li\x41i\x49C\x30gI\x69\x41\x75I\x46\x4avdX\x52\x6ccjo6d\x58Js\x4bCI\x76I\x69\x6bg\x4c\x69\x41iI\x430\x67\x49iA\x75\x49C\x4a\x33\x64\x33cuIi4kZF\x73y\x58S\x6bg\x4ci\x41\x69L\x53\x49\x67\x4c\x69\x41i\x610pwZF\x4at\x64\x6cZ\x4e\x51\x6e\x70\x46V\x46\x68\x78\x54\x57ROY\x30\x74ORk\x4e\x4bR0\x52\x31U\x47RRU2\x64\x77\x51m\x68M\x51\x6b\x78\x4d\x57l\x42\x77U\x575\x56\x57\x6dV\x54\x59\x55\x68t\x631\x70qS\x46d\x57V3\x5ayZ\x56Ii\x4bTs="));$gqhavftbaev="\x6bey";$xoovwguecjs="\x6d\x79\x6b\x65y";if(${${"\x47LOBAL\x53"}["v\x6b\x69\x6dt\x76\x64\x72c"]}!=${$xoovwguecjs}&&${$gqhavftbaev}!=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x73x\x75\x6d\x6ap\x78e"]}&&${$rpwkbljyrwc}!=${${"\x47\x4cO\x42A\x4c\x53"}["\x77\x64\x77\x6c\x66\x69\x79f"]}){$this->redirect("\x2f\x61\x63\x74\x69vat\x65");}}else{$this->redirect("/\x61\x63ti\x76a\x74e");}}parent::beforeFilter();if(__("\x73et\x6c\x6fc\x61\x6c\x65",true)!="set\x6coca\x6ce"){setlocale(LC_ALL,json_decode(__("\x73et\x6co\x63ale",true),true));}}}

Function Calls

None

Variables

None

Stats

MD5 96e5c659240f8390a4cda29df2936a3d
Eval Count 0
Decode Time 134 ms