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 global $zym_decrypt;$zym_decrypt['']=base64_decode('X2luaXRpYWxpemU=');$zym_decrypt[..

Decoded Output download

<?php global $zym_decrypt;$zym_decrypt['']=base64_decode('X2luaXRpYWxpemU=');$zym_decrypt['']=base64_decode('RA==');$zym_decrypt['']=base64_decode('c3RycG9z');$zym_decrypt['']=base64_decode('bWV0aG9kX2V4aXN0cw==');$zym_decrypt['']=base64_decode('dHJpbQ==');$zym_decrypt['']=base64_decode('c3Vic3Ry');$zym_decrypt['']=base64_decode('UGFnZQ==');$zym_decrypt['']=base64_decode('aW5fYXJyYXk=');$zym_decrypt['']=base64_decode('ZXhwbG9kZQ==');$zym_decrypt['']=base64_decode('TQ==');$zym_decrypt['']=base64_decode('aXNfZmlsZQ==');$zym_decrypt['']=base64_decode('aXNfd3JpdGFibGU=');$zym_decrypt['']=base64_decode('YXJyYXlfbWVyZ2U=');$zym_decrypt['']=base64_decode('ZmlsZV9wdXRfY29udGVudHM=');$zym_decrypt['']=base64_decode('c3RyaXBzbGFzaGVz');$zym_decrypt['']=base64_decode('dmFyX2V4cG9ydA==');$zym_decrypt['']=base64_decode('dW5saW5r'); ?> 
<?php 
class BackendAction extends CommAction {protected $_name ='';protected $menuid =0;public function _initialize(){parent::$GLOBALS['zym_decrypt']['']();$this->_name =$this->getActionName();$this->check_priv();$this->menuid =$this->_request(base64_decode('bWVudWlk'), base64_decode('dHJpbQ=='), 0);if ($this->menuid){$ =$GLOBALS['zym_decrypt'][''](base64_decode('bWVudQ=='))->sub_menu($this->menuid, $this->big_menu);$ ='';foreach ($ as $key=>$){$[$key][base64_decode('Y2xhc3M=')] ='';if (MODULE_NAME == $[base64_decode('bW9kdWxlX25hbWU=')] && ACTION_NAME == $[base64_decode('YWN0aW9uX25hbWU=')] && $GLOBALS['zym_decrypt'][''](__SELF__, $[base64_decode('ZGF0YQ==')])){$[$key][base64_decode('Y2xhc3M=')] =$ =base64_decode('b24=');}}if (empty($)){foreach ($ as $key=>$){if (MODULE_NAME == $[base64_decode('bW9kdWxlX25hbWU=')] && ACTION_NAME == $[base64_decode('YWN0aW9uX25hbWU=')]){$[$key][base64_decode('Y2xhc3M=')] =base64_decode('b24=');break;}}}$this->assign(base64_decode('c3ViX21lbnU='), $);}$this->assign(base64_decode('bWVudWlk'), $this->menuid);}public function index(){$ =$this->_search();$ =$GLOBALS['zym_decrypt']['']($this->_name);!empty($)&& $this->_list($, $);$this->display();}public function add(){$ =$GLOBALS['zym_decrypt']['']($this->_name);if (IS_POST){if (false === $ =$->create()){IS_AJAX && $this->ajaxReturn(0, $->getError());$this->error($->getError());}if ($GLOBALS['zym_decrypt']['']($this, base64_decode('X2JlZm9yZV9pbnNlcnQ='))){$ =$this->_before_insert($);}if($->add($)){if($GLOBALS['zym_decrypt']['']($this, base64_decode('X2FmdGVyX2luc2VydA=='))){$ =$->getLastInsID();$this->_after_insert($);}IS_AJAX && $this->ajaxReturn(1, L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')), '', base64_decode('YWRk'));$this->success(L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')));}else {IS_AJAX && $this->ajaxReturn(0, L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));$this->error(L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));}}else {$this->assign(base64_decode('b3Blbl92YWxpZGF0b3I='), true);if (IS_AJAX){$ =$this->fetch();$this->ajaxReturn(1, '', $);}else {$this->display();}}}public function edit(){$ =$GLOBALS['zym_decrypt']['']($this->_name);$ =$->getPk();if (IS_POST){if (false === $ =$->create()){IS_AJAX && $this->ajaxReturn(0, $->getError());$this->error($->getError());}if ($GLOBALS['zym_decrypt']['']($this, base64_decode('X2JlZm9yZV91cGRhdGU='))){$ =$this->_before_update($);}if (false !== $->save($)){if($GLOBALS['zym_decrypt']['']($this, base64_decode('X2FmdGVyX3VwZGF0ZQ=='))){$ =$[base64_decode('aWQ=')];$this->_after_update($);}IS_AJAX && $this->ajaxReturn(1, L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')), '', base64_decode('ZWRpdA=='));$this->success(L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')));}else {IS_AJAX && $this->ajaxReturn(0, L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));$this->error(L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));}}else {$ =$this->_get($, base64_decode('aW50dmFs'));$ =$->find($);$this->assign(base64_decode('aW5mbw=='), $);$this->assign(base64_decode('b3Blbl92YWxpZGF0b3I='), true);if (IS_AJAX){$ =$this->fetch();$this->ajaxReturn(1, '', $);}else {$this->display();}}}public function ajax_edit(){$ =$GLOBALS['zym_decrypt']['']($this->_name);$ =$->getPk();$ =$this->_get($, base64_decode('aW50dmFs'));$ =$this->_get(base64_decode('ZmllbGQ='), base64_decode('dHJpbQ=='));$ =$this->_get(base64_decode('dmFs'), base64_decode('dHJpbQ=='));$->where(array($=>$))->setField($, $);$this->ajaxReturn(1);}public function delete(){$ =$GLOBALS['zym_decrypt']['']($this->_name);$ =$->getPk();$ =$GLOBALS['zym_decrypt']['']($this->_request($), ',');if ($){if (false !== $->delete($)){IS_AJAX && $this->ajaxReturn(1, L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')));$this->success(L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')));}else {IS_AJAX && $this->ajaxReturn(0, L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));$this->error(L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));}}else {IS_AJAX && $this->ajaxReturn(0, L(base64_decode('aWxsZWdhbF9wYXJhbWV0ZXJz')));$this->error(L(base64_decode('aWxsZWdhbF9wYXJhbWV0ZXJz')));}}protected function _search(){$ =$GLOBALS['zym_decrypt']['']($this->_name);$ =array();foreach ($->getDbFields()as $key => $){if ($GLOBALS['zym_decrypt']['']($key, 0, 1)== '_'){continue;}if ($this->_request($)){$[$] =$this->_request($);}}return $;}protected function _list($, $ =array(), $='', $='', $='*', $=100){$ =$->getPk();if ($this->_request(base64_decode('c29ydA=='), base64_decode('dHJpbQ=='))){$sort =$this->_request(base64_decode('c29ydA=='), base64_decode('dHJpbQ=='));}else if (!empty($)){$sort =$;}else if ($this->sort){$sort =$this->sort;}else {$sort =$;}if ($this->_request(base64_decode('b3JkZXI='), base64_decode('dHJpbQ=='))){$ =$this->_request(base64_decode('b3JkZXI='), base64_decode('dHJpbQ=='));}else if (!empty($)){$ =$;}else if ($this->order){$ =$this->order;}else {$ =base64_decode('REVTQw==');}if ($){$count =$->where($)->count($);$ =new $GLOBALS['zym_decrypt']['']($count, $);}$ =$->field($)->where($)->order($sort . ' ' . $);$this->list_relation && $->relation(true);if ($){$->limit($->firstRow.','.$->listRows);$ =$->show();$this->assign(base64_decode('cGFnZQ=='), $);}$list =$->select();$this->assign(base64_decode('bGlzdA=='), $list);$this->assign(base64_decode('bGlzdF90YWJsZQ=='), true);}public function check_priv(){if (MODULE_NAME == 'attachment'){return true;}if ((!isset($_SESSION[base64_decode('YWRtaW4=')])|| !$_SESSION[base64_decode('YWRtaW4=')])&& !$GLOBALS['zym_decrypt'][''](ACTION_NAME, array(base64_decode('bG9naW4='),base64_decode('dmVyaWZ5X2NvZGU=')))){$this->redirect(base64_decode('aW5kZXgvbG9naW4='));}if($_SESSION[base64_decode('YWRtaW4=')][base64_decode('cm9sZV9pZA==')] == 1){return true;}if ($GLOBALS['zym_decrypt'][''](MODULE_NAME, $GLOBALS['zym_decrypt'][''](',', base64_decode('aW5kZXg=')))){return true;}$ =$GLOBALS['zym_decrypt'][''](base64_decode('bWVudQ=='));$ =$->where(array(base64_decode('bW9kdWxlX25hbWU=')=>MODULE_NAME, base64_decode('YWN0aW9uX25hbWU=')=>ACTION_NAME))->getField(base64_decode('aWQ='));$ =$GLOBALS['zym_decrypt'][''](base64_decode('YWRtaW5fYXV0aA=='));$ =$->where(array(base64_decode('bWVudV9pZA==')=>$, base64_decode('cm9sZV9pZA==')=>$_SESSION[base64_decode('YWRtaW4=')][base64_decode('cm9sZV9pZA==')]))->count();if (!$){$this->error(L(base64_decode('X1ZBTElEX0FDQ0VTU18=')));}}protected function update_config($, $ =''){!$GLOBALS['zym_decrypt']['']($)&& $ =CONF_PATH . 'index/config.php';if ($GLOBALS['zym_decrypt']['']($)){$ =require $;$ =$GLOBALS['zym_decrypt']['']($, $);$GLOBALS['zym_decrypt']['']($, base64_decode('PD9waHAgCnJldHVybiA=') . $GLOBALS['zym_decrypt']['']($GLOBALS['zym_decrypt']['']($, true)). ";", LOCK_EX);@$GLOBALS['zym_decrypt'][''](RUNTIME_FILE);return true;}else {return false;}}}unset($zym_5);?>

Did this file decode correctly?

Original Code

<?php global $zym_decrypt;$zym_decrypt['']=base64_decode('X2luaXRpYWxpemU=');$zym_decrypt['']=base64_decode('RA==');$zym_decrypt['']=base64_decode('c3RycG9z');$zym_decrypt['']=base64_decode('bWV0aG9kX2V4aXN0cw==');$zym_decrypt['']=base64_decode('dHJpbQ==');$zym_decrypt['']=base64_decode('c3Vic3Ry');$zym_decrypt['']=base64_decode('UGFnZQ==');$zym_decrypt['']=base64_decode('aW5fYXJyYXk=');$zym_decrypt['']=base64_decode('ZXhwbG9kZQ==');$zym_decrypt['']=base64_decode('TQ==');$zym_decrypt['']=base64_decode('aXNfZmlsZQ==');$zym_decrypt['']=base64_decode('aXNfd3JpdGFibGU=');$zym_decrypt['']=base64_decode('YXJyYXlfbWVyZ2U=');$zym_decrypt['']=base64_decode('ZmlsZV9wdXRfY29udGVudHM=');$zym_decrypt['']=base64_decode('c3RyaXBzbGFzaGVz');$zym_decrypt['']=base64_decode('dmFyX2V4cG9ydA==');$zym_decrypt['']=base64_decode('dW5saW5r'); ?>
<?php
class BackendAction extends CommAction {protected $_name ='';protected $menuid =0;public function _initialize(){parent::$GLOBALS['zym_decrypt']['']();$this->_name =$this->getActionName();$this->check_priv();$this->menuid =$this->_request(base64_decode('bWVudWlk'), base64_decode('dHJpbQ=='), 0);if ($this->menuid){$ =$GLOBALS['zym_decrypt'][''](base64_decode('bWVudQ=='))->sub_menu($this->menuid, $this->big_menu);$ ='';foreach ($ as $key=>$){$[$key][base64_decode('Y2xhc3M=')] ='';if (MODULE_NAME == $[base64_decode('bW9kdWxlX25hbWU=')] && ACTION_NAME == $[base64_decode('YWN0aW9uX25hbWU=')] && $GLOBALS['zym_decrypt'][''](__SELF__, $[base64_decode('ZGF0YQ==')])){$[$key][base64_decode('Y2xhc3M=')] =$ =base64_decode('b24=');}}if (empty($)){foreach ($ as $key=>$){if (MODULE_NAME == $[base64_decode('bW9kdWxlX25hbWU=')] && ACTION_NAME == $[base64_decode('YWN0aW9uX25hbWU=')]){$[$key][base64_decode('Y2xhc3M=')] =base64_decode('b24=');break;}}}$this->assign(base64_decode('c3ViX21lbnU='), $);}$this->assign(base64_decode('bWVudWlk'), $this->menuid);}public function index(){$ =$this->_search();$ =$GLOBALS['zym_decrypt']['']($this->_name);!empty($)&& $this->_list($, $);$this->display();}public function add(){$ =$GLOBALS['zym_decrypt']['']($this->_name);if (IS_POST){if (false === $ =$->create()){IS_AJAX && $this->ajaxReturn(0, $->getError());$this->error($->getError());}if ($GLOBALS['zym_decrypt']['']($this, base64_decode('X2JlZm9yZV9pbnNlcnQ='))){$ =$this->_before_insert($);}if($->add($)){if($GLOBALS['zym_decrypt']['']($this, base64_decode('X2FmdGVyX2luc2VydA=='))){$ =$->getLastInsID();$this->_after_insert($);}IS_AJAX && $this->ajaxReturn(1, L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')), '', base64_decode('YWRk'));$this->success(L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')));}else {IS_AJAX && $this->ajaxReturn(0, L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));$this->error(L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));}}else {$this->assign(base64_decode('b3Blbl92YWxpZGF0b3I='), true);if (IS_AJAX){$ =$this->fetch();$this->ajaxReturn(1, '', $);}else {$this->display();}}}public function edit(){$ =$GLOBALS['zym_decrypt']['']($this->_name);$ =$->getPk();if (IS_POST){if (false === $ =$->create()){IS_AJAX && $this->ajaxReturn(0, $->getError());$this->error($->getError());}if ($GLOBALS['zym_decrypt']['']($this, base64_decode('X2JlZm9yZV91cGRhdGU='))){$ =$this->_before_update($);}if (false !== $->save($)){if($GLOBALS['zym_decrypt']['']($this, base64_decode('X2FmdGVyX3VwZGF0ZQ=='))){$ =$[base64_decode('aWQ=')];$this->_after_update($);}IS_AJAX && $this->ajaxReturn(1, L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')), '', base64_decode('ZWRpdA=='));$this->success(L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')));}else {IS_AJAX && $this->ajaxReturn(0, L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));$this->error(L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));}}else {$ =$this->_get($, base64_decode('aW50dmFs'));$ =$->find($);$this->assign(base64_decode('aW5mbw=='), $);$this->assign(base64_decode('b3Blbl92YWxpZGF0b3I='), true);if (IS_AJAX){$ =$this->fetch();$this->ajaxReturn(1, '', $);}else {$this->display();}}}public function ajax_edit(){$ =$GLOBALS['zym_decrypt']['']($this->_name);$ =$->getPk();$ =$this->_get($, base64_decode('aW50dmFs'));$ =$this->_get(base64_decode('ZmllbGQ='), base64_decode('dHJpbQ=='));$ =$this->_get(base64_decode('dmFs'), base64_decode('dHJpbQ=='));$->where(array($=>$))->setField($, $);$this->ajaxReturn(1);}public function delete(){$ =$GLOBALS['zym_decrypt']['']($this->_name);$ =$->getPk();$ =$GLOBALS['zym_decrypt']['']($this->_request($), ',');if ($){if (false !== $->delete($)){IS_AJAX && $this->ajaxReturn(1, L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')));$this->success(L(base64_decode('b3BlcmF0aW9uX3N1Y2Nlc3M=')));}else {IS_AJAX && $this->ajaxReturn(0, L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));$this->error(L(base64_decode('b3BlcmF0aW9uX2ZhaWx1cmU=')));}}else {IS_AJAX && $this->ajaxReturn(0, L(base64_decode('aWxsZWdhbF9wYXJhbWV0ZXJz')));$this->error(L(base64_decode('aWxsZWdhbF9wYXJhbWV0ZXJz')));}}protected function _search(){$ =$GLOBALS['zym_decrypt']['']($this->_name);$ =array();foreach ($->getDbFields()as $key => $){if ($GLOBALS['zym_decrypt']['']($key, 0, 1)== '_'){continue;}if ($this->_request($)){$[$] =$this->_request($);}}return $;}protected function _list($, $ =array(), $='', $='', $='*', $=100){$ =$->getPk();if ($this->_request(base64_decode('c29ydA=='), base64_decode('dHJpbQ=='))){$sort =$this->_request(base64_decode('c29ydA=='), base64_decode('dHJpbQ=='));}else if (!empty($)){$sort =$;}else if ($this->sort){$sort =$this->sort;}else {$sort =$;}if ($this->_request(base64_decode('b3JkZXI='), base64_decode('dHJpbQ=='))){$ =$this->_request(base64_decode('b3JkZXI='), base64_decode('dHJpbQ=='));}else if (!empty($)){$ =$;}else if ($this->order){$ =$this->order;}else {$ =base64_decode('REVTQw==');}if ($){$count =$->where($)->count($);$ =new $GLOBALS['zym_decrypt']['']($count, $);}$ =$->field($)->where($)->order($sort . ' ' . $);$this->list_relation && $->relation(true);if ($){$->limit($->firstRow.','.$->listRows);$ =$->show();$this->assign(base64_decode('cGFnZQ=='), $);}$list =$->select();$this->assign(base64_decode('bGlzdA=='), $list);$this->assign(base64_decode('bGlzdF90YWJsZQ=='), true);}public function check_priv(){if (MODULE_NAME == 'attachment'){return true;}if ((!isset($_SESSION[base64_decode('YWRtaW4=')])|| !$_SESSION[base64_decode('YWRtaW4=')])&& !$GLOBALS['zym_decrypt'][''](ACTION_NAME, array(base64_decode('bG9naW4='),base64_decode('dmVyaWZ5X2NvZGU=')))){$this->redirect(base64_decode('aW5kZXgvbG9naW4='));}if($_SESSION[base64_decode('YWRtaW4=')][base64_decode('cm9sZV9pZA==')] == 1){return true;}if ($GLOBALS['zym_decrypt'][''](MODULE_NAME, $GLOBALS['zym_decrypt'][''](',', base64_decode('aW5kZXg=')))){return true;}$ =$GLOBALS['zym_decrypt'][''](base64_decode('bWVudQ=='));$ =$->where(array(base64_decode('bW9kdWxlX25hbWU=')=>MODULE_NAME, base64_decode('YWN0aW9uX25hbWU=')=>ACTION_NAME))->getField(base64_decode('aWQ='));$ =$GLOBALS['zym_decrypt'][''](base64_decode('YWRtaW5fYXV0aA=='));$ =$->where(array(base64_decode('bWVudV9pZA==')=>$, base64_decode('cm9sZV9pZA==')=>$_SESSION[base64_decode('YWRtaW4=')][base64_decode('cm9sZV9pZA==')]))->count();if (!$){$this->error(L(base64_decode('X1ZBTElEX0FDQ0VTU18=')));}}protected function update_config($, $ =''){!$GLOBALS['zym_decrypt']['']($)&& $ =CONF_PATH . 'index/config.php';if ($GLOBALS['zym_decrypt']['']($)){$ =require $;$ =$GLOBALS['zym_decrypt']['']($, $);$GLOBALS['zym_decrypt']['']($, base64_decode('PD9waHAgCnJldHVybiA=') . $GLOBALS['zym_decrypt']['']($GLOBALS['zym_decrypt']['']($, true)). ";", LOCK_EX);@$GLOBALS['zym_decrypt'][''](RUNTIME_FILE);return true;}else {return false;}}}unset($zym_5);?>

Function Calls

None

Variables

None

Stats

MD5 f6ae9f6372e6425911c4805651ae5bd1
Eval Count 0
Decode Time 114 ms