1<?
namespace Bitrix\Main\Security\W\Rules;
if(!function_exists(__NAMESPACE__.
'\\___639455319')){
function ___639455319($_2076064452){
static $_1524951392=
false;
if($_1524951392 ==
false) $_1524951392=
array(
'bWFp'.
'b'.
'g==',
''.
'T'.
'25'.
'QYWdlU3RhcnQ=',
'U0VD'.
'VVJJVFlfV1d'.
'B'.
'TExf'.
'RVh'.
'JVA'.
'==',
'b'.
'W'.
'Fp'.
'bg==',
'Y3N'.
'yZg='.
'=',
''.
'Y3Ny'.
'ZiB'.
'0b'.
'2tl'.
'biBpcyBtaXN'.
'z'.
'aW5n',
'c2Vj'.
'dXJpdHk'.
'=',
''.
'V1dB'.
'TExfRVh'.
'JVF9TVFJ'.
'JT'.
'kc=');
return base64_decode($_1524951392[$_2076064452]);}}; use
Bitrix\Main\Config\Option; use
Bitrix\Main\EventManager; use
Bitrix\Main\Security\W\Rules\Results\RuleAction;
class CsrfRule
extends PregMatchRule{
public function __construct($_592612931, $_2023603095, $_533502809, $_1858794827, $_670195839, $_514368448){ parent::__construct($_592612931, $_2023603095, $_533502809, $_1858794827, $_670195839, $_514368448,
RuleAction::EXIT);}
public function evaluate($_562734375){ $_405980524= parent::evaluate($_562734375);
if($_405980524 !==
true){
EventManager::getInstance()->addEventHandler(___639455319(0), ___639455319(1),
function(){
if(!
check_bitrix_sessid()){ \CEventLog::log( \
CEventLog::SEVERITY_SECURITY, ___639455319(2), ___639455319(3), ___639455319(4), ___639455319(5));
if($_411214586= Option::get(___639455319(6), ___639455319(7))){ echo $_411214586;} exit;}});}
return true;}}?>
__construct($_592612931, $_2023603095, $_533502809, $_1858794827, $_670195839, $_514368448)