nmap的安装和使用方式
Linux 安装 nmap
使用 apt 安装:
# 更新软件包列表
sudo apt update
# 安装 nmap
sudo apt install nmap
# 验证安装
nmap --version
Linux 使用 nmap
# 扫描设备IP地址
sudo nmap -sn 10.42.0.0/24
Windows 安装 nmap
使用官方安装包:
- 访问 nmap 官方下载页面:https://nmap.org/download.html。
- 下载 Windows 安装包。
- 运行安装程序,按照向导完成安装。
Windows 使用 nmap
打开安装好的 nmap 程序,在Target框中输入192.168.137.0/24,在Profile中选择Ping Scan,点击Scan按钮进行扫描。