Security Basics mailing list archives

Re: Finding web servers with nmap


From: "Gaddis, Jeremy L." <jeremy () linuxwiz net>
Date: Fri, 02 Dec 2005 22:12:27 -0500

Jonathan Loh wrote:
How about nmap A.B.C.Start-Finish | sed -n -e '/^Int/p' -e '/^80/p'

# echo Hosts with port 80 open... ; nmap -sS -p 80 10.10.10.0/24 -oG - | grep open | awk '{ print $2 }'
Hosts with port 80 open...
10.10.10.1
10.10.10.5
10.10.10.8
10.10.10.17
10.10.10.254

That's a one-liner, it will probably be wrapped above.

See "nmap -h" for what the command-line options do.

-j

--
Jeremy L. Gaddis, GCWN
http://www.jeremygaddis.com/

"In theory, theory and reality are the same. In reality, they're different."


Current thread: