Skip to content

No module named 'Crypto' #12

@qu35t-code

Description

@qu35t-code

Steps to reproduce :

git clone https://github.com/micahvandeusen/gMSADumper.git
cd gMSADumper
python3 -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
python3 ./gMSADumper.py -d "cascade.local" -l "10.10.10.182" -u "r.thompson" -p "rY4n5eva"
python3 ./gMSADumper.py -d "cascade.local" -l "10.10.10.182" -u "r.thompson" -p "rY4n5eva"
Traceback (most recent call last):
  File "/workspace/gMSADumper/venv/lib/python3.11/site-packages/ldap3/utils/ntlm.py", line 500, in ntowf_v2
    from Crypto.Hash import MD4  # try with the Crypto library if present
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'

During handling of the above exception, another exception occurred:

Fix :

pip install pycryptodome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions