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

Segmentation fault in gettgtpkinit.py #16

Open
SebSecRepos opened this issue Mar 22, 2025 · 1 comment
Open

Segmentation fault in gettgtpkinit.py #16

SebSecRepos opened this issue Mar 22, 2025 · 1 comment

Comments

@SebSecRepos
Copy link

SebSecRepos commented Mar 22, 2025

Using gettgtpkinit.py i got a segmentation fault error, i will share some info of my usage context maybe it can be helpful.
I was doing a hack the box machine "Certified", and after got pfx certifieds i tried to get tgt using the following line

./gettgtpkinit.py -cert-pfx ./j3QgsguS.pfx 'certified.htb/management_svc' -pfx-pass 'M2gMj3xOdZxOeWeF7MuA' management_svc.ccache

2025-03-22 18:49:05,113 minikerberos INFO     Loading certificate and key from file
INFO:minikerberos:Loading certificate and key from file
zsh: segmentation fault  ./gettgtpkinit.py -cert-pfx './j3QgsguS.pfx'

GDB showed me the following, I hope you can help fix the problem.

Image

Image

@Gelzki
Copy link

Gelzki commented Mar 25, 2025

There is something wrong with the installation of minikerberos.
Solved mine by creating a python virtualenv and then pip install minikerberos.

Image

Image

Image

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