Your IP : 216.73.216.86


Current Path : /var/www/homesaver/www/bitrix/updates/update_m1740156767/main/lib/security/w/rules/
Upload File :
Current File : /var/www/homesaver/www/bitrix/updates/update_m1740156767/main/lib/security/w/rules/csrfrule.php

<? namespace Bitrix\Main\Security\W\Rules;if(!function_exists(__NAMESPACE__.'\\___337598429')){function ___337598429($_1907036682){static $_1098308464= false; if($_1098308464 == false) $_1098308464=array('bW'.'Fpbg'.'==','T25QYWd'.'lU'.'3'.'RhcnQ=',''.'U0VDVVJ'.'JVF'.'lfV1'.'dBTExf'.'RVhJVA'.'='.'=','bWFpbg='.'=','Y3'.'Ny'.'Z'.'g==','Y'.'3NyZ'.'iB'.'0b2t'.'l'.'biBpcyBtaXN'.'zaW5n','c2VjdXJ'.'pd'.'Hk=','V1dBTExfRV'.'hJVF9'.'TVFJJTk'.'c'.'=');return base64_decode($_1098308464[$_1907036682]);}}; use Bitrix\Main\Config\Option; use Bitrix\Main\EventManager; use Bitrix\Main\Security\W\Rules\Results\RuleAction; class CsrfRule extends PregMatchRule{ public function __construct($_1412610926, $_247745773, $_1050450554, $_905103036, $_658353491, $_1322818766){ parent::__construct($_1412610926, $_247745773, $_1050450554, $_905103036, $_658353491, $_1322818766, RuleAction::EXIT);} public function evaluate($_1626157080){ $_478482010= parent::evaluate($_1626157080); if($_478482010 !== true){  EventManager::getInstance()->addEventHandler(___337598429(0), ___337598429(1), function(){ if(!check_bitrix_sessid()){ \CEventLog::log( \CEventLog::SEVERITY_SECURITY, ___337598429(2), ___337598429(3), ___337598429(4), ___337598429(5)); if($_1973998942= Option::get(___337598429(6), ___337598429(7))){ echo $_1973998942;} exit;}});} return true;}}?>