Alpine Linux image with nmap, libssl, and cacerts.
NMAP can sometimes be confusing or invasive to install. For
instance, what if you just want to know if a server can see an open port on
another server? Why install nmap for that when you could just run the following?
$ docker run --rm whiteadam/nmap -Pn -p 80 www.whiteadam.com Starting Nmap 7.12 ( https://nmap.org ) at 2016-06-22 19:17 UTC Nmap scan report for www.whiteadam.com (22.214.171.124) Host is up (0.044s latency). rDNS record for 126.96.36.199: s3-website-us-east-1.amazonaws.com PORT STATE SERVICE 80/tcp open http Nmap done: 1 IP address (1 host up) scanned in 0.36 seconds
Good news, that port is totally open!
Check Multiple Ports
$ docker run --rm whiteadam/nmap -Pn -p 80,443 www.whiteadam.com
Check SSL Ciphers
$ docker run --rm whiteadam/nmap --script ssl-enum-ciphers -p 443 www.amazon.com
Are you tired of launching servers and waiting for ssh to become available?
If so, GOOD NEWS! I made a script called
isup that will tell you when your server is ready to log into (or at least when the port is open.
Give it a try:
$ docker run --rm whiteadam/nmap isup whiteadam.com 80 Waiting for 80 on whiteadam.com to become available... Your server is up!
If you find anything, please open an issue on GitHub
- There is a known issue that the
--traceargument does not work. I'm looking
into a resolution.
Copyright © 2016 Adam White
All contents licensed under the MIT License