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['____510846104']= array(base64_decode('aXNf..

Decoded Output download

<? namespace Bitrix\Main\UpdateSystem;$GLOBALS['____510846104']= array(base64_decode('aXNfd3'.'JpdGFibGU='),base64_decode('Zm9wZW'.'4='),base64_decode(''.'ZndyaXRl'),base64_decode(''.'ZmNs'.'b3N'.'l'),base64_decode(''.'a'.'W50dmFs'),base64_decode('aW'.'50dmFs'),base64_decode('aXNf'.'d3JpdGFibGU='),base64_decode('Zm9w'.'ZW4='),base64_decode('Z'.'nB1'.'dH'.'M='),base64_decode(''.'ZmNs'.'b3'.'Nl'));if(!function_exists(__NAMESPACE__.'\\___93133848')){function ___93133848($_528476312){static $_1666202203= false; if($_1666202203 == false) $_1666202203=array('R'.'VJ'.'S'.'T1I=','RVJST'.'1I=','X'.'1ZB'.'TFVF','V'.'W5rb'.'m'.'93biBlcn'.'Jvc'.'g==','IFtBU1Iw'.'MV'.'0=',''.'Uk'.'V'.'OVA'.'==','Tm90IGZ'.'vd'.'W5kIGx'.'pY2Vu'.'c2U'.'gaW5mbyBbQVNSMDJ'.'d','VjE'.'=','Vj'.'I=','VjE'.'=','V'.'jI=',''.'U'.'2'.'V'.'yd'.'m'.'V'.'yIH'.'Jl'.'c3BvbnNlIGlzIG5vdCByZWNvZ25p'.'e'.'mVkI'.'FtBU'.'0F'.'MST'.'AxXQ==','bWFp'.'bg==','YW'.'RtaW5fc'.'GF'.'zc3dvc'.'mRo',''.'RE9'.'DVU1FTlR'.'fUk9'.'PVA==','L2Jp'.'dHJpeC9tb2R1bG'.'V'.'zL21ha'.'W'.'4vYWRt'.'aW4=','RE'.'9DV'.'U1FTlRfUk'.'9PVA==',''.'L2JpdH'.'JpeC9t'.'b2R1bGVzL21haW4'.'vYWRta'.'W'.'4v'.'ZGVmaW5lLnBoc'.'A='.'=','dw='.'=','PA==',''.'P'.'0'.'Rl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'ZhaWxzIFtBU0FMS'.'TA0XQ'.'='.'=','R'.'m9sZGV'.'yIGl'.'zI'.'G5vdCB'.'3c'.'ml0YWJ'.'sZSBbQVNBT'.'Ek'.'wNV0=',''.'Tm90IGZvdW'.'5kIGxpY2V'.'uc2U'.'gaW5mbyBb'.'QVNBSDA'.'xXQ==','cm'.'VzdWx0','cmVz'.'d'.'Wx0','ZXJ'.'yb3I'.'=','b'.'WVzc2'.'FnZQ='.'=','R'.'XJyb3Igc2Vu'.'ZC'.'BwYXJ0bmVyIGlu'.'Z'.'m'.'8gW0FTU'.'0lUUDAx'.'XQ'.'==','c'.'mVzcG9'.'uc2U=','cmVxdWV'.'z'.'dA='.'=','ZXJyb3I=','V'.'W5rb'.'m93biBlcn'.'Jvc'.'g'.'==','IFtBU1NJ'.'VF'.'A'.'wMV'.'0=');return base64_decode($_1666202203[$_528476312]);}}; use Bitrix\Main\Application; use Bitrix\Main\Result; use Bitrix\Main\Security\SecurityException; use Bitrix\Main\SystemException; use Bitrix\Main\Web\Json; class ActivationSystem{  public function reincarnate(Coupon $_1345382689): Result{  $_1087239735= new ReincarnationRequestBuilder($_1345382689); $_1032635114=(new RequestFactory($_1087239735))->build();  $_1410626003= $_1032635114->send();  $_814239777= new UpdateServerDataParser($_1410626003); $_1591238452= $_814239777->parse(); if(isset($_1591238452[___93133848(0)])){ throw new SystemException(($_1591238452[___93133848(1)][___93133848(2)] ?? ___93133848(3)).___93133848(4));} $_1591238452= $_1591238452[___93133848(5)] ??[]; if(empty($_1591238452)){ throw new SystemException(___93133848(6));} $this->applyLicenseInfo($_1591238452, $_1345382689->getKey()); $_1579316119= new Result(); return $_1579316119->setData($_1591238452);}  protected function applyLicenseInfo(array $_1591238452, string $_1744019304): void{ if(isset($_1591238452[___93133848(7)], $_1591238452[___93133848(8)])){ $_133362633= $_1591238452[___93133848(9)]; $_1004205424= $_1591238452[___93133848(10)]; if(empty($_133362633) || empty($_1004205424)){ throw new SystemException(___93133848(11));} \COption::SetOptionString(___93133848(12), ___93133848(13), $_133362633); if($GLOBALS['____510846104'][0]($_SERVER[___93133848(14)].___93133848(15))){ if($_1229203240= $GLOBALS['____510846104'][1]($_SERVER[___93133848(16)].___93133848(17), ___93133848(18))){ $GLOBALS['____510846104'][2]($_1229203240, ___93133848(19).___93133848(20).$_1004205424.___93133848(21).___93133848(22)); $GLOBALS['____510846104'][3]($_1229203240);} else{ throw new SystemException(___93133848(23));}} else{ throw new SystemException(___93133848(24));}} if(isset($_1591238452[___93133848(25)])){ \COption::SetOptionString(___93133848(26), ___93133848(27), $_1591238452[___93133848(28)]);} if(isset($_1591238452[___93133848(29)])){ \COption::SetOptionString(___93133848(30), ___93133848(31), $GLOBALS['____510846104'][4]($_1591238452[___93133848(32)]));} if(isset($_1591238452[___93133848(33)])){ \COption::SetOptionString(___93133848(34), ___93133848(35), $GLOBALS['____510846104'][5]($_1591238452[___93133848(36)]));} if(isset($_1591238452[___93133848(37)])){ \COption::SetOptionString(___93133848(38), ___93133848(39), $_1591238452[___93133848(40)]);} if(isset($_1591238452[___93133848(41)])){ \COption::SetOptionString(___93133848(42), ___93133848(43), $_1591238452[___93133848(44)]);} if(isset($_1591238452[___93133848(45)])){ if($GLOBALS['____510846104'][6]($_SERVER[___93133848(46)].___93133848(47))){ if($_1229203240= $GLOBALS['____510846104'][7]($_SERVER[___93133848(48)].___93133848(49), ___93133848(50))){ $GLOBALS['____510846104'][8]($_1229203240, ___93133848(51).___93133848(52).EscapePHPString($_1744019304).___93133848(53).___93133848(54)); $GLOBALS['____510846104'][9]($_1229203240);} else{ throw new SystemException(___93133848(55));}} else{ throw new SystemException(___93133848(56));}}}  public function activateByHash(string $_578123001): Result{ $_814239777= new HashCodeParser($_578123001); $_1591238452= $_814239777->parse(); if(empty($_1591238452)){ throw new SystemException(___93133848(57));} $_1744019304= Application::getInstance()->getLicense()->getKey(); $this->applyLicenseInfo($_1591238452, $_1744019304); $_1579316119= new Result(); return $_1579316119->setData($_1591238452);}  public function sendInfoToPartner(string $_119356195, string $_236761778, string $_182544539): Result{ $_1087239735= new PartnerInfoRequestBuilder($_119356195, $_236761778, $_182544539); $_1032635114=(new RequestFactory($_1087239735))->build();  $_1410626003= $_1032635114->send(); $_1410626003= Json::decode($_1410626003); if(!isset($_1410626003[___93133848(58)]) || $_1410626003[___93133848(59)] === ___93133848(60)){ $_1393790920=[ ___93133848(61) => ___93133848(62), ___93133848(63) => $_1410626003, ___93133848(64) => $_1032635114]; throw new SystemException(($_1410626003[___93133848(65)] ?? ___93133848(66)).___93133848(67));} return(new Result())->setData($_1410626003);}}?>

Did this file decode correctly?

Original Code

<? namespace Bitrix\Main\UpdateSystem;$GLOBALS['____510846104']= array(base64_decode('aXNfd3'.'JpdGFibGU='),base64_decode('Zm9wZW'.'4='),base64_decode(''.'ZndyaXRl'),base64_decode(''.'ZmNs'.'b3N'.'l'),base64_decode(''.'a'.'W50dmFs'),base64_decode('aW'.'50dmFs'),base64_decode('aXNf'.'d3JpdGFibGU='),base64_decode('Zm9w'.'ZW4='),base64_decode('Z'.'nB1'.'dH'.'M='),base64_decode(''.'ZmNs'.'b3'.'Nl'));if(!function_exists(__NAMESPACE__.'\\___93133848')){function ___93133848($_528476312){static $_1666202203= false; if($_1666202203 == false) $_1666202203=array('R'.'VJ'.'S'.'T1I=','RVJST'.'1I=','X'.'1ZB'.'TFVF','V'.'W5rb'.'m'.'93biBlcn'.'Jvc'.'g==','IFtBU1Iw'.'MV'.'0=',''.'Uk'.'V'.'OVA'.'==','Tm90IGZ'.'vd'.'W5kIGx'.'pY2Vu'.'c2U'.'gaW5mbyBbQVNSMDJ'.'d','VjE'.'=','Vj'.'I=','VjE'.'=','V'.'jI=',''.'U'.'2'.'V'.'yd'.'m'.'V'.'yIH'.'Jl'.'c3BvbnNlIGlzIG5vdCByZWNvZ25p'.'e'.'mVkI'.'FtBU'.'0F'.'MST'.'AxXQ==','bWFp'.'bg==','YW'.'RtaW5fc'.'GF'.'zc3dvc'.'mRo',''.'RE9'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.'=',''.'RE9DVU1'.'FTlRfUk9PVA==','L'.'2'.'JpdHJ'.'peA==','RE9'.'DVU1FTlRfUk9P'.'VA='.'=','L2JpdHJp'.'eC'.'9saWNlb'.'nN'.'lX2tleS5waH'.'A'.'=','d2I=','PA==','PyR'.'MSU'.'NFT'.'lNF'.'X0tFWSA9ICI'.'=','Ijs/',''.'Pg==','R'.'mlsZSBvcGVuIG'.'ZhaWxzIFtBU0FMS'.'TA0XQ'.'='.'=','R'.'m9sZGV'.'yIGl'.'zI'.'G5vdCB'.'3c'.'ml0YWJ'.'sZSBbQVNBT'.'Ek'.'wNV0=',''.'Tm90IGZvdW'.'5kIGxpY2V'.'uc2U'.'gaW5mbyBb'.'QVNBSDA'.'xXQ==','cm'.'VzdWx0','cmVz'.'d'.'Wx0','ZXJ'.'yb3I'.'=','b'.'WVzc2'.'FnZQ='.'=','R'.'XJyb3Igc2Vu'.'ZC'.'BwYXJ0bmVyIGlu'.'Z'.'m'.'8gW0FTU'.'0lUUDAx'.'XQ'.'==','c'.'mVzcG9'.'uc2U=','cmVxdWV'.'z'.'dA='.'=','ZXJyb3I=','V'.'W5rb'.'m93biBlcn'.'Jvc'.'g'.'==','IFtBU1NJ'.'VF'.'A'.'wMV'.'0=');return base64_decode($_1666202203[$_528476312]);}}; use Bitrix\Main\Application; use Bitrix\Main\Result; use Bitrix\Main\Security\SecurityException; use Bitrix\Main\SystemException; use Bitrix\Main\Web\Json; class ActivationSystem{  public function reincarnate(Coupon $_1345382689): Result{  $_1087239735= new ReincarnationRequestBuilder($_1345382689); $_1032635114=(new RequestFactory($_1087239735))->build();  $_1410626003= $_1032635114->send();  $_814239777= new UpdateServerDataParser($_1410626003); $_1591238452= $_814239777->parse(); if(isset($_1591238452[___93133848(0)])){ throw new SystemException(($_1591238452[___93133848(1)][___93133848(2)] ?? ___93133848(3)).___93133848(4));} $_1591238452= $_1591238452[___93133848(5)] ??[]; if(empty($_1591238452)){ throw new SystemException(___93133848(6));} $this->applyLicenseInfo($_1591238452, $_1345382689->getKey()); $_1579316119= new Result(); return $_1579316119->setData($_1591238452);}  protected function applyLicenseInfo(array $_1591238452, string $_1744019304): void{ if(isset($_1591238452[___93133848(7)], $_1591238452[___93133848(8)])){ $_133362633= $_1591238452[___93133848(9)]; $_1004205424= $_1591238452[___93133848(10)]; if(empty($_133362633) || empty($_1004205424)){ throw new SystemException(___93133848(11));} \COption::SetOptionString(___93133848(12), ___93133848(13), $_133362633); if($GLOBALS['____510846104'][0]($_SERVER[___93133848(14)].___93133848(15))){ if($_1229203240= $GLOBALS['____510846104'][1]($_SERVER[___93133848(16)].___93133848(17), ___93133848(18))){ $GLOBALS['____510846104'][2]($_1229203240, ___93133848(19).___93133848(20).$_1004205424.___93133848(21).___93133848(22)); $GLOBALS['____510846104'][3]($_1229203240);} else{ throw new SystemException(___93133848(23));}} else{ throw new SystemException(___93133848(24));}} if(isset($_1591238452[___93133848(25)])){ \COption::SetOptionString(___93133848(26), ___93133848(27), $_1591238452[___93133848(28)]);} if(isset($_1591238452[___93133848(29)])){ \COption::SetOptionString(___93133848(30), ___93133848(31), $GLOBALS['____510846104'][4]($_1591238452[___93133848(32)]));} if(isset($_1591238452[___93133848(33)])){ \COption::SetOptionString(___93133848(34), ___93133848(35), $GLOBALS['____510846104'][5]($_1591238452[___93133848(36)]));} if(isset($_1591238452[___93133848(37)])){ \COption::SetOptionString(___93133848(38), ___93133848(39), $_1591238452[___93133848(40)]);} if(isset($_1591238452[___93133848(41)])){ \COption::SetOptionString(___93133848(42), ___93133848(43), $_1591238452[___93133848(44)]);} if(isset($_1591238452[___93133848(45)])){ if($GLOBALS['____510846104'][6]($_SERVER[___93133848(46)].___93133848(47))){ if($_1229203240= $GLOBALS['____510846104'][7]($_SERVER[___93133848(48)].___93133848(49), ___93133848(50))){ $GLOBALS['____510846104'][8]($_1229203240, ___93133848(51).___93133848(52).EscapePHPString($_1744019304).___93133848(53).___93133848(54)); $GLOBALS['____510846104'][9]($_1229203240);} else{ throw new SystemException(___93133848(55));}} else{ throw new SystemException(___93133848(56));}}}  public function activateByHash(string $_578123001): Result{ $_814239777= new HashCodeParser($_578123001); $_1591238452= $_814239777->parse(); if(empty($_1591238452)){ throw new SystemException(___93133848(57));} $_1744019304= Application::getInstance()->getLicense()->getKey(); $this->applyLicenseInfo($_1591238452, $_1744019304); $_1579316119= new Result(); return $_1579316119->setData($_1591238452);}  public function sendInfoToPartner(string $_119356195, string $_236761778, string $_182544539): Result{ $_1087239735= new PartnerInfoRequestBuilder($_119356195, $_236761778, $_182544539); $_1032635114=(new RequestFactory($_1087239735))->build();  $_1410626003= $_1032635114->send(); $_1410626003= Json::decode($_1410626003); if(!isset($_1410626003[___93133848(58)]) || $_1410626003[___93133848(59)] === ___93133848(60)){ $_1393790920=[ ___93133848(61) => ___93133848(62), ___93133848(63) => $_1410626003, ___93133848(64) => $_1032635114]; throw new SystemException(($_1410626003[___93133848(65)] ?? ___93133848(66)).___93133848(67));} return(new Result())->setData($_1410626003);}}?>

Function Calls

None

Variables

None

Stats

MD5 b1d82868f32a5876b852962593f241ac
Eval Count 0
Decode Time 54 ms