我把 python2.7 下的 scapy 搞定了,但是 3.5 版本的没搞定。启动 scapy 时出现以下错误:
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
WARNING: Windows support for scapy3k is currently in testing. Sniffing/sending/receiving packets should be working with WinPcap driver and Powershell. Create issues at
https://github.com/phaethon/scapyTraceback (most recent call last):
File "C:\Anaconda3\Scripts\\scapy", line 25, in <module>
interact()
File "C:\Anaconda3\lib\site-packages\scapy\
main.py", line 293, in interact
scapy_builtins = __import__("scapy.all",globals(),locals(),".").__dict__
File "C:\Anaconda3\lib\site-packages\scapy\
all.py", line 16, in <module>
from .arch import *
File "C:\Anaconda3\lib\site-packages\scapy\arch\
__init__.py", line 88, in <module>
from .windows import *
File "C:\Anaconda3\lib\site-packages\scapy\arch\windows\
__init__.py", line 198, in <module>
ifaces.load_from_powershell()
File "C:\Anaconda3\lib\site-packages\scapy\arch\windows\
__init__.py", line 149, in load_from_powershell
for i in get_windows_if_list():
File "C:\Anaconda3\lib\site-packages\scapy\arch\windows\
__init__.py", line 85, in get_windows_if_list
name, value = [ j.strip() for j in i.split(b':') ]
ValueError: too many values to unpack (expected 2)