Quick way to run nmap where ever you have Docker installed.
My common search is:
nmap -v -sn -n 192.168.1.0/24 -oG - | awk '/Status: Down/{print $2}'
So with the docker run, that would look like:
docker run --rm jknsware/docker-nmap -v -sn -n 192.168.1.0/24 -oG - | awk '/Status: Down/{print $2}'
Other examples would be:
# -v Verbose, -A OS detection, version detection, script scanning, and traceroute
nmap -v -A scanme.nmap.org
# -v Verbose, -sn Ping scan
nmap -v -sn 192.168.0.0/16 10.0.0.0/8
# -v Verbose, -iR Random targets <num hosts>, -Pn Treat all hosts as online, -p Port 80
nmap -v -iR 10000 -Pn -p 80
Content type
Image
Digest
Size
5 MB
Last updated
over 8 years ago
docker pull jknsware/docker-nmap