sneakerhax/nmap

By sneakerhax

Updated 2 months ago

A Dockerized version of Nmap

Image
Security
0

50K+

sneakerhax/nmap repository overview

Docker - Nmap (Kali Linux)

A Dockerized version of the tool Nmap

Running with Docker (Local build)

docker build -t nmap .

Build the container (locally)

docker run -it nmap <arguments> <target>

Run nmap with arguments

Running with Docker (Docker Hub)

docker run -it sneakerhax/nmap <arguments> <targets>

Start image pulled from Docker Hub and run Nmap with target

Using nse search function

docker run -it --entrypoint=bash sneakerhax\nmap
┌──(root💀f15991a37109)-[/]
└─# nse smb
smb-security-mode.nse
smb2-vuln-uptime.nse
smb-print-text.nse
---truncated---

Search for nse modules containing the string smb

DockerSlim

docker-slim build --target nmap:latest --http-probe=false --exec "nmap --script=http-title scanme.nmap.org"

command to build a smaller image with DockerSlim from already built nmap image (will generate nmap.slim image)

Tag summary

Content type

Image

Digest

sha256:3e5e478b8

Size

105 MB

Last updated

2 months ago

docker pull sneakerhax/nmap