Nmap Development mailing list archives

RFE: Pseudo target for local network(s)


From: Thomas Henlich <thenlich () users sourceforge net>
Date: Fri, 16 May 2008 14:32:48 +0200

Hi,

it would be neat to have an option to tell nmap to scan all hosts on the
local net on a specified network interface, or on all active network
interfaces (excluding loopback), without having to specify the
addresses/masks myself (e.g. on mobile machines).

I propose a pseudo target (e. g. "*") for this. For example:

On a machine with two interfaces
eth0: 192.168.1.0/24 broadcast 192.168.1.255
eth1: 10.1.2.0/24 broadcast 10.1.2.255

the following commands should have these equivalents:
nmap -e eth0 * -> nmap -e eth0 192.168.1.0-254
nmap -e eth1 * -> nmap -e eth1 10.1.2.0-254
nmap * -> nmap 192.168.1.0-254 10.1.2.0-254

Regards,
 Thomas.

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: