Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
use Bitrix\Main; use Bitrix\Main\Session\Legacy\HealerEarlySessionStart; require_once ..
Decoded Output download
<?
use Bitrix\Main;
use Bitrix\Main\Session\Legacy\HealerEarlySessionStart;
require_once (__DIR__ . ___1879460940(0));
require_once (__DIR__ . ___1879460940(1));
$_734116301 = Main\HttpApplication::getInstance();
$_734116301->initializeExtendedKernel([___1879460940(2) => $_GET, ___1879460940(3) => $_POST, ___1879460940(4) => $_FILES, ___1879460940(5) => $_COOKIE, ___1879460940(6) => $_SERVER, ___1879460940(7) => $_ENV]);
if ($GLOBALS['____1138531444'][0](___1879460940(8)))
{
$GLOBALS['____1138531444'][1](___1879460940(9) , SITE_ID);
}
$_1041720873 = $_734116301->getContext();
$_1041720873->initializeCulture($GLOBALS['____1138531444'][2](___1879460940(10)) ? LANG : null, $GLOBALS['____1138531444'][3](___1879460940(11)) ? LANGUAGE_ID : null);
$_734116301->start();
$_1709092854 = $_1041720873->getCulture();
$GLOBALS['____1138531444'][4](___1879460940(12) , $_1709092854->getCharset());
$GLOBALS['____1138531444'][5](___1879460940(13) , $_1709092854->getFormatDate());
$GLOBALS['____1138531444'][6](___1879460940(14) , $_1709092854->getFormatDatetime());
$GLOBALS['____1138531444'][7](___1879460940(15) , SITE_CHARSET);
$_125624652 = $_1041720873->getSiteObject();
if (!$GLOBALS['____1138531444'][8](___1879460940(16)))
{
$GLOBALS['____1138531444'][9](___1879460940(17) , ($_125624652 ? $_125624652->getLid() : $_1041720873->getLanguage()));
}
$GLOBALS['____1138531444'][10](___1879460940(18) , ($_125624652 ? $_125624652->getDir() : ___1879460940(19)));
if (!$GLOBALS['____1138531444'][11](___1879460940(20)))
{
$GLOBALS['____1138531444'][12](___1879460940(21) , ($_125624652 ? $_125624652->getServerName() : ___1879460940(22)));
}
$GLOBALS['____1138531444'][13](___1879460940(23) , SITE_DIR);
if (!$GLOBALS['____1138531444'][14](___1879460940(24)))
{
$GLOBALS['____1138531444'][15](___1879460940(25) , $_1041720873->getLanguage());
}
$GLOBALS['____1138531444'][16](___1879460940(26) , LANGUAGE_ID);
if (!$GLOBALS['____1138531444'][17](___1879460940(27)))
{
$GLOBALS['____1138531444'][18](___1879460940(28) , LANG);
}
$_814806435 = $_1041720873->getLanguage();
$GLOBALS[___1879460940(29) ] = new CMain;
if (!$GLOBALS['____1138531444'][19](___1879460940(30)))
{
$GLOBALS['____1138531444'][20](___1879460940(31) , htmlspecialcharsbx(GetRequestUri()));
}
$GLOBALS[___1879460940(32) ] = [];
$GLOBALS[___1879460940(33) ] = [];
$GLOBALS['_____1961376661'][0](__DIR__ . ___1879460940(34));
$GLOBALS['_____1961376661'][1](__FILE__);
$GLOBALS['____1138531444'][21](COption::GetOptionInt(___1879460940(35) , ___1879460940(36) , E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_PARSE) & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING & ~E_NOTICE);
if (!$GLOBALS['____1138531444'][22](___1879460940(37)) && COption::GetOptionString(___1879460940(38) , ___1879460940(39) , ___1879460940(40)) <> ___1879460940(41))
{
$GLOBALS['____1138531444'][23](___1879460940(42) , true);
}
require_once (__DIR__ . ___1879460940(43));
$GLOBALS['____1138531444'][24](___1879460940(44) , ___1879460940(45));
class CBXFeatures
{
public static function IsFeatureEnabled($_360699248)
{
return true;
}
public static function IsFeatureEditable($_360699248)
{
return true;
}
public static function SetFeatureEnabled($_360699248, $_2090483610 = true)
{
}
public static function SaveFeaturesSettings($_95161019, $_385472998)
{
}
public static function GetFeaturesList()
{
return array();
}
public static function InitiateEditionsSettings($_1813538403)
{
}
public static function ModifyFeaturesSettings($_1813538403, $_2066583609)
{
}
public static function IsFeatureInstalled($_360699248)
{
return true;
}
}
$_1097933831 = GetMessage(___1879460940(46));
$_542811348 = round(0 + 3.5 + 3.5 + 3.5 + 3.5);
$GLOBALS['____1138531444'][25]($GLOBALS['____1138531444'][26]($GLOBALS['____1138531444'][27](___1879460940(47))) , ___1879460940(48));
$_424218992 = round(0 + 1);
$_1020394156 = ___1879460940(49);
unset($_191550516);
$_2126026241 = $GLOBALS['____1138531444'][28](___1879460940(50) , ___1879460940(51));
$_191550516 = \COption::GetOptionString(___1879460940(52) , $GLOBALS['____1138531444'][29](___1879460940(53) , ___1879460940(54) , $GLOBALS['____1138531444'][30]($_1020394156, round(0 + 2) , round(0 + 4))) . $GLOBALS['____1138531444'][31](___1879460940(55)));
$_635124795 = array(
round(0 + 17) => ___1879460940(56) ,
round(0 + 7) => ___1879460940(57) ,
round(0 + 11 + 11) => ___1879460940(58) ,
round(0 + 12) => ___1879460940(59) ,
round(0 + 1 + 1 + 1) => ___1879460940(60)
);
$_1553664357 = ___1879460940(61);
while ($_191550516)
{
$_323311841 = ___1879460940(62);
$_1374373732 = $GLOBALS['____1138531444'][32]($_191550516);
$_556932515 = ___1879460940(63);
$_323311841 = $GLOBALS['____1138531444'][33](___1879460940(64) . $_323311841, (938 - 2 * 469) , -round(0 + 5)) . ___1879460940(65);
$_153765068 = $GLOBALS['____1138531444'][34]($_323311841);
$_1373228194 = (918 - 2 * 459);
for ($_773093471 = min(214, 0, 71.333333333333);$_773093471 < $GLOBALS['____1138531444'][35]($_1374373732);$_773093471++)
{
$_556932515 .= $GLOBALS['____1138531444'][36]($GLOBALS['____1138531444'][37]($_1374373732[$_773093471]) ^ $GLOBALS['____1138531444'][38]($_323311841[$_1373228194]));
if ($_1373228194 == $_153765068 - round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)) $_1373228194 = (928 - 2 * 464);
else $_1373228194 = $_1373228194 + round(0 + 0.25 + 0.25 + 0.25 + 0.25);
}
$_424218992 = $GLOBALS['____1138531444'][39]((177 * 2 - 354) , min(114, 0, 38) , (207 * 2 - 414) , $GLOBALS['____1138531444'][40]($_556932515[round(0 + 6) ] . $_556932515[round(0 + 3) ]) , $GLOBALS['____1138531444'][41]($_556932515[round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2) ] . $_556932515[round(0 + 14) ]) , $GLOBALS['____1138531444'][42]($_556932515[round(0 + 2.5 + 2.5 + 2.5 + 2.5) ] . $_556932515[round(0 + 4.5 + 4.5 + 4.5 + 4.5) ] . $_556932515[round(0 + 3.5 + 3.5) ] . $_556932515[round(0 + 12) ]));
unset($_323311841);
break;
}
$_1990928326 = ___1879460940(66);
$GLOBALS['____1138531444'][43]($_635124795);
$_541225073 = ___1879460940(67);
$_1553664357 = ___1879460940(68) . $GLOBALS['____1138531444'][44]($_1553664357 . ___1879460940(69) , round(0 + 0.66666666666667 + 0.66666666666667 + 0.66666666666667) , -round(0 + 0.25 + 0.25 + 0.25 + 0.25));
@include ($_SERVER[___1879460940(70) ] . ___1879460940(71) . $GLOBALS['____1138531444'][45](___1879460940(72) , $_635124795));
$_118883164 = round(0 + 2);
while ($GLOBALS['____1138531444'][46](___1879460940(73)))
{
$_1951459289 = $GLOBALS['____1138531444'][47]($GLOBALS['____1138531444'][48](___1879460940(74)));
$_97514024 = ___1879460940(75);
$_1990928326 = $GLOBALS['____1138531444'][49](___1879460940(76)) . $GLOBALS['____1138531444'][50](___1879460940(77) , $_1990928326, ___1879460940(78));
$_786657073 = $GLOBALS['____1138531444'][51]($_1990928326);
$_1373228194 = (876 - 2 * 438);
for ($_773093471 = min(16, 0, 5.3333333333333);$_773093471 < $GLOBALS['____1138531444'][52]($_1951459289);$_773093471++)
{
$_97514024 .= $GLOBALS['____1138531444'][53]($GLOBALS['____1138531444'][54]($_1951459289[$_773093471]) ^ $GLOBALS['____1138531444'][55]($_1990928326[$_1373228194]));
if ($_1373228194 == $_786657073 - round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)) $_1373228194 = min(84, 0, 28);
else $_1373228194 = $_1373228194 + round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2);
}
$_118883164 = $GLOBALS['____1138531444'][56]((243 * 2 - 486) , (228 * 2 - 456) , (1456 / 2 - 728) , $GLOBALS['____1138531444'][57]($_97514024[round(0 + 6) ] . $_97514024[round(0 + 8 + 8) ]) , $GLOBALS['____1138531444'][58]($_97514024[round(0 + 9) ] . $_97514024[round(0 + 0.66666666666667 + 0.66666666666667 + 0.66666666666667) ]) , $GLOBALS['____1138531444'][59]($_97514024[round(0 + 2.4 + 2.4 + 2.4 + 2.4 + 2.4) ] . $_97514024[round(0 + 2.3333333333333 + 2.3333333333333 + 2.3333333333333) ] . $_97514024[round(0 + 2.8 + 2.8 + 2.8 + 2.8 + 2.8) ] . $_97514024[round(0 + 1.5 + 1.5) ]));
unset($_1990928326);
break;
}
$_2126026241 = ___1879460940(79) . $GLOBALS['____1138531444'][60]($GLOBALS['____1138531444'][61]($_2126026241, round(0 + 1.5 + 1.5) , -round(0 + 1)) . ___1879460940(80) , round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333) , -round(0 + 1.6666666666667 + 1.6666666666667 + 1.6666666666667));
while (!$GLOBALS['____1138531444'][62]($GLOBALS['____1138531444'][63](___1879460940(81) , round(0 + 34 + 34) , round(0 + 34.5 + 34.5) , round(0 + 25.666666666667 + 25.666666666667 + 25.666666666667) , round(0 + 79))))
{
function __f($_1638487101)
{
return $_1638487101 + __f($_1638487101);
}
__f(round(0 + 0.5 + 0.5));
};
if ($GLOBALS['____1138531444'][64]($_SERVER[___1879460940(82) ] . ___1879460940(83)))
{
$bxProductConfig = array();
include ($_SERVER[___1879460940(84) ] . ___1879460940(85));
if (isset($bxProductConfig[___1879460940(86) ][___1879460940(87) ]))
{
$_2023144758 = $GLOBALS['____1138531444'][65]($bxProductConfig[___1879460940(88) ][___1879460940(89) ]);
if ($_2023144758 >= (233 * 2 - 466) && $_2023144758 < round(0 + 4.6666666666667 + 4.6666666666667 + 4.6666666666667)) $_542811348 = $_2023144758;
}
if ($bxProductConfig[___1879460940(90) ][___1879460940(91) ] <> ___1879460940(92)) $_1097933831 = $bxProductConfig[___1879460940(93) ][___1879460940(94) ];
}
for ($_773093471 = (764 - 2 * 382) , $_1392793315 = ($GLOBALS['____1138531444'][66]() < $GLOBALS['____1138531444'][67](min(104, 0, 34.666666666667) , (186 * 2 - 372) , (836 - 2 * 418) , round(0 + 1.6666666666667 + 1.6666666666667 + 1.6666666666667) , round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2) , round(0 + 502.5 + 502.5 + 502.5 + 502.5)) || $_424218992 <= round(0 + 3.3333333333333 + 3.3333333333333 + 3.3333333333333)) , $_1324278534 = ($_424218992 < $GLOBALS['____1138531444'][68]((1440 / 2 - 720) , (1028 / 2 - 514) , (247 * 2 - 494) , Date(___1879460940(95)) , $GLOBALS['____1138531444'][69](___1879460940(96)) - $_542811348, $GLOBALS['____1138531444'][70](___1879460940(97)))) , $_1590805267 = ($_SERVER[___1879460940(98) ] !== ___1879460940(99) && $_SERVER[___1879460940(100) ] !== ___1879460940(101));$_773093471 < round(0 + 2 + 2 + 2 + 2 + 2) , ($_1392793315 || $_1324278534 || $_424218992 != $_118883164) && $_1590805267;$_773093471++, $GLOBALS['_____1961376661'][2]($_1097933831));
$GLOBALS['____1138531444'][71]($_1553664357, $_424218992);
$GLOBALS['____1138531444'][72]($_2126026241, $_118883164);
$GLOBALS[___1879460940(102) ] = OLDSITEEXPIREDATE;
require_once (__DIR__ . ___1879460940(103));
$GLOBALS[___1879460940(104) ] = [];
$GLOBALS[___1879460940(105) ] = new CUserTypeManager;
$GLOBALS[___1879460940(106) ] = CMenuCustom::getInstance();
if ($GLOBALS['____1138531444'][73](($_1287723785 = __DIR__ . ___1879460940(107))))
{
$US_HOST_PROCESS_MAIN = false;
include ($_1287723785);
}
if ($GLOBALS['____1138531444'][74](($_1287723785 = $_SERVER[___1879460940(108) ] . ___1879460940(109))))
{
include_once ($_1287723785);
}
if (($_1287723785 = getLocalPath(___1879460940(110) , BX_PERSONAL_ROOT)) !== false)
{
include_once ($_SERVER[___1879460940(111) ] . $_1287723785);
}
if (($_1287723785 = getLocalPath(___1879460940(112) . SITE_ID . ___1879460940(113) , BX_PERSONAL_ROOT)) !== false)
{
include_once ($_SERVER[___1879460940(114) ] . $_1287723785);
}
if (!$GLOBALS['____1138531444'][75](___1879460940(115)))
{
$GLOBALS['____1138531444'][76](___1879460940(116) , round(0 + 210 + 210));
}
if (!$GLOBALS['____1138531444'][77](___1879460940(117)))
{
$GLOBALS['____1138531444'][78](___1879460940(118) , round(0 + 493));
}
$GLOBALS[___1879460940(119) ] = $GLOBALS[___1879460940(120) ]->GetCurPage();
if ((!($GLOBALS['____1138531444'][79](___1879460940(121)) && STATISTIC_ONLY && $GLOBALS['____1138531444'][80]($GLOBALS[___1879460940(122) ]->GetCurPage() , (992 - 2 * 496) , $GLOBALS['____1138531444'][81](BX_ROOT . ___1879460940(123))) != BX_ROOT . ___1879460940(124))) && COption::GetOptionString(___1879460940(125) , ___1879460940(126) , ___1879460940(127)) == ___1879460940(128) && LANG_CHARSET <> ___1879460940(129))
{
$GLOBALS['____1138531444'][82](___1879460940(130) . LANG_CHARSET);
}
if (COption::GetOptionString(___1879460940(131) , ___1879460940(132) , ___1879460940(133)) == ___1879460940(134))
{
$GLOBALS['____1138531444'][83](___1879460940(135));
}
$_1105757719 = $_734116301->getLicense();
$GLOBALS['____1138531444'][84](___1879460940(136) . ($_1105757719->isDemoKey() ? ___1879460940(137) : $_1105757719->getPublicHashKey()) . ___1879460940(138));
if (COption::GetOptionString(___1879460940(139) , ___1879460940(140) , ___1879460940(141)) == ___1879460940(142))
{
$GLOBALS['____1138531444'][85](___1879460940(143));
}
if (!$GLOBALS['____1138531444'][86](___1879460940(144)))
{
$GLOBALS['____1138531444'][87](___1879460940(145) , $GLOBALS['____1138531444'][88](___1879460940(146)));
}
if (COption::GetOptionString(___1879460940(147) , ___1879460940(148) , ___1879460940(149)) == ___1879460940(150))
{
$_734116301->addBackgroundJob([___1879460940(151) , ___1879460940(152) ], [], \Bitrix\Main\Application::JOB_PRIORITY_LOW);
}
if (COption::GetOptionString(___1879460940(153) , ___1879460940(154) , ___1879460940(155)) !== ___1879460940(156))
{
$_734116301->addBackgroundJob([___1879460940(157) , ___1879460940(158) ], [], \Bitrix\Main\Application::JOB_PRIORITY_LOW - round(0 + 1));
}
$_1594545076 = new HealerEarlySessionStart();
$_1594545076->process($_734116301->getKernelSession());
$_1851072896 = $_734116301->getKernelSession();
$_1851072896->start();
$_734116301->getSessionLocalStorageManager()
->setUniqueId($_1851072896->getId());
foreach ($GLOBALS['_____1961376661'][3](___1879460940(159) , ___1879460940(160) , true) as $_884631776)
{
$GLOBALS['_____1961376661'][4]($_884631776);
}
$GLOBALS[___1879460940(161) ] = new CUser;
$_1603675231 = $GLOBALS[___1879460940(162) ]->GetSecurityPolicy();
$_1030848665 = $GLOBALS['____1138531444'][89]();
if (($_1851072896[___1879460940(163) ] && $_1603675231[___1879460940(164) ] <> ___1879460940(165) && (($GLOBALS['____1138531444'][90]($_1603675231[___1879460940(166) ]) & $GLOBALS['____1138531444'][91]($_1851072896[___1879460940(167) ])) != ($GLOBALS['____1138531444'][92]($_1603675231[___1879460940(168) ]) & $GLOBALS['____1138531444'][93]($_SERVER[___1879460940(169) ])))) || ($_1603675231[___1879460940(170) ] > (1156 / 2 - 578) && $_1851072896[___1879460940(171) ] > (198 * 2 - 396) && $_1030848665 - $_1603675231[___1879460940(172) ] * round(0 + 12 + 12 + 12 + 12 + 12) > $_1851072896[___1879460940(173) ]) || (isset($_1851072896[___1879460940(174) ]) && $_1851072896[___1879460940(175) ] <> bitrix_sess_sign()) || (isSessionExpired()))
{
$_732593752 = $_734116301->getCompositeSessionManager();
$_732593752->destroy();
$_734116301->getSession()
->setId(Main\Security\Random::getString(round(0 + 32)));
$_732593752->start();
$GLOBALS[___1879460940(176) ] = new CUser;
}
$_1851072896[___1879460940(177) ] = $_SERVER[___1879460940(178) ];
if (empty($_1851072896[___1879460940(179) ]))
{
$_1851072896[___1879460940(180) ] = $_1030848665;
}
elseif (($_1030848665 - $_1851072896[___1879460940(181) ]) > round(0 + 20 + 20 + 20))
{
$_1851072896[___1879460940(182) ] = $_1030848665;
}
if (!isset($_1851072896[___1879460940(183) ]))
{
$_1851072896[___1879460940(184) ] = bitrix_sess_sign();
}
if ((COption::GetOptionString(___1879460940(185) , ___1879460940(186) , ___1879460940(187)) == ___1879460940(188)) && (COption::GetOptionInt(___1879460940(189) , ___1879460940(190) , (132 * 2 - 264)) > min(94, 0, 31.333333333333)) && !$GLOBALS['____1138531444'][94](___1879460940(191)))
{
if (!isset($_1851072896[___1879460940(192) ]))
{
$_1851072896[___1879460940(193) ] = $_1030848665;
}
elseif (($_1851072896[___1879460940(194) ] + COption::GetOptionInt(___1879460940(195) , ___1879460940(196))) < $_1851072896[___1879460940(197) ])
{
$_732593752 = $_734116301->getCompositeSessionManager();
$_732593752->regenerateId();
$_1851072896[___1879460940(198) ] = $_1030848665;
}
}
$GLOBALS['____1138531444'][95](___1879460940(199) , true);
if (isset($_1851072896[___1879460940(200) ]))
{
$GLOBALS['____1138531444'][96](___1879460940(201) , round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2));
unset($_1851072896[___1879460940(202) ]);
}
$_1086700626 = false;
$_324344295 = false;
if (!$GLOBALS['____1138531444'][97](___1879460940(203)) || NOT_CHECK_PERMISSIONS !== true)
{
$_146407162 = isset($_REQUEST[___1879460940(204) ]) && ($GLOBALS['____1138531444'][98]($_REQUEST[___1879460940(205) ]) == ___1879460940(206));
if ($_146407162 && $GLOBALS[___1879460940(207) ]->IsAuthorized())
{
$_122771254 = (\Bitrix\Main\Config\Option::get(___1879460940(208) , ___1879460940(209) , ___1879460940(210)) == ___1879460940(211));
if (!$_122771254 || check_bitrix_sessid())
{
$GLOBALS[___1879460940(212) ]->Logout();
LocalRedirect($GLOBALS[___1879460940(213) ]->GetCurPageParam(___1879460940(214) , array(
___1879460940(215) ,
___1879460940(216)
)));
}
}
if (!$GLOBALS[___1879460940(217) ]->IsAuthorized())
{
$GLOBALS[___1879460940(218) ]->LoginByCookies();
}
$_1472501976 = false;
if (($_157938978 = $GLOBALS[___1879460940(219) ]->LoginByHttpAuth()) !== null)
{
$_1472501976 = $_157938978;
$GLOBALS[___1879460940(220) ]->SetAuthResult($_1472501976);
}
if (isset($_POST[___1879460940(221) ]) && $_POST[___1879460940(222) ] <> ___1879460940(223))
{
if (COption::GetOptionString(___1879460940(224) , ___1879460940(225) , ___1879460940(226)) == ___1879460940(227))
{
$_1222951095 = new CRsaSecurity();
if (($_2113332390 = $_1222951095->LoadKeys()))
{
$_1222951095->SetKeys($_2113332390);
$_1224172524 = $_1222951095->AcceptFromForm([___1879460940(228) , ___1879460940(229) , ___1879460940(230) ]);
if ($_1224172524 == CRsaSecurity::ERROR_SESS_CHECK)
{
$_1472501976 = array(
___1879460940(231) => GetMessage(___1879460940(232)) ,
___1879460940(233) => ___1879460940(234)
);
}
elseif ($_1224172524 < (1220 / 2 - 610))
{
$_1472501976 = array(
___1879460940(235) => GetMessage(___1879460940(236) , array(
___1879460940(237) => $_1224172524
)) ,
___1879460940(238) => ___1879460940(239)
);
}
if ($_1224172524 < (1244 / 2 - 622))
{
$_1086700626 = true;
}
}
}
if (!$_1086700626)
{
if (!$GLOBALS['____1138531444'][99](___1879460940(240)) || ADMIN_SECTION !== true)
{
$_324344295 = SITE_ID;
}
$_POST[___1879460940(241) ] = $_POST[___1879460940(242) ] ? ? null;
if (isset($_POST[___1879460940(243) ]) && $_POST[___1879460940(244) ] == ___1879460940(245))
{
$_1472501976 = $GLOBALS[___1879460940(246) ]->Login($_POST[___1879460940(247) ] ? ? ___1879460940(248) , $_POST[___1879460940(249) ] ? ? ___1879460940(250) , $_POST[___1879460940(251) ] ? ? ___1879460940(252));
}
elseif (isset($_POST[___1879460940(253) ]) && $_POST[___1879460940(254) ] == ___1879460940(255))
{
$_1472501976 = $GLOBALS[___1879460940(256) ]->LoginByOtp($_POST[___1879460940(257) ] ? ? ___1879460940(258) , $_POST[___1879460940(259) ] ? ? ___1879460940(260) , $_POST[___1879460940(261) ] ? ? ___1879460940(262) , $_POST[___1879460940(263) ] ? ? ___1879460940(264));
}
elseif (isset($_POST[___1879460940(265) ]) && $_POST[___1879460940(266) ] == ___1879460940(267))
{
$_1472501976 = CUser::SendPassword($_POST[___1879460940(268) ] ? ? ___1879460940(269) , $_POST[___1879460940(270) ] ? ? ___1879460940(271) , $_324344295, $_POST[___1879460940(272) ] ? ? ___1879460940(273) , $_POST[___1879460940(274) ] ? ? ___1879460940(275) , $_POST[___1879460940(276) ] ? ? ___1879460940(277));
}
elseif (isset($_POST[___1879460940(278) ]) && $_POST[___1879460940(279) ] == ___1879460940(280))
{
$_1472501976 = $GLOBALS[___1879460940(281) ]->ChangePassword($_POST[___1879460940(282) ] ? ? ___1879460940(283) , $_POST[___1879460940(284) ] ? ? ___1879460940(285) , $_POST[___1879460940(286) ] ? ? ___1879460940(287) , $_POST[___1879460940(288) ] ? ? ___1879460940(289) , $_324344295, $_POST[___1879460940(290) ] ? ? ___1879460940(291) , $_POST[___1879460940(292) ] ? ? ___1879460940(293) , true, $_POST[___1879460940(294) ] ? ? ___1879460940(295) , $_POST[___1879460940(296) ] ? ? ___1879460940(297));
}
if ($_POST[___1879460940(298) ] == ___1879460940(299) || $_POST[___1879460940(300) ] == ___1879460940(301))
{
if ($_1472501976 === true && $GLOBALS['____1138531444'][100](___1879460940(302)) && ADMIN_SECTION === true)
{
$GLOBALS[___1879460940(303) ]->StoreCookies();
$_1851072896[___1879460940(304) ] = true;
CMain::FinalActions(___1879460940(305));
}
}
}
$GLOBALS[___1879460940(306) ]->SetAuthResult($_1472501976);
}
elseif (!$GLOBALS[___1879460940(307) ]->IsAuthorized() && isset($_REQUEST[___1879460940(308) ]))
{
$GLOBALS[___1879460940(309) ]->LoginHitByHash($_REQUEST[___1879460940(310) ]);
}
}
$GLOBALS[___1879460940(311) ]->CheckAuthActions();
if ($GLOBALS['____1138531444'][101](___1879460940(312)) && BX_CHECK_SHORT_URI && CBXShortUri::CheckUri())
{
die();
}
if (($_737529402 = $GLOBALS[___1879460940(313) ]->getContext()
->getApplicationId()) !== null)
{
$_345930943 = Main\Authentication\ApplicationManager::getInstance();
if ($_345930943->checkScope($_737529402) !== true)
{
$_380451160 = new Main\Event(___1879460940(314) , ___1879460940(315) , Array(
___1879460940(316) => $_737529402
));
$_380451160->send();
$_1041720873->getResponse()
->setStatus(___1879460940(317));
$_734116301->end();
}
}
if (!$GLOBALS['____1138531444'][102](___1879460940(318)) || ADMIN_SECTION !== true)
{
$_1798071673 = ___1879460940(319);
if (isset($_REQUEST[___1879460940(320) ]) && $GLOBALS['____1138531444'][103]($_REQUEST[___1879460940(321) ]) && $_REQUEST[___1879460940(322) ] <> ___1879460940(323) && $GLOBALS[___1879460940(324) ]->CanDoOperation(___1879460940(325)))
{
$_2063821157 = new Bitrix\Main\Security\Sign\Signer();
try
{
$_1940113373 = $_2063821157->unsign($_REQUEST[___1879460940(326) ], ___1879460940(327) . bitrix_sessid());
$_1273323604 = CSiteTemplate::GetByID($_1940113373);
if ($_1575393568 = $_1273323604->Fetch())
{
$_1798071673 = $_1575393568[___1879460940(328) ];
if (isset($_GET[___1879460940(329) ]) && $_GET[___1879460940(330) ] == ___1879460940(331) && $GLOBALS[___1879460940(332) ]->CanDoOperation(___1879460940(333)))
{
$GLOBALS['____1138531444'][104](___1879460940(334) , true);
}
}
}
catch(\Bitrix\Main\Security\Sign\BadSignatureException $_1213502407)
{
}
}
if ($_1798071673 == ___1879460940(335))
{
$_1798071673 = CSite::GetCurTemplate();
}
if (!$GLOBALS['____1138531444'][105](___1879460940(336)))
{
$GLOBALS['____1138531444'][106](___1879460940(337) , $_1798071673);
}
$GLOBALS['____1138531444'][107](___1879460940(338) , getLocalPath(___1879460940(339) . SITE_TEMPLATE_ID, BX_PERSONAL_ROOT));
}
else
{
if (!$GLOBALS['____1138531444'][108](___1879460940(340)))
{
$GLOBALS['____1138531444'][109](___1879460940(341) , ___1879460940(342));
}
$GLOBALS['____1138531444'][110](___1879460940(343) , ___1879460940(344));
}
if (isset($_GET[___1879460940(345) ]))
{
if ($_GET[___1879460940(346) ] == ___1879460940(347) || $_GET[___1879460940(348) ] == ___1879460940(349))
{
$_1851072896[___1879460940(350) ] = $_GET[___1879460940(351) ];
}
}
if (isset($_GET[___1879460940(352) ]))
{
if ($_GET[___1879460940(353) ] == ___1879460940(354) || $_GET[___1879460940(355) ] == ___1879460940(356))
{
$_1851072896[___1879460940(357) ] = $_GET[___1879460940(358) ];
}
}
if (isset($_GET[___1879460940(359) ]) && $_GET[___1879460940(360) ] <> ___1879460940(361))
{
$GLOBALS[___1879460940(362) ]->SetShowIncludeAreas($_GET[___1879460940(363) ] == ___1879460940(364));
}
if ($GLOBALS[___1879460940(365) ]->IsAuthorized())
{
$_477481519 = COption::GetOptionString(___1879460940(366) , ___1879460940(367) , ___1879460940(368));
if (!isset($_COOKIE[$_477481519 . ___1879460940(369) ]))
{
$GLOBALS[___1879460940(370) ]->set_cookie(___1879460940(371) , ___1879460940(372) , (160 * 2 - 320));
}
}
\Bitrix\Main\Composite\Engine::shouldBeEnabled();
$_564234152 = $_POST[___1879460940(373) ] ? ? null;
$_1090162850 = $_POST[___1879460940(374) ] ? ? null;
foreach ($GLOBALS['_____1961376661'][5](___1879460940(375) , ___1879460940(376) , true) as $_884631776)
{
$GLOBALS['_____1961376661'][6]($_884631776);
}
if (!$GLOBALS['____1138531444'][111](___1879460940(377)) || NOT_CHECK_PERMISSIONS !== true)
{
if (isset($_POST[___1879460940(378) ]) && $_POST[___1879460940(379) ] != ___1879460940(380) && isset($_POST[___1879460940(381) ]) && $_POST[___1879460940(382) ] == ___1879460940(383))
{
if (!$_1086700626)
{
if (COption::GetOptionString(___1879460940(384) , ___1879460940(385) , ___1879460940(386)) == ___1879460940(387) && (!$GLOBALS['____1138531444'][112](___1879460940(388)) || ADMIN_SECTION !== true))
{
$_1472501976 = $GLOBALS[___1879460940(389) ]->Register($_POST[___1879460940(390) ] ? ? ___1879460940(391) , $_POST[___1879460940(392) ] ? ? ___1879460940(393) , $_POST[___1879460940(394) ] ? ? ___1879460940(395) , $_564234152, $_1090162850, $_POST[___1879460940(396) ] ? ? ___1879460940(397) , $_324344295, $_POST[___1879460940(398) ] ? ? ___1879460940(399) , $_POST[___1879460940(400) ] ? ? ___1879460940(401) , false, $_POST[___1879460940(402) ] ? ? ___1879460940(403));
$GLOBALS[___1879460940(404) ]->SetAuthResult($_1472501976);
}
}
}
}
if ((!$GLOBALS['____1138531444'][113](___1879460940(405)) || NOT_CHECK_PERMISSIONS !== true) && (!$GLOBALS['____1138531444'][114](___1879460940(406)) || NOT_CHECK_FILE_PERMISSIONS !== true))
{
$_363950705 = $_1041720873->getRequest()
->getScriptFile();
if (!$GLOBALS[___1879460940(407) ]->CanDoFileOperation(___1879460940(408) , array(
SITE_ID,
$_363950705
)) || ($GLOBALS['____1138531444'][115](___1879460940(409)) && NEED_AUTH && !$GLOBALS[___1879460940(410) ]->IsAuthorized()))
{
if ($GLOBALS[___1879460940(411) ]->IsAuthorized() && $_1472501976[___1879460940(412) ] == ___1879460940(413))
{
$_1472501976 = array(
___1879460940(414) => GetMessage(___1879460940(415)) . ___1879460940(416) . GetMessage(___1879460940(417) , array(
___1879460940(418) => $_363950705
)) ,
___1879460940(419) => ___1879460940(420)
);
if (COption::GetOptionString(___1879460940(421) , ___1879460940(422) , ___1879460940(423)) === ___1879460940(424))
{
CEventLog::Log(___1879460940(425) , ___1879460940(426) , ___1879460940(427) , $GLOBALS[___1879460940(428) ]->GetID() , $_363950705);
}
}
if ($GLOBALS['____1138531444'][116](___1879460940(429)) && ADMIN_SECTION == true)
{
if (isset($_REQUEST[___1879460940(430) ]) && ($_REQUEST[___1879460940(431) ] === ___1879460940(432) || $_REQUEST[___1879460940(433) ] === ___1879460940(434)))
{
echo ___1879460940(435) . $GLOBALS[___1879460940(436) ]->GetCurPage() . ___1879460940(437) . DeleteParam(array(
___1879460940(438)
)) . ___1879460940(439);
die();
}
elseif (isset($_REQUEST[___1879460940(440) ]) && $_REQUEST[___1879460940(441) ] === ___1879460940(442))
{
echo ___1879460940(443) . $GLOBALS[___1879460940(444) ]->GetCurPage() . ___1879460940(445) . DeleteParam(array(
___1879460940(446)
)) . ___1879460940(447);
die();
}
elseif ($GLOBALS['____1138531444'][117](___1879460940(448)) && MOBILE_APP_ADMIN == true)
{
echo $GLOBALS['____1138531444'][118](Array(
___1879460940(449) => ___1879460940(450)
));
die();
}
}
$GLOBALS[___1879460940(451) ]->AuthForm($_1472501976);
}
}
while (!$GLOBALS['____1138531444'][119](___1879460940(452)) || $GLOBALS['____1138531444'][120](OLDSITEEXPIREDATE) <= (990 - 2 * 495) || OLDSITEEXPIREDATE != SITEEXPIREDATE) die(GetMessage(___1879460940(453)));
?>
Did this file decode correctly?
Original Code
use Bitrix\Main;
use Bitrix\Main\Session\Legacy\HealerEarlySessionStart;
require_once (__DIR__ . ___1879460940(0));
require_once (__DIR__ . ___1879460940(1));
$_734116301 = Main\HttpApplication::getInstance();
$_734116301->initializeExtendedKernel([___1879460940(2) => $_GET, ___1879460940(3) => $_POST, ___1879460940(4) => $_FILES, ___1879460940(5) => $_COOKIE, ___1879460940(6) => $_SERVER, ___1879460940(7) => $_ENV]);
if ($GLOBALS['____1138531444'][0](___1879460940(8)))
{
$GLOBALS['____1138531444'][1](___1879460940(9) , SITE_ID);
}
$_1041720873 = $_734116301->getContext();
$_1041720873->initializeCulture($GLOBALS['____1138531444'][2](___1879460940(10)) ? LANG : null, $GLOBALS['____1138531444'][3](___1879460940(11)) ? LANGUAGE_ID : null);
$_734116301->start();
$_1709092854 = $_1041720873->getCulture();
$GLOBALS['____1138531444'][4](___1879460940(12) , $_1709092854->getCharset());
$GLOBALS['____1138531444'][5](___1879460940(13) , $_1709092854->getFormatDate());
$GLOBALS['____1138531444'][6](___1879460940(14) , $_1709092854->getFormatDatetime());
$GLOBALS['____1138531444'][7](___1879460940(15) , SITE_CHARSET);
$_125624652 = $_1041720873->getSiteObject();
if (!$GLOBALS['____1138531444'][8](___1879460940(16)))
{
$GLOBALS['____1138531444'][9](___1879460940(17) , ($_125624652 ? $_125624652->getLid() : $_1041720873->getLanguage()));
}
$GLOBALS['____1138531444'][10](___1879460940(18) , ($_125624652 ? $_125624652->getDir() : ___1879460940(19)));
if (!$GLOBALS['____1138531444'][11](___1879460940(20)))
{
$GLOBALS['____1138531444'][12](___1879460940(21) , ($_125624652 ? $_125624652->getServerName() : ___1879460940(22)));
}
$GLOBALS['____1138531444'][13](___1879460940(23) , SITE_DIR);
if (!$GLOBALS['____1138531444'][14](___1879460940(24)))
{
$GLOBALS['____1138531444'][15](___1879460940(25) , $_1041720873->getLanguage());
}
$GLOBALS['____1138531444'][16](___1879460940(26) , LANGUAGE_ID);
if (!$GLOBALS['____1138531444'][17](___1879460940(27)))
{
$GLOBALS['____1138531444'][18](___1879460940(28) , LANG);
}
$_814806435 = $_1041720873->getLanguage();
$GLOBALS[___1879460940(29) ] = new CMain;
if (!$GLOBALS['____1138531444'][19](___1879460940(30)))
{
$GLOBALS['____1138531444'][20](___1879460940(31) , htmlspecialcharsbx(GetRequestUri()));
}
$GLOBALS[___1879460940(32) ] = [];
$GLOBALS[___1879460940(33) ] = [];
$GLOBALS['_____1961376661'][0](__DIR__ . ___1879460940(34));
$GLOBALS['_____1961376661'][1](__FILE__);
$GLOBALS['____1138531444'][21](COption::GetOptionInt(___1879460940(35) , ___1879460940(36) , E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_PARSE) & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING & ~E_NOTICE);
if (!$GLOBALS['____1138531444'][22](___1879460940(37)) && COption::GetOptionString(___1879460940(38) , ___1879460940(39) , ___1879460940(40)) <> ___1879460940(41))
{
$GLOBALS['____1138531444'][23](___1879460940(42) , true);
}
require_once (__DIR__ . ___1879460940(43));
$GLOBALS['____1138531444'][24](___1879460940(44) , ___1879460940(45));
class CBXFeatures
{
public static function IsFeatureEnabled($_360699248)
{
return true;
}
public static function IsFeatureEditable($_360699248)
{
return true;
}
public static function SetFeatureEnabled($_360699248, $_2090483610 = true)
{
}
public static function SaveFeaturesSettings($_95161019, $_385472998)
{
}
public static function GetFeaturesList()
{
return array();
}
public static function InitiateEditionsSettings($_1813538403)
{
}
public static function ModifyFeaturesSettings($_1813538403, $_2066583609)
{
}
public static function IsFeatureInstalled($_360699248)
{
return true;
}
}
$_1097933831 = GetMessage(___1879460940(46));
$_542811348 = round(0 + 3.5 + 3.5 + 3.5 + 3.5);
$GLOBALS['____1138531444'][25]($GLOBALS['____1138531444'][26]($GLOBALS['____1138531444'][27](___1879460940(47))) , ___1879460940(48));
$_424218992 = round(0 + 1);
$_1020394156 = ___1879460940(49);
unset($_191550516);
$_2126026241 = $GLOBALS['____1138531444'][28](___1879460940(50) , ___1879460940(51));
$_191550516 = \COption::GetOptionString(___1879460940(52) , $GLOBALS['____1138531444'][29](___1879460940(53) , ___1879460940(54) , $GLOBALS['____1138531444'][30]($_1020394156, round(0 + 2) , round(0 + 4))) . $GLOBALS['____1138531444'][31](___1879460940(55)));
$_635124795 = array(
round(0 + 17) => ___1879460940(56) ,
round(0 + 7) => ___1879460940(57) ,
round(0 + 11 + 11) => ___1879460940(58) ,
round(0 + 12) => ___1879460940(59) ,
round(0 + 1 + 1 + 1) => ___1879460940(60)
);
$_1553664357 = ___1879460940(61);
while ($_191550516)
{
$_323311841 = ___1879460940(62);
$_1374373732 = $GLOBALS['____1138531444'][32]($_191550516);
$_556932515 = ___1879460940(63);
$_323311841 = $GLOBALS['____1138531444'][33](___1879460940(64) . $_323311841, (938 - 2 * 469) , -round(0 + 5)) . ___1879460940(65);
$_153765068 = $GLOBALS['____1138531444'][34]($_323311841);
$_1373228194 = (918 - 2 * 459);
for ($_773093471 = min(214, 0, 71.333333333333);$_773093471 < $GLOBALS['____1138531444'][35]($_1374373732);$_773093471++)
{
$_556932515 .= $GLOBALS['____1138531444'][36]($GLOBALS['____1138531444'][37]($_1374373732[$_773093471]) ^ $GLOBALS['____1138531444'][38]($_323311841[$_1373228194]));
if ($_1373228194 == $_153765068 - round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)) $_1373228194 = (928 - 2 * 464);
else $_1373228194 = $_1373228194 + round(0 + 0.25 + 0.25 + 0.25 + 0.25);
}
$_424218992 = $GLOBALS['____1138531444'][39]((177 * 2 - 354) , min(114, 0, 38) , (207 * 2 - 414) , $GLOBALS['____1138531444'][40]($_556932515[round(0 + 6) ] . $_556932515[round(0 + 3) ]) , $GLOBALS['____1138531444'][41]($_556932515[round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2) ] . $_556932515[round(0 + 14) ]) , $GLOBALS['____1138531444'][42]($_556932515[round(0 + 2.5 + 2.5 + 2.5 + 2.5) ] . $_556932515[round(0 + 4.5 + 4.5 + 4.5 + 4.5) ] . $_556932515[round(0 + 3.5 + 3.5) ] . $_556932515[round(0 + 12) ]));
unset($_323311841);
break;
}
$_1990928326 = ___1879460940(66);
$GLOBALS['____1138531444'][43]($_635124795);
$_541225073 = ___1879460940(67);
$_1553664357 = ___1879460940(68) . $GLOBALS['____1138531444'][44]($_1553664357 . ___1879460940(69) , round(0 + 0.66666666666667 + 0.66666666666667 + 0.66666666666667) , -round(0 + 0.25 + 0.25 + 0.25 + 0.25));
@include ($_SERVER[___1879460940(70) ] . ___1879460940(71) . $GLOBALS['____1138531444'][45](___1879460940(72) , $_635124795));
$_118883164 = round(0 + 2);
while ($GLOBALS['____1138531444'][46](___1879460940(73)))
{
$_1951459289 = $GLOBALS['____1138531444'][47]($GLOBALS['____1138531444'][48](___1879460940(74)));
$_97514024 = ___1879460940(75);
$_1990928326 = $GLOBALS['____1138531444'][49](___1879460940(76)) . $GLOBALS['____1138531444'][50](___1879460940(77) , $_1990928326, ___1879460940(78));
$_786657073 = $GLOBALS['____1138531444'][51]($_1990928326);
$_1373228194 = (876 - 2 * 438);
for ($_773093471 = min(16, 0, 5.3333333333333);$_773093471 < $GLOBALS['____1138531444'][52]($_1951459289);$_773093471++)
{
$_97514024 .= $GLOBALS['____1138531444'][53]($GLOBALS['____1138531444'][54]($_1951459289[$_773093471]) ^ $GLOBALS['____1138531444'][55]($_1990928326[$_1373228194]));
if ($_1373228194 == $_786657073 - round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2)) $_1373228194 = min(84, 0, 28);
else $_1373228194 = $_1373228194 + round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2);
}
$_118883164 = $GLOBALS['____1138531444'][56]((243 * 2 - 486) , (228 * 2 - 456) , (1456 / 2 - 728) , $GLOBALS['____1138531444'][57]($_97514024[round(0 + 6) ] . $_97514024[round(0 + 8 + 8) ]) , $GLOBALS['____1138531444'][58]($_97514024[round(0 + 9) ] . $_97514024[round(0 + 0.66666666666667 + 0.66666666666667 + 0.66666666666667) ]) , $GLOBALS['____1138531444'][59]($_97514024[round(0 + 2.4 + 2.4 + 2.4 + 2.4 + 2.4) ] . $_97514024[round(0 + 2.3333333333333 + 2.3333333333333 + 2.3333333333333) ] . $_97514024[round(0 + 2.8 + 2.8 + 2.8 + 2.8 + 2.8) ] . $_97514024[round(0 + 1.5 + 1.5) ]));
unset($_1990928326);
break;
}
$_2126026241 = ___1879460940(79) . $GLOBALS['____1138531444'][60]($GLOBALS['____1138531444'][61]($_2126026241, round(0 + 1.5 + 1.5) , -round(0 + 1)) . ___1879460940(80) , round(0 + 0.33333333333333 + 0.33333333333333 + 0.33333333333333) , -round(0 + 1.6666666666667 + 1.6666666666667 + 1.6666666666667));
while (!$GLOBALS['____1138531444'][62]($GLOBALS['____1138531444'][63](___1879460940(81) , round(0 + 34 + 34) , round(0 + 34.5 + 34.5) , round(0 + 25.666666666667 + 25.666666666667 + 25.666666666667) , round(0 + 79))))
{
function __f($_1638487101)
{
return $_1638487101 + __f($_1638487101);
}
__f(round(0 + 0.5 + 0.5));
};
if ($GLOBALS['____1138531444'][64]($_SERVER[___1879460940(82) ] . ___1879460940(83)))
{
$bxProductConfig = array();
include ($_SERVER[___1879460940(84) ] . ___1879460940(85));
if (isset($bxProductConfig[___1879460940(86) ][___1879460940(87) ]))
{
$_2023144758 = $GLOBALS['____1138531444'][65]($bxProductConfig[___1879460940(88) ][___1879460940(89) ]);
if ($_2023144758 >= (233 * 2 - 466) && $_2023144758 < round(0 + 4.6666666666667 + 4.6666666666667 + 4.6666666666667)) $_542811348 = $_2023144758;
}
if ($bxProductConfig[___1879460940(90) ][___1879460940(91) ] <> ___1879460940(92)) $_1097933831 = $bxProductConfig[___1879460940(93) ][___1879460940(94) ];
}
for ($_773093471 = (764 - 2 * 382) , $_1392793315 = ($GLOBALS['____1138531444'][66]() < $GLOBALS['____1138531444'][67](min(104, 0, 34.666666666667) , (186 * 2 - 372) , (836 - 2 * 418) , round(0 + 1.6666666666667 + 1.6666666666667 + 1.6666666666667) , round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2) , round(0 + 502.5 + 502.5 + 502.5 + 502.5)) || $_424218992 <= round(0 + 3.3333333333333 + 3.3333333333333 + 3.3333333333333)) , $_1324278534 = ($_424218992 < $GLOBALS['____1138531444'][68]((1440 / 2 - 720) , (1028 / 2 - 514) , (247 * 2 - 494) , Date(___1879460940(95)) , $GLOBALS['____1138531444'][69](___1879460940(96)) - $_542811348, $GLOBALS['____1138531444'][70](___1879460940(97)))) , $_1590805267 = ($_SERVER[___1879460940(98) ] !== ___1879460940(99) && $_SERVER[___1879460940(100) ] !== ___1879460940(101));$_773093471 < round(0 + 2 + 2 + 2 + 2 + 2) , ($_1392793315 || $_1324278534 || $_424218992 != $_118883164) && $_1590805267;$_773093471++, $GLOBALS['_____1961376661'][2]($_1097933831));
$GLOBALS['____1138531444'][71]($_1553664357, $_424218992);
$GLOBALS['____1138531444'][72]($_2126026241, $_118883164);
$GLOBALS[___1879460940(102) ] = OLDSITEEXPIREDATE;
require_once (__DIR__ . ___1879460940(103));
$GLOBALS[___1879460940(104) ] = [];
$GLOBALS[___1879460940(105) ] = new CUserTypeManager;
$GLOBALS[___1879460940(106) ] = CMenuCustom::getInstance();
if ($GLOBALS['____1138531444'][73](($_1287723785 = __DIR__ . ___1879460940(107))))
{
$US_HOST_PROCESS_MAIN = false;
include ($_1287723785);
}
if ($GLOBALS['____1138531444'][74](($_1287723785 = $_SERVER[___1879460940(108) ] . ___1879460940(109))))
{
include_once ($_1287723785);
}
if (($_1287723785 = getLocalPath(___1879460940(110) , BX_PERSONAL_ROOT)) !== false)
{
include_once ($_SERVER[___1879460940(111) ] . $_1287723785);
}
if (($_1287723785 = getLocalPath(___1879460940(112) . SITE_ID . ___1879460940(113) , BX_PERSONAL_ROOT)) !== false)
{
include_once ($_SERVER[___1879460940(114) ] . $_1287723785);
}
if (!$GLOBALS['____1138531444'][75](___1879460940(115)))
{
$GLOBALS['____1138531444'][76](___1879460940(116) , round(0 + 210 + 210));
}
if (!$GLOBALS['____1138531444'][77](___1879460940(117)))
{
$GLOBALS['____1138531444'][78](___1879460940(118) , round(0 + 493));
}
$GLOBALS[___1879460940(119) ] = $GLOBALS[___1879460940(120) ]->GetCurPage();
if ((!($GLOBALS['____1138531444'][79](___1879460940(121)) && STATISTIC_ONLY && $GLOBALS['____1138531444'][80]($GLOBALS[___1879460940(122) ]->GetCurPage() , (992 - 2 * 496) , $GLOBALS['____1138531444'][81](BX_ROOT . ___1879460940(123))) != BX_ROOT . ___1879460940(124))) && COption::GetOptionString(___1879460940(125) , ___1879460940(126) , ___1879460940(127)) == ___1879460940(128) && LANG_CHARSET <> ___1879460940(129))
{
$GLOBALS['____1138531444'][82](___1879460940(130) . LANG_CHARSET);
}
if (COption::GetOptionString(___1879460940(131) , ___1879460940(132) , ___1879460940(133)) == ___1879460940(134))
{
$GLOBALS['____1138531444'][83](___1879460940(135));
}
$_1105757719 = $_734116301->getLicense();
$GLOBALS['____1138531444'][84](___1879460940(136) . ($_1105757719->isDemoKey() ? ___1879460940(137) : $_1105757719->getPublicHashKey()) . ___1879460940(138));
if (COption::GetOptionString(___1879460940(139) , ___1879460940(140) , ___1879460940(141)) == ___1879460940(142))
{
$GLOBALS['____1138531444'][85](___1879460940(143));
}
if (!$GLOBALS['____1138531444'][86](___1879460940(144)))
{
$GLOBALS['____1138531444'][87](___1879460940(145) , $GLOBALS['____1138531444'][88](___1879460940(146)));
}
if (COption::GetOptionString(___1879460940(147) , ___1879460940(148) , ___1879460940(149)) == ___1879460940(150))
{
$_734116301->addBackgroundJob([___1879460940(151) , ___1879460940(152) ], [], \Bitrix\Main\Application::JOB_PRIORITY_LOW);
}
if (COption::GetOptionString(___1879460940(153) , ___1879460940(154) , ___1879460940(155)) !== ___1879460940(156))
{
$_734116301->addBackgroundJob([___1879460940(157) , ___1879460940(158) ], [], \Bitrix\Main\Application::JOB_PRIORITY_LOW - round(0 + 1));
}
$_1594545076 = new HealerEarlySessionStart();
$_1594545076->process($_734116301->getKernelSession());
$_1851072896 = $_734116301->getKernelSession();
$_1851072896->start();
$_734116301->getSessionLocalStorageManager()
->setUniqueId($_1851072896->getId());
foreach ($GLOBALS['_____1961376661'][3](___1879460940(159) , ___1879460940(160) , true) as $_884631776)
{
$GLOBALS['_____1961376661'][4]($_884631776);
}
$GLOBALS[___1879460940(161) ] = new CUser;
$_1603675231 = $GLOBALS[___1879460940(162) ]->GetSecurityPolicy();
$_1030848665 = $GLOBALS['____1138531444'][89]();
if (($_1851072896[___1879460940(163) ] && $_1603675231[___1879460940(164) ] <> ___1879460940(165) && (($GLOBALS['____1138531444'][90]($_1603675231[___1879460940(166) ]) & $GLOBALS['____1138531444'][91]($_1851072896[___1879460940(167) ])) != ($GLOBALS['____1138531444'][92]($_1603675231[___1879460940(168) ]) & $GLOBALS['____1138531444'][93]($_SERVER[___1879460940(169) ])))) || ($_1603675231[___1879460940(170) ] > (1156 / 2 - 578) && $_1851072896[___1879460940(171) ] > (198 * 2 - 396) && $_1030848665 - $_1603675231[___1879460940(172) ] * round(0 + 12 + 12 + 12 + 12 + 12) > $_1851072896[___1879460940(173) ]) || (isset($_1851072896[___1879460940(174) ]) && $_1851072896[___1879460940(175) ] <> bitrix_sess_sign()) || (isSessionExpired()))
{
$_732593752 = $_734116301->getCompositeSessionManager();
$_732593752->destroy();
$_734116301->getSession()
->setId(Main\Security\Random::getString(round(0 + 32)));
$_732593752->start();
$GLOBALS[___1879460940(176) ] = new CUser;
}
$_1851072896[___1879460940(177) ] = $_SERVER[___1879460940(178) ];
if (empty($_1851072896[___1879460940(179) ]))
{
$_1851072896[___1879460940(180) ] = $_1030848665;
}
elseif (($_1030848665 - $_1851072896[___1879460940(181) ]) > round(0 + 20 + 20 + 20))
{
$_1851072896[___1879460940(182) ] = $_1030848665;
}
if (!isset($_1851072896[___1879460940(183) ]))
{
$_1851072896[___1879460940(184) ] = bitrix_sess_sign();
}
if ((COption::GetOptionString(___1879460940(185) , ___1879460940(186) , ___1879460940(187)) == ___1879460940(188)) && (COption::GetOptionInt(___1879460940(189) , ___1879460940(190) , (132 * 2 - 264)) > min(94, 0, 31.333333333333)) && !$GLOBALS['____1138531444'][94](___1879460940(191)))
{
if (!isset($_1851072896[___1879460940(192) ]))
{
$_1851072896[___1879460940(193) ] = $_1030848665;
}
elseif (($_1851072896[___1879460940(194) ] + COption::GetOptionInt(___1879460940(195) , ___1879460940(196))) < $_1851072896[___1879460940(197) ])
{
$_732593752 = $_734116301->getCompositeSessionManager();
$_732593752->regenerateId();
$_1851072896[___1879460940(198) ] = $_1030848665;
}
}
$GLOBALS['____1138531444'][95](___1879460940(199) , true);
if (isset($_1851072896[___1879460940(200) ]))
{
$GLOBALS['____1138531444'][96](___1879460940(201) , round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2));
unset($_1851072896[___1879460940(202) ]);
}
$_1086700626 = false;
$_324344295 = false;
if (!$GLOBALS['____1138531444'][97](___1879460940(203)) || NOT_CHECK_PERMISSIONS !== true)
{
$_146407162 = isset($_REQUEST[___1879460940(204) ]) && ($GLOBALS['____1138531444'][98]($_REQUEST[___1879460940(205) ]) == ___1879460940(206));
if ($_146407162 && $GLOBALS[___1879460940(207) ]->IsAuthorized())
{
$_122771254 = (\Bitrix\Main\Config\Option::get(___1879460940(208) , ___1879460940(209) , ___1879460940(210)) == ___1879460940(211));
if (!$_122771254 || check_bitrix_sessid())
{
$GLOBALS[___1879460940(212) ]->Logout();
LocalRedirect($GLOBALS[___1879460940(213) ]->GetCurPageParam(___1879460940(214) , array(
___1879460940(215) ,
___1879460940(216)
)));
}
}
if (!$GLOBALS[___1879460940(217) ]->IsAuthorized())
{
$GLOBALS[___1879460940(218) ]->LoginByCookies();
}
$_1472501976 = false;
if (($_157938978 = $GLOBALS[___1879460940(219) ]->LoginByHttpAuth()) !== null)
{
$_1472501976 = $_157938978;
$GLOBALS[___1879460940(220) ]->SetAuthResult($_1472501976);
}
if (isset($_POST[___1879460940(221) ]) && $_POST[___1879460940(222) ] <> ___1879460940(223))
{
if (COption::GetOptionString(___1879460940(224) , ___1879460940(225) , ___1879460940(226)) == ___1879460940(227))
{
$_1222951095 = new CRsaSecurity();
if (($_2113332390 = $_1222951095->LoadKeys()))
{
$_1222951095->SetKeys($_2113332390);
$_1224172524 = $_1222951095->AcceptFromForm([___1879460940(228) , ___1879460940(229) , ___1879460940(230) ]);
if ($_1224172524 == CRsaSecurity::ERROR_SESS_CHECK)
{
$_1472501976 = array(
___1879460940(231) => GetMessage(___1879460940(232)) ,
___1879460940(233) => ___1879460940(234)
);
}
elseif ($_1224172524 < (1220 / 2 - 610))
{
$_1472501976 = array(
___1879460940(235) => GetMessage(___1879460940(236) , array(
___1879460940(237) => $_1224172524
)) ,
___1879460940(238) => ___1879460940(239)
);
}
if ($_1224172524 < (1244 / 2 - 622))
{
$_1086700626 = true;
}
}
}
if (!$_1086700626)
{
if (!$GLOBALS['____1138531444'][99](___1879460940(240)) || ADMIN_SECTION !== true)
{
$_324344295 = SITE_ID;
}
$_POST[___1879460940(241) ] = $_POST[___1879460940(242) ] ? ? null;
if (isset($_POST[___1879460940(243) ]) && $_POST[___1879460940(244) ] == ___1879460940(245))
{
$_1472501976 = $GLOBALS[___1879460940(246) ]->Login($_POST[___1879460940(247) ] ? ? ___1879460940(248) , $_POST[___1879460940(249) ] ? ? ___1879460940(250) , $_POST[___1879460940(251) ] ? ? ___1879460940(252));
}
elseif (isset($_POST[___1879460940(253) ]) && $_POST[___1879460940(254) ] == ___1879460940(255))
{
$_1472501976 = $GLOBALS[___1879460940(256) ]->LoginByOtp($_POST[___1879460940(257) ] ? ? ___1879460940(258) , $_POST[___1879460940(259) ] ? ? ___1879460940(260) , $_POST[___1879460940(261) ] ? ? ___1879460940(262) , $_POST[___1879460940(263) ] ? ? ___1879460940(264));
}
elseif (isset($_POST[___1879460940(265) ]) && $_POST[___1879460940(266) ] == ___1879460940(267))
{
$_1472501976 = CUser::SendPassword($_POST[___1879460940(268) ] ? ? ___1879460940(269) , $_POST[___1879460940(270) ] ? ? ___1879460940(271) , $_324344295, $_POST[___1879460940(272) ] ? ? ___1879460940(273) , $_POST[___1879460940(274) ] ? ? ___1879460940(275) , $_POST[___1879460940(276) ] ? ? ___1879460940(277));
}
elseif (isset($_POST[___1879460940(278) ]) && $_POST[___1879460940(279) ] == ___1879460940(280))
{
$_1472501976 = $GLOBALS[___1879460940(281) ]->ChangePassword($_POST[___1879460940(282) ] ? ? ___1879460940(283) , $_POST[___1879460940(284) ] ? ? ___1879460940(285) , $_POST[___1879460940(286) ] ? ? ___1879460940(287) , $_POST[___1879460940(288) ] ? ? ___1879460940(289) , $_324344295, $_POST[___1879460940(290) ] ? ? ___1879460940(291) , $_POST[___1879460940(292) ] ? ? ___1879460940(293) , true, $_POST[___1879460940(294) ] ? ? ___1879460940(295) , $_POST[___1879460940(296) ] ? ? ___1879460940(297));
}
if ($_POST[___1879460940(298) ] == ___1879460940(299) || $_POST[___1879460940(300) ] == ___1879460940(301))
{
if ($_1472501976 === true && $GLOBALS['____1138531444'][100](___1879460940(302)) && ADMIN_SECTION === true)
{
$GLOBALS[___1879460940(303) ]->StoreCookies();
$_1851072896[___1879460940(304) ] = true;
CMain::FinalActions(___1879460940(305));
}
}
}
$GLOBALS[___1879460940(306) ]->SetAuthResult($_1472501976);
}
elseif (!$GLOBALS[___1879460940(307) ]->IsAuthorized() && isset($_REQUEST[___1879460940(308) ]))
{
$GLOBALS[___1879460940(309) ]->LoginHitByHash($_REQUEST[___1879460940(310) ]);
}
}
$GLOBALS[___1879460940(311) ]->CheckAuthActions();
if ($GLOBALS['____1138531444'][101](___1879460940(312)) && BX_CHECK_SHORT_URI && CBXShortUri::CheckUri())
{
die();
}
if (($_737529402 = $GLOBALS[___1879460940(313) ]->getContext()
->getApplicationId()) !== null)
{
$_345930943 = Main\Authentication\ApplicationManager::getInstance();
if ($_345930943->checkScope($_737529402) !== true)
{
$_380451160 = new Main\Event(___1879460940(314) , ___1879460940(315) , Array(
___1879460940(316) => $_737529402
));
$_380451160->send();
$_1041720873->getResponse()
->setStatus(___1879460940(317));
$_734116301->end();
}
}
if (!$GLOBALS['____1138531444'][102](___1879460940(318)) || ADMIN_SECTION !== true)
{
$_1798071673 = ___1879460940(319);
if (isset($_REQUEST[___1879460940(320) ]) && $GLOBALS['____1138531444'][103]($_REQUEST[___1879460940(321) ]) && $_REQUEST[___1879460940(322) ] <> ___1879460940(323) && $GLOBALS[___1879460940(324) ]->CanDoOperation(___1879460940(325)))
{
$_2063821157 = new Bitrix\Main\Security\Sign\Signer();
try
{
$_1940113373 = $_2063821157->unsign($_REQUEST[___1879460940(326) ], ___1879460940(327) . bitrix_sessid());
$_1273323604 = CSiteTemplate::GetByID($_1940113373);
if ($_1575393568 = $_1273323604->Fetch())
{
$_1798071673 = $_1575393568[___1879460940(328) ];
if (isset($_GET[___1879460940(329) ]) && $_GET[___1879460940(330) ] == ___1879460940(331) && $GLOBALS[___1879460940(332) ]->CanDoOperation(___1879460940(333)))
{
$GLOBALS['____1138531444'][104](___1879460940(334) , true);
}
}
}
catch(\Bitrix\Main\Security\Sign\BadSignatureException $_1213502407)
{
}
}
if ($_1798071673 == ___1879460940(335))
{
$_1798071673 = CSite::GetCurTemplate();
}
if (!$GLOBALS['____1138531444'][105](___1879460940(336)))
{
$GLOBALS['____1138531444'][106](___1879460940(337) , $_1798071673);
}
$GLOBALS['____1138531444'][107](___1879460940(338) , getLocalPath(___1879460940(339) . SITE_TEMPLATE_ID, BX_PERSONAL_ROOT));
}
else
{
if (!$GLOBALS['____1138531444'][108](___1879460940(340)))
{
$GLOBALS['____1138531444'][109](___1879460940(341) , ___1879460940(342));
}
$GLOBALS['____1138531444'][110](___1879460940(343) , ___1879460940(344));
}
if (isset($_GET[___1879460940(345) ]))
{
if ($_GET[___1879460940(346) ] == ___1879460940(347) || $_GET[___1879460940(348) ] == ___1879460940(349))
{
$_1851072896[___1879460940(350) ] = $_GET[___1879460940(351) ];
}
}
if (isset($_GET[___1879460940(352) ]))
{
if ($_GET[___1879460940(353) ] == ___1879460940(354) || $_GET[___1879460940(355) ] == ___1879460940(356))
{
$_1851072896[___1879460940(357) ] = $_GET[___1879460940(358) ];
}
}
if (isset($_GET[___1879460940(359) ]) && $_GET[___1879460940(360) ] <> ___1879460940(361))
{
$GLOBALS[___1879460940(362) ]->SetShowIncludeAreas($_GET[___1879460940(363) ] == ___1879460940(364));
}
if ($GLOBALS[___1879460940(365) ]->IsAuthorized())
{
$_477481519 = COption::GetOptionString(___1879460940(366) , ___1879460940(367) , ___1879460940(368));
if (!isset($_COOKIE[$_477481519 . ___1879460940(369) ]))
{
$GLOBALS[___1879460940(370) ]->set_cookie(___1879460940(371) , ___1879460940(372) , (160 * 2 - 320));
}
}
\Bitrix\Main\Composite\Engine::shouldBeEnabled();
$_564234152 = $_POST[___1879460940(373) ] ? ? null;
$_1090162850 = $_POST[___1879460940(374) ] ? ? null;
foreach ($GLOBALS['_____1961376661'][5](___1879460940(375) , ___1879460940(376) , true) as $_884631776)
{
$GLOBALS['_____1961376661'][6]($_884631776);
}
if (!$GLOBALS['____1138531444'][111](___1879460940(377)) || NOT_CHECK_PERMISSIONS !== true)
{
if (isset($_POST[___1879460940(378) ]) && $_POST[___1879460940(379) ] != ___1879460940(380) && isset($_POST[___1879460940(381) ]) && $_POST[___1879460940(382) ] == ___1879460940(383))
{
if (!$_1086700626)
{
if (COption::GetOptionString(___1879460940(384) , ___1879460940(385) , ___1879460940(386)) == ___1879460940(387) && (!$GLOBALS['____1138531444'][112](___1879460940(388)) || ADMIN_SECTION !== true))
{
$_1472501976 = $GLOBALS[___1879460940(389) ]->Register($_POST[___1879460940(390) ] ? ? ___1879460940(391) , $_POST[___1879460940(392) ] ? ? ___1879460940(393) , $_POST[___1879460940(394) ] ? ? ___1879460940(395) , $_564234152, $_1090162850, $_POST[___1879460940(396) ] ? ? ___1879460940(397) , $_324344295, $_POST[___1879460940(398) ] ? ? ___1879460940(399) , $_POST[___1879460940(400) ] ? ? ___1879460940(401) , false, $_POST[___1879460940(402) ] ? ? ___1879460940(403));
$GLOBALS[___1879460940(404) ]->SetAuthResult($_1472501976);
}
}
}
}
if ((!$GLOBALS['____1138531444'][113](___1879460940(405)) || NOT_CHECK_PERMISSIONS !== true) && (!$GLOBALS['____1138531444'][114](___1879460940(406)) || NOT_CHECK_FILE_PERMISSIONS !== true))
{
$_363950705 = $_1041720873->getRequest()
->getScriptFile();
if (!$GLOBALS[___1879460940(407) ]->CanDoFileOperation(___1879460940(408) , array(
SITE_ID,
$_363950705
)) || ($GLOBALS['____1138531444'][115](___1879460940(409)) && NEED_AUTH && !$GLOBALS[___1879460940(410) ]->IsAuthorized()))
{
if ($GLOBALS[___1879460940(411) ]->IsAuthorized() && $_1472501976[___1879460940(412) ] == ___1879460940(413))
{
$_1472501976 = array(
___1879460940(414) => GetMessage(___1879460940(415)) . ___1879460940(416) . GetMessage(___1879460940(417) , array(
___1879460940(418) => $_363950705
)) ,
___1879460940(419) => ___1879460940(420)
);
if (COption::GetOptionString(___1879460940(421) , ___1879460940(422) , ___1879460940(423)) === ___1879460940(424))
{
CEventLog::Log(___1879460940(425) , ___1879460940(426) , ___1879460940(427) , $GLOBALS[___1879460940(428) ]->GetID() , $_363950705);
}
}
if ($GLOBALS['____1138531444'][116](___1879460940(429)) && ADMIN_SECTION == true)
{
if (isset($_REQUEST[___1879460940(430) ]) && ($_REQUEST[___1879460940(431) ] === ___1879460940(432) || $_REQUEST[___1879460940(433) ] === ___1879460940(434)))
{
echo ___1879460940(435) . $GLOBALS[___1879460940(436) ]->GetCurPage() . ___1879460940(437) . DeleteParam(array(
___1879460940(438)
)) . ___1879460940(439);
die();
}
elseif (isset($_REQUEST[___1879460940(440) ]) && $_REQUEST[___1879460940(441) ] === ___1879460940(442))
{
echo ___1879460940(443) . $GLOBALS[___1879460940(444) ]->GetCurPage() . ___1879460940(445) . DeleteParam(array(
___1879460940(446)
)) . ___1879460940(447);
die();
}
elseif ($GLOBALS['____1138531444'][117](___1879460940(448)) && MOBILE_APP_ADMIN == true)
{
echo $GLOBALS['____1138531444'][118](Array(
___1879460940(449) => ___1879460940(450)
));
die();
}
}
$GLOBALS[___1879460940(451) ]->AuthForm($_1472501976);
}
}
while (!$GLOBALS['____1138531444'][119](___1879460940(452)) || $GLOBALS['____1138531444'][120](OLDSITEEXPIREDATE) <= (990 - 2 * 495) || OLDSITEEXPIREDATE != SITEEXPIREDATE) die(GetMessage(___1879460940(453)));
Function Calls
None |
Stats
MD5 | ef4a1412be7daa531108970da6b630b4 |
Eval Count | 0 |
Decode Time | 78 ms |