Nmap Development mailing list archives

a use pattern for nmap --- filtering for live hosts


From: Bennett Todd <bet () rahul net>
Date: Fri, 23 Mar 2007 03:39:17 +0000

Suppose you've got a source command that generates a list of hosts
you should be interested in --- for some moderately expensive scan,
and with some depressing percentage of dead hosts in the mix.
Between the generator and the scanner, you can

  nmap -sP -iL - | awk '/appears to be up/{print $2}'

for a fast filter to sort out the deadwood.

-Bennett

Attachment: _bin
Description:


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

Current thread: