Kali下安装Empire的报错问题

今天在尝试Kali下安装Empire
项目地址

1
https://github.com/EmpireProject/Empire/
1
2
cd setup/
sudo./install.sh

之后./empire失败,报了大致这样的错

1
2
3
4
5
6
Traceback (most recent call last):
  File "./empire", line 13, in <module>
    from lib.common import empire, helpers
  File "/misc/tools/Empire/lib/common/empire.py", line 14, in <module>
    from pydispatch import dispatcher
ImportError: No module named pydispatch

解决方案

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
python -m pip install iptools

python -m pip install netifaces

python -m pip install pydispatch

python -m pip install pydispatcher

python -m pip install zlib_wrapper

python -m pip install macholib

python -m pip install xlrd

python -m pip install xlutils

python -m pip install pyminifier

python -m pip install dropbox

安装上述缺失包后,执行下列命令即可

1
2
cd setup/
sudo./reset.sh