⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wwwboardpwd.nasl

📁 漏洞扫描源码,可以扫描linux,windows,交换机路由器
💻 NASL
字号:
## This cgi abuse script was written by Jonathan Provencher# Ce script de scanning de cgi a ete ecrit par Jonathan Provencher# <druid@balistik.net>#if(description){ script_id(10321); script_bugtraq_id(649, 12453); script_version ("$Revision: 38 $"); script_cve_id("CVE-1999-0953");  name["english"] = "wwwboard passwd.txt"; name["francais"] = "wwwboard passwd.txt"; script_name(english:name["english"], francais:name["francais"]);  desc["english"] = "Synopsis :The remote web server contains a CGI application that is prone toinformation disclosure. Description :The remote host is running WWWBoard, a bulletin board system writtenby Matt Wright.This board system comes with a password file (passwd.txt) installednext to the file 'wwwboard.html'.  An attacker may obtain the contentof this file and decode the password to modify the remote www board. See also :http://archives.neohapsis.com/archives/bugtraq/1998_3/0746.htmlhttp://archives.neohapsis.com/archives/bugtraq/1999-q3/0993.htmlSolution : Configure the wwwadmin.pl script to change the name and location of'passwd.txt'. Risk factor : Medium / CVSS Base Score : 4 (AV:R/AC:L/Au:NR/C:P/A:N/I:N/B:C)"; script_description(english:desc["english"]);  summary["english"] = "Checks for the presence of /wwwboard/passwd.txt"; summary["francais"] = "V閞ifie la pr閟ence de /wwwboard/passwd.txt";  script_summary(english:summary["english"], francais:summary["francais"]);  script_category(ACT_GATHER_INFO);   script_copyright(english:"This script is Copyright (C) 1999 Jonathan Provencher",		francais:"Ce script est Copyright (C) 1999 Jonathan Provencher"	);	 family["english"] = "CGI abuses"; family["francais"] = "Abus de CGI"; script_family(english:family["english"], francais:family["francais"]); 	 script_dependencie("find_service.nes", "no404.nasl"); script_require_ports("Services/www", 80); script_exclude_keys("Settings/disable_cgi_scanning"); exit(0);}## The script code starts here#include("http_func.inc");include("http_keepalive.inc");port = get_http_port(default:80);foreach dir(cgi_dirs()){ res = http_keepalive_send_recv(port:port, data:http_get(port:port, item:dir + "/wwwboard.html"), bodyonly:TRUE); if (res == NULL )exit(0); if ( "wwwboard.pl" >< res ) { res = http_keepalive_send_recv(port:port, data:http_get(port:port, item:dir + "/passwd.txt"), bodyonly:TRUE); if ( strlen(res) && egrep(pattern:"^[A-Za-z0-9]*:[a-zA-Z0-9-_.]$", string:res))	{	 security_warning(port);	 exit(0);	} }}

⌨️ 快捷键说明

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