HOME>>>>>>>>>

File http-userdir-enum

脚本使用类型: portrule
脚本所属分类: auth, intrusive
脚本下载地址: http://nmap.org/svn/scripts/http-userdir-enum.nse

User Summary

Attempts to enumerate valid usernames on web servers running with the mod_userdir module or similar enabled.

The Apache mod_userdir module allows user-specific directories to be accessed using the http://example.com/~user/ syntax. This script makes http requests in order to discover valid user-specific directories and infer valid usernames. By default, the script will use Nmap's nselib/data/usernames.lst. An HTTP response status of 200 or 403 means the username is likely a valid one and the username will be output in the script results along with the status code (in parentheses).

This script makes an attempt to avoid false positives by requesting a directory which is unlikely to exist. If the server responds with 200 or 403 then the script will not continue testing it.

CVE-2001-1013: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2001-1013.

Script Arguments

userdir.users

The filename of a username list.

limit

The maximum number of users to check.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

http.max-cache-size, http.max-pipeline, http.pipeline, http.useragent

See the documentation for the http library.

Example Usage

执行格式

nmap -sV --script=http-userdir-enum <target>

Script Output

80/tcp open  http    syn-ack Apache httpd 2.2.9
|_ apache-userdir-enum: Potential Users: root (403), user (200), test (200)

Requires


Author: jah

License: VER007 整理 http://www.ver007.com