Docker 运行Nmap

Docker 运行Nmap

拉取镜像

docker pull instrumentisto/nmap

设置别名

alias nmap='docker run -it --rm --network=host  --name nmap instrumentisto/nmap:latest'

运行nmap

nmap -sS  xxx.xxx.xxx.xxx

结果

iShot_2024-08-20_17.52.05.png