nmap
is a network detection and security auditing tool used to scan hosts on the network for information.
Syntax format: nmap [parameter]
Common parameters:
Example
# 扫描主机并跟踪路由: 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
This article is reprinted from https://xugaoxiang.com/2022/09/26/linux-cmds-106-nmap/
This site is for inclusion only, and the copyright belongs to the original author.