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

Missing minikerberos.pkinit #6

Closed
Zamanry opened this issue Nov 11, 2022 · 1 comment
Closed

Missing minikerberos.pkinit #6

Zamanry opened this issue Nov 11, 2022 · 1 comment

Comments

@Zamanry
Copy link

Zamanry commented Nov 11, 2022

Python version: Python 3.9
OS: Kali Linux 2021.XX
PKINIT Status: Worked with Rubeus

I encountered the error from minikerberos.pkinit import PKINIT missing. I had installed oscrypto and minikerberos and also did python -m pip install -r requirements.txt to no avail. I tried sudo and no sudo adaptions also to no avail. In the end, I found that uninstalling minikerberos and installing from their GitHub repository succeeded.

Adding this issue to note the workaround for future reference and closing due to likely pip being out-of-date.

@Zamanry Zamanry closed this as completed Nov 11, 2022
@digitalohm
Copy link

Ressurecting this one

I'm getting a similar error:

/PKINITtools/gets4uticket.py", line 17, in <module>
    from minikerberos.common.url import KerberosClientURL, kerberos_url_help_epilog
ModuleNotFoundError: No module named 'minikerberos.common.url'

I've run pip3 install impacket minikerberos per the docs and pip3 list shows

minikerberos                   0.4.0

The command I'm attempting to execute is

┌──(venv)─(user@tehbox)-[~/PKINITtools]
└─$ KRB5CCNAME=out.ccache python3 gets4uticket.py kerberos+ccache://tehdomain.com\\tehdc\$:out.ccache@tehdc.tehdomain.com cifs/tehdc.tehdomain.com@tehdomain.com target-user@tehdomain.com targetuser.ccache -v

any ideas on solving this one?

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

2 participants