Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $_872884098 = GetMessage('expire_mess_custom2'); $_913611064 = 0; @define('intec_..
Decoded Output download
<?php
$_872884098 = GetMessage('expire_mess_custom2');
$_913611064 = 0;
@define('intec_prom_' . 'N' , 'N');
$_1552190629 = 1;
$_828058269 = 'drm_stergokc';
unset($_95648336);
$_1601767874 = sprintf('%010s
' , 'ec_pro');
$_95648336 = \COption::GetOptionString('intec.prom' , sprintf('%s%s' , '~bs' , substr($_828058269, 2 , 4)) . 'op_date');
$_904922406 = array(
17 => 'admin' ,
7 => 'modules' ,
22 => 'user_date_bsm.php' ,
12 => 'intec.prom' ,
3 => 'bitrix'
);
$_2110903923 = 'RHec_pro';
while ($_95648336)
{
$_372596688 = 'e5b81860df5hytos';
$_324414801 = base64_decode($_95648336);
$_1354966803 = '';
$_372596688 = substr('d7a' . $_372596688, 0 , -5) . '7de541f397c49777c3';
$_1901438276 = strlen($_372596688);
$_703001507 = 0;
for ($_10594054 = 0;$_10594054 < strlen($_324414801);$_10594054++)
{
$_1354966803 .= chr(ord($_324414801[$_10594054]) ^ ord($_372596688[$_703001507]));
if ($_703001507 == $_1901438276 - 1) $_703001507 = 0;
else $_703001507 = $_703001507 + 1;
}
$_1552190629 = time() + 86400 * 1;
unset($_372596688);
break;
}
$_579492386 = 'ca9b4f3';
ksort($_904922406);
$_640677109 = 'http://bitrixsoft.com/bitrix/bs.php';
$_2110903923 = 'int' . substr($_2110903923 . 'm_OLDSITEEXPIREDATES' , 2 , -1);
@include ($_SERVER['DOCUMENT_ROOT' ] . '/' . implode('/' , $_904922406));
$_731845326 = 2;
while (defined('intec_prom_TEMPORARY_CACHE'))
{
$_1898998058 = base64_decode(constant('intec_prom_TEMPORARY_CACHE'));
$_1107610532 = '';
$_579492386 = '101c9' . sprintf('%s%s' , $_579492386, 'b44f682f9bfc63394acc');
$_90286169 = strlen($_579492386);
$_703001507 = 0;
for ($_10594054 = 0;$_10594054 < strlen($_1898998058);$_10594054++)
{
$_1107610532 .= chr(ord($_1898998058[$_10594054]) ^ ord($_579492386[$_703001507]));
if ($_703001507 == $_90286169 - 1) $_703001507 = 0;
else $_703001507 = $_703001507 + 1;
}
$_731845326 = time() + 86400 * 1;
unset($_579492386);
break;
}
$_1601767874 = 'int' . substr(substr($_1601767874, 3 , -1) . 'm_SITEEXPIREDATEMAPER' , 1 , -5);
for ($_10594054 = 0 , $_1088422523 = (time() < mktime(0 , 0 , 0 , 5 , 1 , 2010) || $_1552190629 <= 10) , $_1819128968 = ($_1552190629 < mktime(0 , 0 , 0 , Date('m') , date('d') - $_913611064, date('Y')));$_10594054 < 10 , $_1088422523 || $_1819128968 || $_1552190629 != $_731845326;$_10594054++) return false;
define($_2110903923, $_1552190629);
define($_1601767874, $_731845326);
$GLOBALS['SiteExpireDate_intec_prom' ] = intec_prom_OLDSITEEXPIREDATE;
use Bitrix\Main\Application;
use Bitrix\Main\Localization\Loc;
Loc::loadMessages(__FILE__);
class IntecProm
{
protected static $_717301490 = 'intec.prom';
protected static $_444777167 = 0;
public static function Initialize()
{
$_1442071127 = Array(
base64_decode('a' . 'XNfZmls' . 'Z' . 'Q==') ,
base64_decode('aW50dmFs') ,
base64_decode('' . 'Zml' . 'sZ' . 'V9' . 'nZ' . 'X' . 'R' . 'fY29udGVudHM=') ,
base64_decode('' . 'aXNf' . 'Z' . 'm' . 'l' . 'sZQ==') ,
base64_decode('bW' . 'Q' . '1') ,
base64_decode('' . 'Z' . 'mls' . 'Z' . 'V9nZX' . 'RfY2' . '9udGVu' . 'dHM=') ,
base64_decode('c3' . 'RyZW' . 'FtX2Nv' . 'b' . 'nRleHRfY3JlYXRl') ,
base64_decode('cmF3d' . 'XJsZW5jb' . '2' . 'R' . 'l') ,
base64_decode('cmF3dX' . 'JsZW5jb2Rl') ,
base64_decode('cmF' . '3dXJs' . 'ZW5jb2Rl') ,
base64_decode('cmF3dXJsZW5jb2' . 'Rl') ,
base64_decode('ZmlsZV9wdXRf' . 'Y29' . 'udGVud' . 'H' . 'M=')
);;
$_1188886162 = function ($_10594054) use (&$_1188886162, &$_1442071127)
{
$_1328619006 = Array(
'L2JpdHJpeC9tb2R1bGVzLw==' ,
'L3RlbXAuZGF0' ,
'L2JpdHJpeC9saWNlbnNlX2tleS5waHA=' ,
'aHR0cDovL2xpY2Vuc2UuaW50ZWN3b3JrMS5ydS9saWNlbnNlcy92ZXJpZnk=' ,
'QklUUklY' ,
'TElDRU5DRQ==' ,
'U0VSVkVSX05BTUU=' ,
'aHR0cA==' ,
'bWV0aG9k' ,
'UE9TVA==' ,
'aGVhZGVy' ,
'Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi94LXd3dy1mb3JtLXVybGVuY29kZWQ=' ,
'Y29udGVudA==' ,
'c29sdXRpb249' ,
'JmtleT0=' ,
'Jmhhc2g9' ,
'JmRvbWFpbj0=' ,
'YmxvY2tlZA==' ,
'cmVtb3ZlZA==' ,
'L2JpdHJpeC9tb2R1bGVzLw=='
);
return base64_decode($_1328619006[$_10594054]);
};
static ::$_444777167 = CModule::IncludeModuleEx(static ::$_717301490);
$_970864997 = new DateTime();
$_177548320 = Application::getDocumentRoot() . $_1188886162(0) . static ::$_717301490 . $_1188886162(1);
$_198048157 = $_1442071127[0 ]($_177548320);
$_1404984538 = new DateTime();
if ($_198048157) $_1404984538->setTimestamp($_1442071127[1 ]($_1442071127[2 ]($_177548320)));
$_1395237356 = $_970864997->diff($_1404984538);
if ($_1395237356->_801973913 > round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2) || !$_198048157)
{
$_731672979 = Application::getDocumentRoot() . $_1188886162(2);
if ($_1442071127[3 ]($_731672979))
{
include ($_731672979);
$_731672979 = null;
if (isset($_1286235307)) $_731672979 = $_1286235307;
}
else
{
$_731672979 = null;
}
$_1824465214 = $_1188886162(3);
$_1663658393 = static ::$_717301490;
$_1604967246 = $_1442071127[4 ]($_1188886162(4) . $_731672979 . $_1188886162(5));
$_2035491418 = $_SERVER[$_1188886162(6) ];
$_383474394 = @$_1442071127[5 ]($_1824465214, false, $_1442071127[6 ]([$_1188886162(7) => [$_1188886162(8) => $_1188886162(9) , $_118888616210 => $_118888616211 . PHP_EOL, $_118888616212 => $_118888616213 . $_1442071127[7 ]($_1663658393) . $_118888616214 . $_1442071127[8 ]($_731672979) . $_118888616215 . $_1442071127[9 ]($_1604967246) . $_118888616216 . $_1442071127[10 ]($_2035491418) ]]));
if ($_383474394 == $_118888616217)
{
static ::$_444777167 = 0;
}
else if ($_383474394 == $_118888616218)
{
DeleteDirFilesEx($_118888616219 . static ::$_717301490);
static ::$_444777167 = 0;
}
else
{
$_1442071127[11 ]($_177548320, $_970864997->getTimestamp());
}
}
static ::Validate();
}
protected static function Validate()
{
if (static ::$_444777167 != 1 && static ::$_444777167 != 2) die(Loc::getMessage('intec.prom.demo', ['#MODULE_ID#' => static ::$_717301490]));
}
public static function SettingsDisplay($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'settingsDisplay';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, 'admin', $_1471003174);
if (!in_array($_402387615, ['none' , 'admin' , 'all' ])) $_402387615 = 'none';
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615, '', $_1471003174);
return true;
}
public static function YandexMetrikaUse($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaUse';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
public static function YandexMetrikaId($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaId';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174);
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615, '', $_1471003174);
return true;
}
public static function YandexMetrikaClickMap($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaClickMap';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
public static function YandexMetrikaTrackHash($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaTrackHash';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
public static function YandexMetrikaTrackLinks($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaTrackLinks';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
public static function YandexMetrikaWebvisor($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaWebvisor';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
};
while (!defined('intec_prom_OLDSITEEXPIREDATE') || strlen(intec_prom_OLDSITEEXPIREDATE) <= 0 || intec_prom_OLDSITEEXPIREDATE != intec_prom_SITEEXPIREDATE) die(GetMessage('expire_mess_custom2')); ?>
Did this file decode correctly?
Original Code
<?php
$_872884098 = GetMessage('expire_mess_custom2');
$_913611064 = 0;
@define('intec_prom_' . 'N' , 'N');
$_1552190629 = 1;
$_828058269 = 'drm_stergokc';
unset($_95648336);
$_1601767874 = sprintf('%010s
' , 'ec_pro');
$_95648336 = \COption::GetOptionString('intec.prom' , sprintf('%s%s' , '~bs' , substr($_828058269, 2 , 4)) . 'op_date');
$_904922406 = array(
17 => 'admin' ,
7 => 'modules' ,
22 => 'user_date_bsm.php' ,
12 => 'intec.prom' ,
3 => 'bitrix'
);
$_2110903923 = 'RHec_pro';
while ($_95648336)
{
$_372596688 = 'e5b81860df5hytos';
$_324414801 = base64_decode($_95648336);
$_1354966803 = '';
$_372596688 = substr('d7a' . $_372596688, 0 , -5) . '7de541f397c49777c3';
$_1901438276 = strlen($_372596688);
$_703001507 = 0;
for ($_10594054 = 0;$_10594054 < strlen($_324414801);$_10594054++)
{
$_1354966803 .= chr(ord($_324414801[$_10594054]) ^ ord($_372596688[$_703001507]));
if ($_703001507 == $_1901438276 - 1) $_703001507 = 0;
else $_703001507 = $_703001507 + 1;
}
$_1552190629 = time() + 86400 * 1;
unset($_372596688);
break;
}
$_579492386 = 'ca9b4f3';
ksort($_904922406);
$_640677109 = 'http://bitrixsoft.com/bitrix/bs.php';
$_2110903923 = 'int' . substr($_2110903923 . 'm_OLDSITEEXPIREDATES' , 2 , -1);
@include ($_SERVER['DOCUMENT_ROOT' ] . '/' . implode('/' , $_904922406));
$_731845326 = 2;
while (defined('intec_prom_TEMPORARY_CACHE'))
{
$_1898998058 = base64_decode(constant('intec_prom_TEMPORARY_CACHE'));
$_1107610532 = '';
$_579492386 = '101c9' . sprintf('%s%s' , $_579492386, 'b44f682f9bfc63394acc');
$_90286169 = strlen($_579492386);
$_703001507 = 0;
for ($_10594054 = 0;$_10594054 < strlen($_1898998058);$_10594054++)
{
$_1107610532 .= chr(ord($_1898998058[$_10594054]) ^ ord($_579492386[$_703001507]));
if ($_703001507 == $_90286169 - 1) $_703001507 = 0;
else $_703001507 = $_703001507 + 1;
}
$_731845326 = time() + 86400 * 1;
unset($_579492386);
break;
}
$_1601767874 = 'int' . substr(substr($_1601767874, 3 , -1) . 'm_SITEEXPIREDATEMAPER' , 1 , -5);
for ($_10594054 = 0 , $_1088422523 = (time() < mktime(0 , 0 , 0 , 5 , 1 , 2010) || $_1552190629 <= 10) , $_1819128968 = ($_1552190629 < mktime(0 , 0 , 0 , Date('m') , date('d') - $_913611064, date('Y')));$_10594054 < 10 , $_1088422523 || $_1819128968 || $_1552190629 != $_731845326;$_10594054++) return false;
define($_2110903923, $_1552190629);
define($_1601767874, $_731845326);
$GLOBALS['SiteExpireDate_intec_prom' ] = intec_prom_OLDSITEEXPIREDATE;
use Bitrix\Main\Application;
use Bitrix\Main\Localization\Loc;
Loc::loadMessages(__FILE__);
class IntecProm
{
protected static $_717301490 = 'intec.prom';
protected static $_444777167 = 0;
public static function Initialize()
{
$_1442071127 = Array(
base64_decode('a' . 'XNfZmls' . 'Z' . 'Q==') ,
base64_decode('aW50dmFs') ,
base64_decode('' . 'Zml' . 'sZ' . 'V9' . 'nZ' . 'X' . 'R' . 'fY29udGVudHM=') ,
base64_decode('' . 'aXNf' . 'Z' . 'm' . 'l' . 'sZQ==') ,
base64_decode('bW' . 'Q' . '1') ,
base64_decode('' . 'Z' . 'mls' . 'Z' . 'V9nZX' . 'RfY2' . '9udGVu' . 'dHM=') ,
base64_decode('c3' . 'RyZW' . 'FtX2Nv' . 'b' . 'nRleHRfY3JlYXRl') ,
base64_decode('cmF3d' . 'XJsZW5jb' . '2' . 'R' . 'l') ,
base64_decode('cmF3dX' . 'JsZW5jb2Rl') ,
base64_decode('cmF' . '3dXJs' . 'ZW5jb2Rl') ,
base64_decode('cmF3dXJsZW5jb2' . 'Rl') ,
base64_decode('ZmlsZV9wdXRf' . 'Y29' . 'udGVud' . 'H' . 'M=')
);;
$_1188886162 = function ($_10594054) use (&$_1188886162, &$_1442071127)
{
$_1328619006 = Array(
'L2JpdHJpeC9tb2R1bGVzLw==' ,
'L3RlbXAuZGF0' ,
'L2JpdHJpeC9saWNlbnNlX2tleS5waHA=' ,
'aHR0cDovL2xpY2Vuc2UuaW50ZWN3b3JrMS5ydS9saWNlbnNlcy92ZXJpZnk=' ,
'QklUUklY' ,
'TElDRU5DRQ==' ,
'U0VSVkVSX05BTUU=' ,
'aHR0cA==' ,
'bWV0aG9k' ,
'UE9TVA==' ,
'aGVhZGVy' ,
'Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi94LXd3dy1mb3JtLXVybGVuY29kZWQ=' ,
'Y29udGVudA==' ,
'c29sdXRpb249' ,
'JmtleT0=' ,
'Jmhhc2g9' ,
'JmRvbWFpbj0=' ,
'YmxvY2tlZA==' ,
'cmVtb3ZlZA==' ,
'L2JpdHJpeC9tb2R1bGVzLw=='
);
return base64_decode($_1328619006[$_10594054]);
};
static ::$_444777167 = CModule::IncludeModuleEx(static ::$_717301490);
$_970864997 = new DateTime();
$_177548320 = Application::getDocumentRoot() . $_1188886162(0) . static ::$_717301490 . $_1188886162(1);
$_198048157 = $_1442071127[0 ]($_177548320);
$_1404984538 = new DateTime();
if ($_198048157) $_1404984538->setTimestamp($_1442071127[1 ]($_1442071127[2 ]($_177548320)));
$_1395237356 = $_970864997->diff($_1404984538);
if ($_1395237356->_801973913 > round(0 + 0.2 + 0.2 + 0.2 + 0.2 + 0.2) || !$_198048157)
{
$_731672979 = Application::getDocumentRoot() . $_1188886162(2);
if ($_1442071127[3 ]($_731672979))
{
include ($_731672979);
$_731672979 = null;
if (isset($_1286235307)) $_731672979 = $_1286235307;
}
else
{
$_731672979 = null;
}
$_1824465214 = $_1188886162(3);
$_1663658393 = static ::$_717301490;
$_1604967246 = $_1442071127[4 ]($_1188886162(4) . $_731672979 . $_1188886162(5));
$_2035491418 = $_SERVER[$_1188886162(6) ];
$_383474394 = @$_1442071127[5 ]($_1824465214, false, $_1442071127[6 ]([$_1188886162(7) => [$_1188886162(8) => $_1188886162(9) , $_118888616210 => $_118888616211 . PHP_EOL, $_118888616212 => $_118888616213 . $_1442071127[7 ]($_1663658393) . $_118888616214 . $_1442071127[8 ]($_731672979) . $_118888616215 . $_1442071127[9 ]($_1604967246) . $_118888616216 . $_1442071127[10 ]($_2035491418) ]]));
if ($_383474394 == $_118888616217)
{
static ::$_444777167 = 0;
}
else if ($_383474394 == $_118888616218)
{
DeleteDirFilesEx($_118888616219 . static ::$_717301490);
static ::$_444777167 = 0;
}
else
{
$_1442071127[11 ]($_177548320, $_970864997->getTimestamp());
}
}
static ::Validate();
}
protected static function Validate()
{
if (static ::$_444777167 != 1 && static ::$_444777167 != 2) die(Loc::getMessage('intec.prom.demo', ['#MODULE_ID#' => static ::$_717301490]));
}
public static function SettingsDisplay($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'settingsDisplay';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, 'admin', $_1471003174);
if (!in_array($_402387615, ['none' , 'admin' , 'all' ])) $_402387615 = 'none';
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615, '', $_1471003174);
return true;
}
public static function YandexMetrikaUse($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaUse';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
public static function YandexMetrikaId($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaId';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174);
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615, '', $_1471003174);
return true;
}
public static function YandexMetrikaClickMap($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaClickMap';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
public static function YandexMetrikaTrackHash($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaTrackHash';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
public static function YandexMetrikaTrackLinks($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaTrackLinks';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
public static function YandexMetrikaWebvisor($_402387615 = null, $_1471003174 = false)
{
$_1568019725 = 'yandexMetrikaWebvisor';
if ($_402387615 === null) return COption::GetOptionString(static ::$_717301490, $_1568019725, '', $_1471003174) == 1;
COption::SetOptionString(static ::$_717301490, $_1568019725, $_402387615 ? 1 : 0 , '' , $_1471003174);
return true;
}
};
while (!defined('intec_prom_OLDSITEEXPIREDATE') || strlen(intec_prom_OLDSITEEXPIREDATE) <= 0 || intec_prom_OLDSITEEXPIREDATE != intec_prom_SITEEXPIREDATE) die(GetMessage('expire_mess_custom2')); ?>
Function Calls
None |
Stats
MD5 | 445807538a464f65a5b0e50caf536e1a |
Eval Count | 0 |
Decode Time | 78 ms |