简介
nmap 是用来探测计算机网络上的主机和服务的一种安全扫描器。为了绘制网络拓扑图,Nmap的发送特制的数据包到目标主机,然后对返回数据包进行分析。Nmap是一款枚举和测试网络的强大工具。
Nmap包含四项基本功能:
1,主机发现(Host Discovery)
2,端口扫描(Port Scanning)
3,版本侦测(Version Detection)
4,操作系统侦测(Operating System Detection)
功能演示:
1,主机发现(Host Discovery)
nmap -sn www.ustc.edu.cn
2,端口扫描(Port Scanning)
nmap –sS –sU –T4 –top-ports 10 www.ustc.edu.cn
3,版本侦测(Version Detection)
nmap -sV www.ustc.edu.cn
4,操作系统侦测(Operating System Detection)
nmap -O www.ustc.edu.cn
报错:
因为没有用root权限来执行
sudo nmap -O www.ustc.edu.cn
再输入密码