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 eval(gzinflate(base64_decode('FZdFssVIkkWXU5mmgZisR2LWE9OkTMzMWn3/2kCYR8TxC+WVDv/UXz..

Decoded Output download


 abstract class AbstractDisplay { protected $logger = null; protected $route = null; protected $controller = null; public function __construct() { global $logger; $this->logger = $logger; $this->route = Context::get("route"); } public function __destruct() { unset($this->controller); unset($this->route); } public function draw() { $this->logger->trace("request draw  ."); $result = $this->setController(); if ($result["preExecute"] == true) { $this->drawView($result["curExecute"]); } $this->logger->trace("request draw  ."); } abstract public function drawView($controllerResult); protected function callControllerMethod($ref, $controller, $strMethod, $args = array()) { $rtn = null; $this->logger->trace("controller method  .[".get_class($controller)."][".$strMethod."]"); if ($strMethod != null && $strMethod && $strMethod != "") { if ($ref->hasmethod($strMethod)) { $rtn = call_user_func_array(array($controller, $strMethod), $args); } else { $this->logger->fatal("controller method  .[".get_class($controller)."][".$strMethod."]"); throw new Exception("Check class method! [".get_class($controller)."][".$strMethod."]"); } } else { $this->logger->fatal("controller method  .[".get_class($controller)."][".$strMethod."]"); throw new Exception("Class method is NULL!"); } return $rtn; } protected function setController() { $route = $this->route; $rtn = array(); $rtn["preExecute"] = true; $rtn["curExecute"] = null; $this->logger->trace("controller   . [".$route->class."]"); if ($route != null && $route && $route->class != null && $route->class && !Utill::isNullorEmpty($route->class)) { $this->logger->trace("controller file load. [".__PATH_CONTROLLER__."/".$route->class.".php]"); if (file_exists(__PATH_CONTROLLER__."/".$route->class.".php")) { include_once __PATH_CONTROLLER__."/AbstractController.php"; include_once __PATH_CONTROLLER__."/".$route->class.".php"; $temp = explode('/', $route->class); $className = count($temp) > 1 ? trim($temp[count($temp) - 1]) : trim($temp[0]); if (!Utill::isNullorEmpty($className)) { $this->logger->trace("controller class load. [".$className."]"); if (!class_exists($className)) { $this->logger->fatal("controller class load fail. [".$className."]"); if (__DEV_MODE__ != "real") { throw new Exception("Check controller class name."); } } $ref = new ReflectionClass($className); $this->controller = $ref->newInstanceArgs(); $this->logger->trace("controller class load complete. [".$className."]"); if (trim($route->premethod) != "") { $this->logger->trace("call controller premethod. [".$className."][".$route->premethod."]"); $rtn["preExecute"] = $this->callControllerMethod($ref, $this->controller, $route->premethod); } if ($rtn["preExecute"] == true) { $arguments = array(); if (isset($route->restful) && isset($route->restful->use) && $route->restful->use == true && isset($route->restful->arguments)) { $arguments = $route->restful->arguments; } $this->logger->trace("call controller method. [".$className."][".$route->method."][".print_r($arguments, true)."]"); $rtn["curExecute"] = $this->callControllerMethod($ref, $this->controller, $route->method, $arguments); } else { $this->logger->trace("skip controller method. [".$className."][".$route->method."]"); } } else { $this->logger->fatal("Check controller class. [".$className."]"); if (__DEV_MODE__ != "real") { throw new Exception("Check controller class. [".$className."]"); } } } else { $this->logger->fatal("controller file load fail. [".__PATH_CONTROLLER__."/".$route->class.".php]"); if (__DEV_MODE__ != "real") { throw new Exception("Not found controller file. [".__PATH_CONTROLLER__."/".$route->class.".php]"); } } } else { $this->logger->trace("controller   skip ."); } $this->logger->trace("controller   . [".$route->class."]"); return $rtn; } protected function setView() { global $GLOBAL_ROUTE; $route = $this->route; $this->logger->trace("view   . [".$route->view."]"); if ($route != null && $route && $route->view != null && $route->view && !Utill::isNullorEmpty($route->view)) { $this->logger->trace("view file load. [".__PATH_VIEW__."/".$route->view.".php]"); $lang = Context::get("lang"); if (file_exists(__PATH_VIEW__."/".$route->view."_".$lang.".php")) { include_once __PATH_VIEW__."/".$route->view."_".$lang.".php"; } else if (file_exists(__PATH_VIEW__."/".$route->view.".php")) { include_once __PATH_VIEW__."/".$route->view.".php"; } else { $this->logger->fatal("view file load fail. [".__PATH_VIEW__."/".$route->view.".php]"); if ($route->display == Route::DISPLAY_DIRECT) { $this->logger->error("not found direct view file [".$route->view."]
[".print_r($route, true)."]
[".$_SERVER["REQUEST_URI"]."]"); echo "
						<script type='text/javascript'>
							document.location.replace('".trim($GLOBAL_ROUTE["error"]["404"]["path"])."?ref=".base64_encode($_SERVER["REQUEST_URI"])."&referer=".base64_encode($_SERVER["HTTP_REFERER"])."');
						</script>
					"; exit; } else { if (__DEV_MODE__ != "real") { throw new Exception("Not found view file. [".__PATH_VIEW__."/".$route->view.".php]"); } } } } else { $this->logger->trace("view   skip ."); } $this->logger->trace("view   . [".$route->view."]"); } protected function setMaster() { $route = $this->route; $this->logger->trace("master   . [".$route->master."]"); if ($route != null && $route && $route->master != null && $route->master && !Utill::isNullorEmpty($route->master)) { $this->logger->trace("master file load. [".__PATH_MASTER__."/".$route->master.".php]"); $lang = Context::get("lang"); if (file_exists(__PATH_MASTER__."/".$route->master."_".$lang.".php")) { include_once __PATH_MASTER__."/".$route->master."_".$lang.".php"; } else if (file_exists(__PATH_MASTER__."/".$route->master.".php")) { include_once __PATH_MASTER__."/".$route->master.".php"; } else { $this->logger->fatal("master file load fail. [".__PATH_MASTER__."/".$route->master.".php]"); if (__DEV_MODE__ != "real") { throw new Exception("Not found master file."); } } } else { $this->logger->trace("master   skip . [".__PATH_MASTER__."/".$route->master.".php]"); } $this->logger->trace("master   . [".$route->master."]"); } } 

Did this file decode correctly?

Original Code

<?php eval(gzinflate(base64_decode('FZdFssVIkkWXU5mmgZisR2LWE9OkTMzMWn3/2kCYR8TxC+WVDv/UXztVQ3qU/2TpXhLYf4syn4vyn/9USSEL6xELfRj5JMDducW32Jy6TN1dTP4QOUsq37tfTUjXKjkpJkKXnl5hAG6VRcFDebCBbakO+D2CuDUQSTdUIEaAvmheqLGTcu0LIkEJ1eP9utW4GsQqqasdcXiDJYTMo9evquBGohutqcKtfBeP5ozzwEfOUF3NSu9Z7pBJArH/GKVGvWk83YRJ1ReIFQ5nO5E1o763JJeHXz1MbdJMP37xfh/sGN3BsxTryYKQndRSrj8zQPd7J2+6CAlw5ubcb7whFUchLpw2BZwFRULwoEaAuc4P/9YtAjS/pm4MpgVrbQ+0El/lU9mnY+JpLHndZcNG8ef7C/y48XVZ8TQumUGyyZjKeTJ2i8hBh4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ohE8whIlaoosBn9qg530M9Zzq99MUUFib9Iu3YodR7CM3fdp7B8IG8R5D/1CyfCMSd4/bQFaOkkKIyuU/Kafz1qdBiRwfhb9P2fc4RkLccEHpbQ1HrxapfFvD+yNkAwIkCn73a3xgvTvylpQaN1uXXqcF7W/ksmsAI0Es1IFPPzcM8ydpKI7aE+N7AyB36PF+SMgSqCE8YgglOwFmAlXOyPYrc0w4Ce7v/HBaJT+q5JYOXJy9g1nZPR/MWD/yihhcA650b98l4QiVWqvVSjOe9x/2ny/1CseVyqT7sYMsck1F42hFtaCyFTpTyaxbIb8AoAS7EWReOd1kfoyBmVdeeX3m3YCv3yabWatGO2/Jj2BNFhVFQh4IA1HyGsSVB1BB4D9MJ1xIthvUOKw7Mg3EcgnwPBtOvCyks1O/iBQdk+bIsQnhk3Ri10tWy2+uYjOaGVx1RLwN9zkizK9y+aSxveFukWUITH/8TlNgTZJhVnolUVZShoEnPy0AwG9cDh5SVOtrpZDguB1goNF6f/5999//+//AQ==')));

Function Calls

strtr 1
gzinflate 4
base64_decode 5

Variables

$__iJB8O4oS9s abstract class AbstractDisplay { protected $logger = null..

Stats

MD5 e4783f899995fe1a3f13dff3c2d734e8
Eval Count 5
Decode Time 70 ms