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

📄 webalizer.nasl

📁 漏洞扫描源码,可以扫描linux,windows,交换机路由器
💻 NASL
字号:
## This script was written by Georges Dagousset <georges.dagousset@alert4web.com>## See the Nessus Scripts License for details#if(description){ script_id(10816);  script_bugtraq_id(3473); script_version("$Revision: 38 $"); script_cve_id("CVE-2001-0835"); name["english"] = "Webalizer Cross Site Scripting Vulnerability"; script_name(english:name["english"]); desc["english"] = "Webalizer have a cross-site scripting vulnerability,that could allow malicious HTML tags to be injectedin the reports generated by the Webalizer.Solution:Upgrade to Version 2.01-09 and change the directory in 'OutputDir'Risk factor : High"; script_description(english:desc["english"]); summary["english"] = "Checks for the Webalizer version"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2001 Alert4Web.com"); family["english"] = "Gain root remotely"; script_family(english:family["english"]); script_dependencie("http_version.nasl"); script_require_ports("Services/www", 80); exit(0);}## The script code starts here#include("http_func.inc");include("http_keepalive.inc");dir[0] = "/usage/";	#Standard directorydir[1] = "/webalizer/";	#Popular directoryport = get_http_port(default:80);if (get_port_state(port)){ for (i = 0; dir[i] ; i = i + 1) {  req = http_get(item:dir[i], port:port);  buf = http_keepalive_send_recv(port:port, data:req);  if ("Generated by The Webalizer" >< buf)   {    if (egrep(pattern:"Generated by The Webalizer  Ver(\.|sion) ([01]\.|2\.00|2\.01( |\-0[0-6]))", string:buf))    {     security_hole(port:port);    }    exit(0);   } }}

⌨️ 快捷键说明

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