Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 794 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 794 Bytes

SMAP IN DOCKER

Shodan nmap in Docker (smap)

How to use

Classical use

Create the Docker image

sudo docker build . -t smap

Run the Docker with your command

Example with 1.1.1.1

sudo docker run --rm smap 1.1.1.1

Output

Starting Nmap 9.99 ( https://nmap.org ) at 2022-05-24 12:27 UTC
Nmap scan report for sni.cloudflaressl.com (1.1.1.1)
Host is up.

PORT    STATE SERVICE  VERSION
53/tcp  open  domain?  
443/tcp open  https?   

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds

Using file

Create a volume from ./ressources

sudo docker run --rm -v $(pwd)/ressources:./data smap -iL /data/example.txt

Version

Version 1.0