knavesec / CredMaster

Refactored & improved CredKing password spraying tool, uses FireProx APIs to rotate IP addresses, stay anonymous, and beat throttling
939 stars 124 forks source link

Received error: ModuleNotFoundError: No module named 'plugins.o365' #17

Closed stevesec closed 1 year ago

stevesec commented 1 year ago

When running this with the "O365" plugin, receive an error stating: ModuleNotFoundError: No module named 'plugins.o365'.

Current Python version 3.10.6

Steps to reproduce:

  1. Git clone recent release
  2. Run command as normal python3 credmaster.py -u -p --access_key '' --secret_access_key ''
  3. Receive output

credmaster

knavesec commented 1 year ago

@stevesec Attempted to recreate this on a fresh VM but this worked fine for me. Steps:

  1. git clone https://github.com/knavesec/CredMaster
  2. cd CredMaster
  3. pip3 install -r requirements.txt
  4. python3 credmaster.py --access_key "key" --secret_access_key "key" -u users.txt -p passwords.txt --plugin o365

All functioned properly. I would recommend removing your instance and recloning the repo. If that doesn't work, there are a few things you can do to troubleshoot.

  1. Verify in the plugins folder there is an o365 folder
  2. Verify that in that o365 folder, there is an __init__.py file, as that is what that import_module function is looking for

If neither of those work, please let me know

stevesec commented 1 year ago

@knavesec seems like it was a Python build issue with my setup. Possibly python 3.10.6 build.

Thank you for your response.

knavesec commented 1 year ago

Glad it was resolved, thanks for the report!