Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? namespace Bitrix\Main\UpdateSystem;$GLOBALS['____927802962']= array(base64_decode('ZGVm..
Decoded Output download
<? namespace Bitrix\Main\UpdateSystem;$GLOBALS['____927802962']= array(base64_decode('ZGVmaW5lZA='.'='),base64_decode('ZnVuY3Rpb25fZX'.'hpc3Rz'),base64_decode('ZGVmaW5lZA'.'=='),base64_decode('cGhwdmVy'.'c2lvbg'.'=='),base64_decode('Y2xhc3NfZXh'.'pc'.'3Rz'));if(!function_exists(__NAMESPACE__.'\\___1336570136')){function ___1336570136($_1075825753){static $_1499544179= false; if($_1499544179 == false) $_1499544179=array('TElDRU5TRV9'.'LRVk=','bGF'.'uZw==',''.'d'.'XRm','Q'.'lhfVVRG','WQ==','Tg==',''.'c3RhYmx'.'l','bWF'.'pbg='.'=','c3RhYmxlX'.'3Zlc'.'nNpb25zX29'.'ubHk=','WQ==','Q0FOR1pJUA'.'==',''.'Z3pjb21'.'wcmV'.'zcw==','WQ==',''.'Tg==','U'.'1VQ'.'RF9EQlM=',''.'W'.'EU=','WQ==','T'.'g==','U1V'.'Q'.'R'.'F9VUlM=','Q0xJRU'.'5UX1'.'N'.'JVEU=','U0VSVk'.'VS'.'X'.'0'.'5BT'.'UU=','c3Bk','bWFpb'.'g'.'==','Y3J'.'jX2NvZGU=','','ZGJ2','U1'.'VQRF9W'.'RVI'.'=',''.'VV'.'BEQVRFX'.'1NZU'.'1RF'.'TV9WR'.'V'.'JTS'.'U'.'9OX0E=','',''.'U1VQRF9TUlM'.'=','U'.'lU=',''.'U1VQRF9D'.'TV'.'A'.'=','Tg==','U1V'.'QR'.'F9'.'T'.'VFM=',''.'Uk'.'E=','TE'.'l'.'DRU'.'5T'.'RV9T'.'S'.'UdORUQ=',''.'Q0'.'x'.'J'.'RU5UX1B'.'IUFZFUg==','TkdJT'.'lg=','bWFpbg==','dXBkYXRl'.'X3V'.'z'.'ZV9uZ'.'2l'.'ue'.'A'.'==',''.'WQ='.'=','U'.'01E','bW'.'Fpbg==','dXBkY'.'XR'.'lX3NhZmVfbW9'.'k'.'ZQ==','Tg==','VkV'.'SU'.'0lPTg==',''.'V'.'FlQRU'.'5'.'D','Q'.'0h'.'IQ'.'g==','SFRUUF9IT1N'.'U','Q1'.'NBQ'.'g==','U0V'.'SVkV'.'S'.'X0FERFI=','U1'.'VJRA='.'=','QVBQ'.'T'.'E'.'lDQ'.'VRJT'.'04=','','Y'.'2x1c3R'.'lcg='.'=',''.'Q0'.'Nsd'.'XN0ZXI'.'=','PUFD'.'VElWRQ'.'='.'=','W'.'Q==','L2JpdHJpeC9tb'.'2R1bGVzL21haW4vY2xhc3Nl'.'cy9nZ'.'W'.'5lcmFsL3V'.'wZG'.'F'.'0ZV9jbG'.'l'.'lb'.'nQucGhw','L'.'Q==','bWFpbg='.'=','T'.'g==','RA==','RQ==','VA==',''.'R'.'g'.'==',''.'L2Jp'.'dHJ'.'peC9t'.'b2'.'R1b'.'G'.'V'.'zL'.'2'.'1'.'haW4vY2'.'xhc3Nlcy9n'.'ZW5'.'lc'.'mFs'.'L3VwZGF0Z'.'V'.'9j'.'bGllb'.'nQu'.'c'.'Gh'.'w','','L'.'2JpdHJ'.'peC9tb2R1bG'.'VzL'.'2'.'1haW4vY2xhc3Nlcy9nZW'.'5'.'lcmFsL'.'3VwZGF0ZV9j'.'bGllbnQuc'.'Gh'.'w','');return base64_decode($_1499544179[$_1075825753]);}}; use Bitrix\Main\Application; use Bitrix\Main\License; use Bitrix\Main\Loader; use Bitrix\Main\SystemException; use Bitrix\Main\SiteTable; class PortalInfo{ private License $_1028702028; public function __construct(){ $this->_1028702028= Application::getInstance()->getLicense();} public function common(): array{ global $DB; return[ ___1336570136(0) => $this->_1028702028->getHashLicenseKey(), ___1336570136(1) => LANGUAGE_ID, ___1336570136(2) => $GLOBALS['____927802962'][0](___1336570136(3))? ___1336570136(4): ___1336570136(5), ___1336570136(6) => \COption::GetOptionString(___1336570136(7), ___1336570136(8), ___1336570136(9)), ___1336570136(10) => $GLOBALS['____927802962'][1](___1336570136(11))? ___1336570136(12): ___1336570136(13), ___1336570136(14) => $DB->type, ___1336570136(15) =>(isset($DB->_911354699) && $DB->_911354699)? ___1336570136(16): ___1336570136(17), ___1336570136(18) => $this->_1028702028->getActiveUsersCount(), ___1336570136(19) => $_SERVER[___1336570136(20)], ___1336570136(21) => \COption::GetOptionString(___1336570136(22), ___1336570136(23), ___1336570136(24)), ___1336570136(25) => $this->__1138782715(), ___1336570136(26) => $GLOBALS['____927802962'][2](___1336570136(27))? UPDATE_SYSTEM_VERSION_A: ___1336570136(28), ___1336570136(29) => $this->__15500163() ?? ___1336570136(30), ___1336570136(31) => ___1336570136(32), ___1336570136(33) => $this->__2047103362() ?? ___1336570136(34), ___1336570136(35) => $this->__427530918(), ___1336570136(36) => $GLOBALS['____927802962'][3](), ___1336570136(37) => \COption::GetOptionString(___1336570136(38), ___1336570136(39), ___1336570136(40)), ___1336570136(41) => \COption::GetOptionString(___1336570136(42), ___1336570136(43), ___1336570136(44)), ___1336570136(45) => SM_VERSION, ___1336570136(46) => $this->getLicenseType(), ___1336570136(47) => $_SERVER[___1336570136(48)], ___1336570136(49) => $_SERVER[___1336570136(50)], ___1336570136(51) => $GLOBALS[___1336570136(52)]->GetServerUniqID(),];} private function __1138782715(): string{ global $DB; $_1851227663= $DB->GetVersion(); return $_1851227663 !== false? $_1851227663: ___1336570136(53);} private function __15500163():?int{ if(Loader::includeModule(___1336570136(54)) && $GLOBALS['____927802962'][4](___1336570136(55))){ return \CCluster::getServersCount();} return null;} private function __2047103362():?int{ return SiteTable::getCount([___1336570136(56) => ___1336570136(57)]);} private function __427530918(): string{ require_once(Application::getDocumentRoot(). ___1336570136(58)); $_302700376= \CUpdateClient::getNewLicenseSignedKey(); return $_302700376.___1336570136(59).\COption::GetOptionString(___1336570136(60), $_302700376, ___1336570136(61));} public function getLicenseType(): string{ if($this->_1028702028->isDemo()){ return ___1336570136(62);} elseif($this->_1028702028->isEncoded()){ return ___1336570136(63);} elseif($this->_1028702028->isTimeBound()){ return ___1336570136(64);} else{ return ___1336570136(65);}} public function getModules(): array{ require_once(Application::getDocumentRoot(). ___1336570136(66)); $_847691106= ___1336570136(67); $_251805613= \CUpdateClient::GetCurrentModules($_847691106); $_1662135809=(\CUpdateExpertMode::isEnabled() && \CUpdateExpertMode::isCorrectModulesStructure([])); if($_1662135809){ $_251805613= \CUpdateExpertMode::processModulesFrom([], $_251805613);} if(!empty($_847691106)){ throw new SystemException($_847691106);} return $_251805613;} public function getLanguages(): array{ require_once(Application::getDocumentRoot(). ___1336570136(68)); $_847691106= ___1336570136(69); $_539753789= \CUpdateClient::GetCurrentLanguages($_847691106); if(!empty($_847691106)){ throw new SystemException($_847691106);} return $_539753789;}}?>
Did this file decode correctly?
Original Code
<? namespace Bitrix\Main\UpdateSystem;$GLOBALS['____927802962']= array(base64_decode('ZGVmaW5lZA='.'='),base64_decode('ZnVuY3Rpb25fZX'.'hpc3Rz'),base64_decode('ZGVmaW5lZA'.'=='),base64_decode('cGhwdmVy'.'c2lvbg'.'=='),base64_decode('Y2xhc3NfZXh'.'pc'.'3Rz'));if(!function_exists(__NAMESPACE__.'\\___1336570136')){function ___1336570136($_1075825753){static $_1499544179= false; if($_1499544179 == false) $_1499544179=array('TElDRU5TRV9'.'LRVk=','bGF'.'uZw==',''.'d'.'XRm','Q'.'lhfVVRG','WQ==','Tg==',''.'c3RhYmx'.'l','bWF'.'pbg='.'=','c3RhYmxlX'.'3Zlc'.'nNpb25zX29'.'ubHk=','WQ==','Q0FOR1pJUA'.'==',''.'Z3pjb21'.'wcmV'.'zcw==','WQ==',''.'Tg==','U'.'1VQ'.'RF9EQlM=',''.'W'.'EU=','WQ==','T'.'g==','U1V'.'Q'.'R'.'F9VUlM=','Q0xJRU'.'5UX1'.'N'.'JVEU=','U0VSVk'.'VS'.'X'.'0'.'5BT'.'UU=','c3Bk','bWFpb'.'g'.'==','Y3J'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L'.'3VwZGF0ZV9j'.'bGllbnQuc'.'Gh'.'w','');return base64_decode($_1499544179[$_1075825753]);}}; use Bitrix\Main\Application; use Bitrix\Main\License; use Bitrix\Main\Loader; use Bitrix\Main\SystemException; use Bitrix\Main\SiteTable; class PortalInfo{ private License $_1028702028; public function __construct(){ $this->_1028702028= Application::getInstance()->getLicense();} public function common(): array{ global $DB; return[ ___1336570136(0) => $this->_1028702028->getHashLicenseKey(), ___1336570136(1) => LANGUAGE_ID, ___1336570136(2) => $GLOBALS['____927802962'][0](___1336570136(3))? ___1336570136(4): ___1336570136(5), ___1336570136(6) => \COption::GetOptionString(___1336570136(7), ___1336570136(8), ___1336570136(9)), ___1336570136(10) => $GLOBALS['____927802962'][1](___1336570136(11))? ___1336570136(12): ___1336570136(13), ___1336570136(14) => $DB->type, ___1336570136(15) =>(isset($DB->_911354699) && $DB->_911354699)? ___1336570136(16): ___1336570136(17), ___1336570136(18) => $this->_1028702028->getActiveUsersCount(), ___1336570136(19) => $_SERVER[___1336570136(20)], ___1336570136(21) => \COption::GetOptionString(___1336570136(22), ___1336570136(23), ___1336570136(24)), ___1336570136(25) => $this->__1138782715(), ___1336570136(26) => $GLOBALS['____927802962'][2](___1336570136(27))? UPDATE_SYSTEM_VERSION_A: ___1336570136(28), ___1336570136(29) => $this->__15500163() ?? ___1336570136(30), ___1336570136(31) => ___1336570136(32), ___1336570136(33) => $this->__2047103362() ?? ___1336570136(34), ___1336570136(35) => $this->__427530918(), ___1336570136(36) => $GLOBALS['____927802962'][3](), ___1336570136(37) => \COption::GetOptionString(___1336570136(38), ___1336570136(39), ___1336570136(40)), ___1336570136(41) => \COption::GetOptionString(___1336570136(42), ___1336570136(43), ___1336570136(44)), ___1336570136(45) => SM_VERSION, ___1336570136(46) => $this->getLicenseType(), ___1336570136(47) => $_SERVER[___1336570136(48)], ___1336570136(49) => $_SERVER[___1336570136(50)], ___1336570136(51) => $GLOBALS[___1336570136(52)]->GetServerUniqID(),];} private function __1138782715(): string{ global $DB; $_1851227663= $DB->GetVersion(); return $_1851227663 !== false? $_1851227663: ___1336570136(53);} private function __15500163():?int{ if(Loader::includeModule(___1336570136(54)) && $GLOBALS['____927802962'][4](___1336570136(55))){ return \CCluster::getServersCount();} return null;} private function __2047103362():?int{ return SiteTable::getCount([___1336570136(56) => ___1336570136(57)]);} private function __427530918(): string{ require_once(Application::getDocumentRoot(). ___1336570136(58)); $_302700376= \CUpdateClient::getNewLicenseSignedKey(); return $_302700376.___1336570136(59).\COption::GetOptionString(___1336570136(60), $_302700376, ___1336570136(61));} public function getLicenseType(): string{ if($this->_1028702028->isDemo()){ return ___1336570136(62);} elseif($this->_1028702028->isEncoded()){ return ___1336570136(63);} elseif($this->_1028702028->isTimeBound()){ return ___1336570136(64);} else{ return ___1336570136(65);}} public function getModules(): array{ require_once(Application::getDocumentRoot(). ___1336570136(66)); $_847691106= ___1336570136(67); $_251805613= \CUpdateClient::GetCurrentModules($_847691106); $_1662135809=(\CUpdateExpertMode::isEnabled() && \CUpdateExpertMode::isCorrectModulesStructure([])); if($_1662135809){ $_251805613= \CUpdateExpertMode::processModulesFrom([], $_251805613);} if(!empty($_847691106)){ throw new SystemException($_847691106);} return $_251805613;} public function getLanguages(): array{ require_once(Application::getDocumentRoot(). ___1336570136(68)); $_847691106= ___1336570136(69); $_539753789= \CUpdateClient::GetCurrentLanguages($_847691106); if(!empty($_847691106)){ throw new SystemException($_847691106);} return $_539753789;}}?>
Function Calls
None |
Stats
MD5 | dcaa55a025b757ead4008345b13cbb88 |
Eval Count | 0 |
Decode Time | 99 ms |