netdiscover

Netdiscover is an active/passive address reconnaissance tool, mainly developed for those wireless networks without dhcp server, when you are wardriving. It can be also used on hub/switched networks.

Built on top of libnet and libpcap, it can passively detect online hosts, or search for them, by actively sending ARP requests.

Netdiscover can also be used to inspect your network ARP traffic, or find network addresses using auto scan mode, which will scan for common local networks.

Netdiscover uses the OUI table to show the vendor of the each MAC address discovered and is very useful for security checks or in pentests.

Options

OptionDescription
-i devicenetwork device used
-r rangescan a given range instead of auto scan. 192.168.6.0/24,/16,/8
-l filescan the list of ranges contained into the given file
-ppassive mode, do not send anything, only sniff
-m filescan a list of known MACs and host names
-F filtercustomize pcap filter expression (default: “arp”)
-s timetime to sleep between each ARP request (milliseconds)
-c countnumber of times to send each ARP request (for nets with packet loss)
-n nodelast source IP octet used for scanning (from 2 to 253)
-dignore home config files for autoscan and fast mode
-fenable fastmode scan, saves a lot of time, recommended for auto
-Pprint results in a format suitable for parsing by another program and stop after active scan
-Lsimilar to -P but continue listening after the active scan is completed
-NDo not print header. Only valid when -P or -L is enabled.
-Senable sleep time suppression between each request (hardcore mode)