Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #36360
    AvatarYorshme
    Participant

    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 You

    #36387
    diegodiego
    Moderator

    Hi 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!
    Diego

    #36580
    AvatarYorshme
    Participant

    Still 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:

    #36588
    diegodiego
    Moderator

    Hi Yorshme!
    You can run this commands:
    apt update
    apt install powershell-empire

    Then run this command in terminal:
    powershell-empire

    It will prompt for a password for database, just hit enter.

    Let me know if you get it.
    Diego

    #36635
    AvatarYorshme
    Participant

    Thanks Diego. It did work!!

    #36716
    diegodiego
    Moderator

    Hi Yorshme!
    Cool you got it!
    Diego

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.