📄 sophos_installed.nasl
字号:
# This script was written by Jason Haar <Jason.Haar@trimble.co.nz>##if(description){ script_id(12215); script_version("$Revision: 1323 $"); name["english"] = "Sophos Anti Virus Check"; script_name(english:name["english"]); desc["english"] = "This plugin checks that the remote host has the Sophos Antivirus installed and that it is running.Solution : Make sure Sophos is installed and using the latest VDEFS.Risk factor : High"; script_description(english:desc["english"]); summary["english"] = "Checks that the remote host has Sophos Antivirus installed and then makes sure the latest Vdefs are loaded."; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2004 Jason Haar"); family["english"] = "Windows"; script_family(english:family["english"]); script_dependencies("secpod_reg_enum.nasl", "smb_enum_services.nasl"); script_require_keys("SMB/Registry/Enumerated", "SMB/svcs"); exit(0);}services = get_kb_item("SMB/svcs");if ( ! services ) exit(0);version = get_kb_item("SMB/Registry/HKLM/SOFTWARE/Sophos/SweepNT/Version");if ( ! version ) exit(0);## Checks to see if the service is running #if("[SWEEPSRV]" >!< services) { report = "The remote host has the Sophos antivirus installed, but itis not running.As a result, the remote host might be infected by viruses received byemail or other means. Solution : Enable the remote AntiVirus and configure it to check for updates regularly.Risk factor : Medium"; security_warning(port:port, data:report); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -