4

Linux常用命令-106:nmap

 1 year ago
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.
neoserver,ios ssh client

nmap 是一个网络探测和安全审核的工具,用来扫描网络中的主机以获取信息。

语法格式:nmap [参数]

常用参数:

a54b25e4838bca0a.png
# 扫描主机并跟踪路由:
sudo nmap --traceroute www.baidu.com
d17c9eb729e72db0.png
# 扫描主机的端口,如80和443
sudo nmap -p80,443 www.baidu.com
84a28eabc4610a05.png
# 设置端口范围
sudo nmap -p1024-10000 192.168.1.161
a58fb7a2d69d0959.png
# 详细扫描
sudo nmap -A 192.168.1.161
4f0cd59602cf0dc6.png
# 主机系统探测
sudo nmap -sV 192.168.1.161
6a6c62264052d18d.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK