Nmap不返回网络协议

时间:2020-01-07 21:39:21

标签: nmap python

我正在Python中使用Nmap并运行以下命令:

import nmap

nm = nmap.PortScanner()
nm.all_hosts()  # returns 127.0.0.1
nm['127.0.0.1'].all_protocols() #  returns an empty list []

我认为网络协议始终必须是TCP或UDP 但是我怎么不能从Nmap中得到什么呢?

0 个答案:

没有答案