2023-12-01 03:41PM
1. 先在 docker 里面查看 nmap 版本
$ sudo docker search nmap
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
securecodebox/nmap A Docker image containing the NMAP security … 27
eclipse/ubuntu_jdk8 Ubuntu, JDK8, Maven 3, git, curl, nmap, mc, … 15 [OK]
eclipse/centos_jdk8 CentOS, JDK8, Maven 3, git, curl, nmap, mc, … 5 [OK]
eclipse/debian_jdk8 Debian, JDK8, Maven 3, git, curl, nmap, mc, … 1 [OK]
instrumentisto/nmap Nmap ("Network Mapper") Docker Image 27 [OK]
frapsoft/nmap nmap on Alpine Linux (6 MB) 3 [OK]
uzyexe/nmap nmap container image (size: 14.93MB) 32 [OK]
nmapxespeo/php_phalcon_couchbase PHP with Phalcon framework and Couchbase SDK 0
networkstatic/nmap Dockerized Nmap Port Scanner on Debian 6 [OK]
appsmanager/nmap 1
sneakerhax/nmap A Dockerized version of Nmap 0
sammascanner/nmap Nmap Scanner Will run and then save the res… 1 [OK]
dockerpinata/nmap-ncat 0
flibustier/nmap NMAP based on Alpine 2 [OK]
ssarioglu/nmap Nmap Scanner 0 [OK]
volterraio/nmap 0
blairy/nmap Lean, source compiled, scratch built, single… 1
nikhen/nmap This is a docker container including nmap in… 0
nmapxespeo/ruby-mysql-phraseapp-nodejs-nginx-passenger 0
bytesizedalex/nmap Alpine Linux image with nmap network scanner. 0 [OK]
cyberwatch/nmap Docker Image with Nmap build from source 5
tristanrobert/nmap-docker 0
zeronorth/nmap-job-runner 0
k0st/nmap Nmap on minimum, modern and secure Alpine di… 4 [OK]
n4n0m4c/nmap docker nmap 1 [OK]
2. 下载 nmap,我这里下载的是 uzyexe/nmap
$ sudo docker pull uzyexe/nmap
Using default tag: latest
latest: Pulling from uzyexe/nmap
b0dc45cd432d: Pull complete
364328af40b6: Pull complete
9c7abf28af64: Pull complete
635bab23d5f1: Pull complete
054e7786c1b6: Pull complete
5100e35a43b2: Pull complete
d908e559dfdc: Pull complete
aaed4af89abd: Pull complete
Digest: sha256:efd58ad449b98ae71ad1e1690af7e2c940117dd61a66c902da9d894fafa92e52
Status: Downloaded newer image for uzyexe/nmap:latest
docker.io/uzyexe/nmap:latest
3. 下载完 nmap 之后,可以使用一下
$ sudo docker run --rm uzyexe/nmap -p 1-1000 baidu.com
Starting Nmap 7.80 ( https://nmap.org ) at 2023-12-01 02:35 UTC
Nmap scan report for baidu.com (39.156.66.10)
Host is up (0.052s latency).
Other addresses for baidu.com (not scanned): 110.242.68.66
Not shown: 998 filtered ports
PORT STATE SERVICE
80/tcp open http
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 5.71 seconds
登录
请登录后再发表评论。
评论列表:
目前还没有人发表评论