怎么nmap主机是否有永恒之蓝的漏洞
时间: 2024-01-03 09:21:21 浏览: 38
您可以使用Nmap扫描主机是否有永恒之蓝的漏洞,具体步骤如下:
1. 打开终端并输入以下命令:
```
nmap -p 445 --script smb-vuln-ms17-010 <目标主机IP>
```
该命令将使用Nmap扫描目标主机的445端口,并使用`smb-vuln-ms17-010`脚本检查是否存在永恒之蓝漏洞。
2. 等待扫描完成。如果目标主机存在永恒之蓝漏洞,则输出结果将显示类似于以下内容:
```
Host script results:
| smb-vuln-ms17-010:
| VULNERABLE:
| Remote Code Execution vulnerability in Microsoft SMBv1 servers (ms17-010)
| State: VULNERABLE
| IDs: CVE:CVE-2017-0143
| Risk factor: HIGH
| A critical remote code execution vulnerability exists in Microsoft SMBv1
| servers (ms17-010).
```
如果目标主机不存在漏洞,则输出结果将显示类似于以下内容:
```
Host script results:
| smb-vuln-ms17-010:
| SAFE
```
请注意,在测试之前请务必取得合法授权。测试时请勿将工具用于非法用途。
相关推荐
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)