HOME>>>>>>>>>

File broadcast-wpad-discover

脚本使用类型: prerule
脚本所属分类: broadcast, safe
脚本下载地址: http://nmap.org/svn/scripts/broadcast-wpad-discover.nse

User Summary

Retrieves a list of proxy servers on a LAN using the Web Proxy Autodiscovery Protocol (WPAD). It implements both the DHCP and DNS methods of doing so and starts by querying DHCP to get the address. DHCP discovery requires nmap to be running in privileged mode and will be skipped when this is not the case. DNS discovery relies on the script being able to resolve the local domain either through a script argument or by attempting to reverse resolve the local IP.

Script Arguments

broadcast-wpad-discover.getwpad

instructs the script to retrieve the WPAD file instead of parsing it

broadcast-wpad-discover.nodhcp

instructs the script to skip discovery using dhcp

broadcast-wpad-discover.nodns

instructs the script to skip discovery using DNS

broadcast-wpad-discover.domain

the domain in which the WPAD host should be discovered

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 --script broadcast-wpad-discover

Script Output

| broadcast-wpad-discover: 
|   1.2.3.4:8080
|_  4.5.6.7:3128

Requires


Author: Patrik Karlsson

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