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

📄 iis_bdir.nasl

📁 漏洞扫描源码,可以扫描linux,windows,交换机路由器
💻 NASL
字号:
## This script was written by John Lampe (j_lampe@bellsouth.net)### See the Nessus Scripts License for details#if(description){  script_id(10577); script_version ("$Revision: 38 $");  script_name(english:"Check for bdir.htr files");  desc["english"] = "The file bdir.htr is a default IIS files which can givea malicious user a lot of unnecessary information about your file system.  Specifically, the bdir.htr script allowsthe user to browse and create files on hard drive.  As thisincludes critical system files, it is highly possible thatthe attacker will be able to use this script to escalateprivileges and gain 'Administrator' access.Example,http://target/scripts/iisadmin/bdir.htr??c:\Solution: If you do not need these files, then delete them, otherwise use suitable access control lists to ensure thatthe files are not world-readable.Risk factor : Medium";  script_description(english:desc["english"]);  script_summary(english:"Check for existence of bdir.htr");  script_category(ACT_GATHER_INFO);  script_family(english:"Web Servers");  script_copyright(english:"By John Lampe....j_lampe@bellsouth.net");  script_dependencies("http_version.nasl");  script_require_ports("Services/www", 80);     exit(0);}## The script code starts hereinclude("http_func.inc");include("http_keepalive.inc");include("global_settings.inc");if ( report_paranoia < 2 ) exit(0);    port = get_http_port(default:80);sig = get_http_banner(port:port);if ( sig && "Server: Microsoft/IIS" >!< sig ) exit(0);if(get_port_state(port)) {    if(is_cgi_installed_ka(item:"/scripts/iisadmin/bdir.htr", port:port))    {        security_warning(port);        exit(0);    }}

⌨️ 快捷键说明

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