dirkjanm / PKINITtools

Tools for Kerberos PKINIT and relaying to AD CS
MIT License
610 stars 76 forks source link

ModuleNotFoundError: No module named 'minikerberos.common.url' #7

Open digitalohm opened 1 year ago

digitalohm commented 1 year ago

I'm getting an error similar to https://github.com/dirkjanm/PKINITtools/issues/6

/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?

I've tried uninstalling a few times, making sure its not using pip3 cache, and Ive also tried installing minikerbeos from the repo

Zamanry commented 1 year ago

My guess is maybe the new minikerberos updates broke. Last updated Feb 15 by pushing dev to master there:

My issue at #6 was created in November 2022. Maybe uninstall minikerberos and try using this commit instead from November 2022: