Он выкачивает демоданные с сайта и отправляет данные текущей лицензии в файлах, кому интересно покопайтесь и хотябы ключих самой лицензии закоментируйте по коду
Вы про это?
public static function newAction($action = "unknown"){
$socket = fsockopen('bi.aspro.ru', 80, $errno, $errstr, 10);
if($socket)
{
if(CModule::IncludeModule("main"))
{
global $APPLICATION;
require_once($_SERVER["DOCUMENT_ROOT"]."/
bitrix/modules/main/classes/general/update_client.php");
$errorMessage = "";
$serverIP = ($_SERVER["HTTP_X_REAL_IP"] ? $_SERVER["HTTP_X_REAL_IP"] : $_SERVER["SERVER_ADDR"]);
$arUpdateList = CUpdateClient::GetUpdatesList($errorMessage, "ru", "Y");
if(array_key_exists("CLIENT", $arUpdateList) && $arUpdateList["CLIENT"][0]["@"]["LICENSE"])
{
$edition = $arUpdateList["CLIENT"][0]["@"]["LICENSE"];
}
else
{
$edition = "UNKNOWN";
}
$data = json_encode(
array(
"client" => "aspro",
"install_date" => date("Y-m-d H:i:s"),
"solution_code" => self::moduleID,
"ip" => $serverIP,
"http_host" => $_SERVER["HTTP_HOST"],
"bitrix_version" => SM_VERSION,
"bitrix_edition" => $APPLICATION->ConvertCharset($edition, SITE_CHARSET, "utf-8"),
"bitrix_key_hash" => md5(CUpdateClient::GetLicenseKey()),
"site_name" => $APPLICATION->ConvertCharset(Option::get("main", "site_name"), SITE_CHARSET, "utf-8"),
"site_url" => $APPLICATION->ConvertCharset(Option::get("main", "server_name"), SITE_CHARSET, "utf-8"),
"email_default" => $APPLICATION->ConvertCharset(Option::get("main", "email_from"), SITE_CHARSET, "utf-8"),
"action" => $action,
)
);
fwrite($socket, "POST /rest/
bitrix/installs HTTP/1.1\r\n");
fwrite($socket, "Host: bi.aspro.ru\r\n");
fwrite($socket, "Content-type: application/x-www-form-urlencoded\r\n");
fwrite($socket, "Content-length:".strlen($data)."\r\n");
fwrite($socket, "Accept:*/*\r\n");
fwrite($socket, "User-agent:
Bitrix Installer\r\n");
fwrite($socket, "Connection:Close\r\n");
fwrite($socket, "\r\n");
fwrite($socket, "$data\r\n");
fwrite($socket, "\r\n");
$answer = '';
while(!feof($socket)){
$answer.= fgets($socket, 4096);
}
fclose($socket);
}
}
}