当前位置:网站首页>Various error reporting solutions encountered by Kali during Empire installation

Various error reporting solutions encountered by Kali during Empire installation

2022-06-12 01:43:00 IMZ

download empire

First of all, we need to go to https://github.com/EmpireProject/Empire take empire Download and unzip

install - initialization

cd Empire/setup

./install.sh

./reset.sh

install flask The module succeeds but still fails flask Module error

  function reset.sh The following error occurs during initialization , Tip no flask modular

  And then use pip install flask Error is still reported after success , Tip no flask modular

 

This is because pip Version problem ,empire Support is python2, Therefore, the installed dependent modules should adopt pip2 Installation , Input pip -V View version , Found to be python3.8

install pip2

curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py
python2 get-pip.py 

Check the version again after the installation is successful ,pip The default version is pip2

If you need to specify pip The version of can be used pip2 or pip3

  Next you can install flask 了

pip2 install flask

 

You can see ,flask The module error has been resolved , However, the following errors are reported

 

This is because of the lack of cryotigraphy modular , There is no problem installing the missing modules , Paste the command directly , 

 pip2 install cryptography

 pip2 install iptools

 pip2 install netifaces

This is to make every module missing clearer , stay empire There is a requirement.txt, It records the required dependent modules , You can use the following command to install ,

Just execute the following command , There's a little bit of clarification here , If installed requirement.txt If there is an error in the module, it can be ignored , Because the purpose of installation is only to make mepire Run up , I found that all the modules in it do not need to be successfully installed

pip2 install -r requirements.txt

For example, the following module , An error is reported during installation , But running empire But the module is not required

install pydispatcher Module error

Tip the lack of pydispatch modular , install pydispatcher modular

pip2 install pydispatcher

The installation to pydispatcher An error was reported , As shown in the figure below

It should be due to pip2 The version is too low , Use the following command to upgrade  

 pip2 install --upgrade setuptools

 pip2 install pydispatcher

  install pydispatcher success

And then there was zlib_wrapper modular , Direct installation

pip2 install zlib_wrapper

 

install M2Crypto Module error

 

pip2 install M2Crypto

 

This error can be solved by referring to the following article , I'm installing python-m2crypto After that

https://www.cnblogs.com/shmily3929/p/8117258.html

apt-get install python-m2crypto

installed  python-m2crypto Then re initialize empire No more m2crypto 's report is wrong

Tip no macholib.Mach0 modular , Direct installation macholib that will do

pip2 install macholib

 

There is no problem with the installation of the following modules , Just install the missing module , Paste the command directly

pip2 install pefile

pip2 install xlrd

pip2 install xlutils

install pycrypto Report errors

Prompt yes Crypto.Cipher modular

install pycrypto There is an error , As shown in the figure below

pip2 install pycrypto

choose pycryptodome Module installation

pip2 install pycryptodome

 

Successful installation crypto Module error , In the end, there was no problem , Install the last few modules to run empire succeed

 

pip2 install dropbox

pip2 install pyminifier

./reset.sh

summary

Basically, errors are reported due to missing dependencies or incompatible versions , besides , Everyone has different versions and module dependencies , So we will definitely encounter errors in other aspects , But the solution and principle are basically the same . 

原网站

版权声明
本文为[IMZ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/163/202206120135334621.html