scapy-python3改为kamene

新版使用scapy报错,无法识别IP()

Exception: 
        PIP package scapy-python3 used to provide scapy3k, which was a fork from scapy implementing python3 compatibility since 2016. This package was included in some of the Linux distros under name of python3-scapy. Starting from scapy version 2.4 (released in March, 2018) mainstream scapy supports python3. To reduce any confusion scapy3k was renamed to kamene. 
You should use either pip package kamene for scapy3k (see http://github.com/phaethon/kamene for differences in use) or mainstream scapy (pip package scapy, http://github.com/secdev/scapy).  

 因为新版中scapy-python3改为kamene,所以直接使用from scapy.all import * 会报上述错误。

解决方法就是安装kamene,然后导入from kamene.all import *

posted on 2020-07-27 10:50  Oliver·  阅读(1381)  评论(0编辑  收藏  举报