mycio_detect.nasl
来自「漏洞扫描源码,可以扫描linux,windows,交换机路由器」· NASL 代码 · 共 68 行
NASL
68 行
## Copyright 2001 by Noam Rathaus <noamr@securiteam.com> ## See the Nessus Scripts License for details##if(description){ script_id(10707); script_version ("$Revision: 38 $"); name["english"] = "McAfee myCIO detection"; script_name(english:name["english"]); desc["english"] = "We detected the presence of McAfee's myCIO HTTP Server.The server provides other clients on the network with antivirus updates. Several security vulnerabilities have been found in the past in the myCIO product.It is advisable that you block access to this port (TCP 6515) from untrusted networks.Solution: Configure your firewall to block access to this port (TCP 6515). Risk factor : Low"; script_description(english:desc["english"]); summary["english"] = "McAfee myCIO detection"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); family["english"] = "General"; script_family(english:family["english"]); script_copyright(english:"This script is Copyright (C) 2001 SecuriTeam"); script_dependencie("find_service.nes"); script_require_ports("Services/mycio", 6515); exit(0);}## The script code starts here#include("http_func.inc"); port = get_kb_item("Services/mycio"); if (!port) port = 6515; if (get_port_state(port)) { soctcp6515 = open_sock_tcp(port); if (soctcp6515) { data = http_head(item:"/", port:port); resultsend = send(socket:soctcp6515, data:data); resultrecv = http_recv(socket:soctcp6515); if ("myCIO" >< resultrecv) { security_warning(port:port); } close(soctcp6515); } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?