-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError for msldap when starting pypykatz #117
Comments
based on your traceback, you are using pypykatz version
This example might not be fully correct as I just wrote it based on memory, bu you get the idea |
I have the same issue with version 0.6.3 |
└─$ pypykatz |
Tried on a fresh ubuntu wsl installation. |
can confirm |
Hey everyone, Minikerberos released a new version yesterday. The problem is related to the new version.
Or, you can use POC : root@41ba79158f1b:/# python3 -m pipx install pypykatz
installed package pypykatz 0.6.3, installed using Python 3.9.2
These apps are now globally available
- pypykatz
⚠️ Note: '/root/.local/bin' is not on your PATH environment variable. These apps will not be globally accessible
until your PATH is updated. Run `pipx ensurepath` to automatically add it, or manually modify your PATH in your
shell's config file (i.e. ~/.bashrc).
done! ✨ 🌟 ✨
root@41ba79158f1b:/# python3 -m pipx inject pypykatz minikerberos==0.3.5
injected package minikerberos into venv pypykatz
done! ✨ 🌟 ✨
root@41ba79158f1b:/# /root/.local/bin/pypykatz
usage: pypykatz [-h] [-v] {live,lsa,registry,crypto,kerberos,dpapi,ldap,rdp,parser,smb,version,banner,logo} ...
pypykatz: error: the following arguments are required: command
root@41ba79158f1b:/# ImportError: cannot import name 'KerberosUserEnum' from 'minikerberos.security' (/usr/local/lib/python3.9/dist-packages/minikerberos-0.4.0-py3.9.egg/minikerberos/security.py)
root@41ba79158f1b:/pypykatz# python3 -m pip install minikerberos==0.3.5
Collecting minikerberos==0.3.5
[...TRUNCATED DATA...]
Successfully installed minikerberos-0.3.5
root@41ba79158f1b:/pypykatz# pypykatz
usage: pypykatz [-h] [-v] {live,lsa,registry,crypto,kerberos,dpapi,ldap,rdp,parser,smb,version,banner,logo} ...
pypykatz: error: the following arguments are required: command |
Thank you very much @QU35T-code. Also the hint with pipx - tried it out and works like a charm. |
Hello everyone! |
Disclaimer: Windows 10 22H2 Using Windows Terminal (PowerShell): To create a virtual environment called "pypykatz_venv"
Err...I googled around a bit and found the command: Checking "pip list" returns: Any ideas? |
@InfiniteBSOD the issue is not on your end, what you did looks good. I was planning on uploading the new version of pypykatz when minikerberos package was released but that didn't happen until now. |
Now with the new version is up on both pyp and github (and in the releases) pls someone on this thread verify it is solved so I can close this. |
Tests with the new release seems to works fine. We can close this issue ! |
When starting pypykatz i receive an
ModuleNotFoundError
formsldap
. The package is of course installed.This are my installed packages:
The text was updated successfully, but these errors were encountered: