当我尝试打开时websploit
,出现以下错误消息:
peter@peter-Satellite-C855:~$ sudo su
[sudo] password for peter:
root@peter-Satellite-C855:/home/peter# websploit
Traceback (most recent call last):
File "/usr/bin/websploit", line 55, in <module>
from modules import arp_poisoner
File "/usr/share/websploit/modules/arp_poisoner.py", line 11, in <module>
from scapy.all import *
ImportError: No module named scapy.all
root@peter-Satellite-C855:/home/peter#
如何解决这个问题?
答案1
python-scapy
通过在终端中运行以下命令来安装该包:
sudo apt-get install python-scapy
答案2
use
su
apt-get install python2
apt-get install pip2
pip2 install scapy