Skip to content

mateothegreat/docker-alpine-nmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

Port Server Protocol Description
22 sshd TCP Secure Shell (SSH)
25 SMTP TCP Simple Mail Transfer Protocol (SMTP)
53 named TCP/UDP Domain Name System (DNS)
3306 mysqld TCP mysql server
3307 mysqld TCP mysql server (TLS)
27017 mongod TCP default mongod instances.
27018 mongod TCP when running with --shardsvr
27019 mongod TCP when running with --configsvr

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

Releases

No releases published

Packages

No packages published