xedus_detect.nasl

来自「漏洞扫描源码,可以扫描linux,windows,交换机路由器」· NASL 代码 · 共 57 行

NASL
57
字号
##  This script was written by David Maciejak <david dot maciejak at kyxar dot fr>## Ref: James Bercegay of the GulfTech Security Research Team# This script is released under the GNU GPLv2if(description){  script_id(14644);#  script_bugtraq_id(11071);  script_version("$Revision: 116 $");  script_name(english:"Xedus detection");  desc["english"] = "The remote host runs Xedus Peer to Peer webserver, it providesthe ability to share files, music, and any other media, as well as create robust and dynamic web sites, which can feature database access, file system access, with full .net support. 	Risk factor : Low";  script_description(english:desc["english"]);  script_summary(english:"Checks for presence of Xedus");  script_category(ACT_GATHER_INFO);  script_copyright(english:"This script is Copyright (C) 2004 David Maciejak");  script_family(english:"Peer-To-Peer File Sharing");  script_require_ports("Services/www", 4274);  script_dependencies("httpver.nasl");  exit(0);}include("http_func.inc");include("http_keepalive.inc");exit(0); # FP-proneport = 4274;if(!get_port_state(port))exit(0); soc = http_open_socket(port); if(soc) {  buf = http_get(item:"/testgetrequest.x?param='free%20openvas'", port:port);  send(socket:soc, data:buf);  rep = http_recv(socket:soc);  if(egrep(pattern:"free openvas", string:rep))  {    set_kb_item(name:string("xedus/",port,"/running"),value: TRUE);    set_kb_item(name:"Services/www/" + port + "/embedded", value:TRUE);    security_note(port);  }  http_close_socket(soc); }exit(0);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?