Linux之nmap根据ip推测操作系统

# sudo nmap -O --osscan-guess --osscan-limit 172.16.205.231
Starting Nmap 7.60 ( https://nmap.org ) at 2022-07-07 15:23 CST
Nmap scan report for test (172.16.205.231)
Host is up (0.000021s latency).
Not shown: 996 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
111/tcp open  rpcbind
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6.32
OS details: Linux 2.6.32
Network Distance: 0 hops

OS detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 3.98 seconds


注释:
-o : 启用os检测
--osscan-limit: 将os检测限制为可能的目标
--osscan-guess : 推测操作系统检测结果

猜你喜欢

转载自blog.csdn.net/u010164190/article/details/125660109
今日推荐