Skip to content
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

ImportError: cannot import name 'KerberosUserEnum' from 'minikerberos.security' #14

Open
spicy-bear opened this issue Mar 15, 2024 · 2 comments

Comments

@spicy-bear
Copy link

erberoast ldap spn
Traceback (most recent call last):
File "/usr/local/bin/kerberoast", line 33, in
sys.exit(load_entry_point('kerberoast==0.2.0', 'console_scripts', 'kerberoast')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/kerberoast", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/user/.local/lib/python3.11/site-packages/kerberoast/kerberoast.py", line 15, in
from minikerberos.security import KerberosUserEnum, APREPRoast, Kerberoast
ImportError: cannot import name 'KerberosUserEnum' from 'minikerberos.security' (/home/user/.local/lib/python3.11/site-packages/minikerberos/security.py)

@chosenonehacks
Copy link

I had the same issue after installing with pip3 install kerberoast

@cowsaymoe
Copy link

The issue is not with kerberoast, but a dependency minikerberos. Solved by downgrading skelsec/pypykatz#117 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants