Sign inSign up

mateothegreat/docker-alpine-nmap

By mateothegreat

Updated almost 8 years ago

nmap container for kubernetes & such

Image
0

100K+

mateothegreat/docker-alpine-nmap repository overview

Clickity click Twitter Follow Skype Contact

nmap container for kubernetes & such

k8 by example -- straight to the point, simple execution.

kubernetes port scannin'

$ kubectl run --image=appsoa/docker-alpine-nmap --rm -i -t nm -- -Pn -p9200,9300 elasticsearch.es elasticsearch-discovery.es

Starting Nmap 7.40 ( https://nmap.org ) at 2018-02-03 16:54 UTC

Nmap scan report for elasticsearch.es (10.15.248.94)
Host is up (0.0013s latency).

rDNS record for 10.15.248.94: elasticsearch.es.svc.cluster.local

PORT     STATE    SERVICE
9200/tcp open     wap-wsp
9300/tcp filtered vrace

Nmap scan report for elasticsearch-discovery.es (10.15.252.251)
Host is up (0.00018s latency).

rDNS record for 10.15.252.251: elasticsearch-discovery.es.svc.cluster.local

PORT     STATE    SERVICE
9200/tcp filtered wap-wsp
9300/tcp open     vrace

Nmap done: 2 IP addresses (2 hosts up) scanned in 1.41 seconds

docker run'in

[matthew@centos-1 ~]$ docker run --rm -it appsoa/docker-alpine-nmap -Pn -p80,443 google.com

Starting Nmap 7.40 ( https://nmap.org ) at 2018-02-03 16:47 UTC
Nmap scan report for google.com (209.85.147.139)
Host is up (0.0015s latency).
rDNS record for 209.85.147.139: jg-in-f139.1e100.net
PORT    STATE SERVICE
80/tcp  open  http
443/tcp open  https

Nmap done: 1 IP address (1 host up) scanned in 0.28 seconds

Common Ports

PortServerProtocolDescription
22sshdTCPSecure Shell (SSH)
25SMTPTCPSimple Mail Transfer Protocol (SMTP)
53namedTCP/UDPDomain Name System (DNS)
3306mysqldTCPmysql server
3307mysqldTCPmysql server (TLS)
27017mongodTCPdefault mongod instances.
27018mongodTCPwhen running with --shardsvr
27019mongodTCPwhen running with --configsvr

http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml

Tag summary

Content type

Image

Digest

Size

6.9 MB

Last updated

almost 8 years ago

docker pull mateothegreat/docker-alpine-nmap