View file ISP4Mobile/xrex/antivirus.php

File size: 1.01Kb
<?php
### Decoded IonCube by pimnik98 
### Декодировал Пиминов Никита 
### vk.com/piminov_remont
### Заказать декодирование: https://bymas.ru/forum/viewtopic.php?topic_id=131647

$content = api_query('https://' . $server . '/manager/ispmgr?func=antivirus&out=xml&authinfo=' . urlencode($_SESSION['username']) . ':' . urlencode($_SESSION['password']));
$parse_xml = simplexml_load_string($content);
echo '<img src="images/t-retry.png" alt="." /><a href="?func=antivirus">Обновить</a><br />' . "\n";
echo '<img src="images/t-restart.png" alt="." /><a href="?func=antivirus.start">Запустить проверку</a>' . "\n";
echo '<hr />' . "\n";

foreach ($parse_xml->elem as $var) {
	echo htmlentities((string) $var->file, ENT_QUOTES, 'UTF-8') . '<br />' . "\n";
	echo htmlentities((string) $var->virus, ENT_QUOTES, 'UTF-8') . "\n";
	echo '<hr />' . "\n";
}

echo '<img src="images/sb-menu.png" alt="." /><a href="?func=menu">Вернуться в меню</a>' . "\n";

?>