红联Linux门户
Linux帮助

使用nmap或者python-nmap时出现错误

发布时间:2015-11-25 10:30:36来源:linux网站作者:wangtaoking1

在Linux上面使用nmap和python-nmap时均出现以下错误,在网上找解决方案没找到,花了很多时间才解决这个问题。


错误信息如下:

shell模式下:Failed to find device eth0 which was referenced in /proc/net/route

python中:抛出PortScannerError


解决方案:将nmap更新至最新版本就不会出现问题了。

nmap官网:http://nmap.org

至于原因我也不是很清楚,不过至少能解决这个问题。


Linux常用网络工具:批量主机服务扫描之nmap:http://www.linuxdiyf.com/linux/12486.html

Linux常用网络工具:路由扫描之mtr:http://www.linuxdiyf.com/linux/12469.html

Linux常用网络工具:路由扫描之traceroute:http://www.linuxdiyf.com/linux/12468.html

Linux常用网络工具:hping高级主机扫描:http://www.linuxdiyf.com/linux/12449.html

Linux常用网络工具:fping主机扫描:http://www.linuxdiyf.com/linux/12439.html