4
Linux常用命令-106:nmap
source link: https://xugaoxiang.com/2022/09/26/linux-cmds-106-nmap/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
nmap
是一个网络探测和安全审核的工具,用来扫描网络中的主机以获取信息。
语法格式:nmap [参数]
常用参数:
# 扫描主机并跟踪路由:
sudo nmap --traceroute www.baidu.com
# 扫描主机的端口,如80和443
sudo nmap -p80,443 www.baidu.com
# 设置端口范围
sudo nmap -p1024-10000 192.168.1.161
# 详细扫描
sudo nmap -A 192.168.1.161
# 主机系统探测
sudo nmap -sV 192.168.1.161
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK