- This topic has 5 replies, 2 voices, and was last updated 4 years, 7 months ago by Diego Pérez.
- AuthorPosts
- May 9, 2020 at 9:31 pm #36360YorshmeParticipant
Hi Zaid! I have a problem. I’ve upgrated Kali to 2020.1also installed Python 3 and now I have problems installing Empire;
Traceback (most recent call last):
File “./empire”, line 13, in
from lib.common import empire, helpers
File “/opt/Empire/lib/common/empire.py”, line 34, in
import agents
File “/opt/Empire/lib/common/agents.py”, line 68, in
import encryption
File “/opt/Empire/lib/common/encryption.py”, line 27, in
import M2Crypto
ImportError: No module named M2Crypto
Thank YouMay 10, 2020 at 6:18 am #36387Diego PérezModeratorHi Yorshme!
Please make sure you use the custom Kali Zaid made for this course.If you get the same error then install the needed packages manually, so:
1. Download the needed packages from the following links
http://ftp.us.debian.org/debian/pool/main/m/m2crypto/python-m2crypto_0.31.0-4_i386.deb
http://ftp.us.debian.org/debian/pool/main/p/python-typing/python-typing_3.6.6-1_all.deb
2. Navigate to the location where they are downloaded (probably downloads).
cd Downloads
3. Install the downloaded packages in the following order
dpkg -i python-typing_3.6.6-1_all.deb
dpkg -i python-m2crypto_0.31.0-4_i386.deb
I just tried this myself and it worked on the custom Kali 2020.
Let me know how it goes!
DiegoMay 12, 2020 at 1:29 am #36580YorshmeParticipantStill not working!
dpkg: error processing archive python-m2crypto_0.31.0-4_i386.deb (–install):
package architecture (i386) does not match system (amd64)
Errors were encountered while processing:May 12, 2020 at 6:59 am #36588Diego PérezModeratorHi Yorshme!
You can run this commands:
apt update
apt install powershell-empireThen run this command in terminal:
powershell-empireIt will prompt for a password for database, just hit enter.
Let me know if you get it.
DiegoMay 12, 2020 at 3:10 pm #36635YorshmeParticipantThanks Diego. It did work!!
May 13, 2020 at 7:41 am #36716Diego PérezModeratorHi Yorshme!
Cool you got it!
Diego - AuthorPosts
- You must be logged in to reply to this topic.