TarlogicSecurity / kerbrute

An script to perform kerberos bruteforcing by using impacket
GNU General Public License v3.0
424 stars 73 forks source link

SessionKeyDecryptionError #2

Closed n1ghtfox closed 4 years ago

n1ghtfox commented 4 years ago

Traceback (most recent call last): File "kerbrute.py", line 31, in from impacket.krb5.kerberosv5 import getKerberosTGT, KerberosError, SessionKeyDecryptionError ImportError: cannot import name SessionKeyDecryptionError

zer1t0 commented 4 years ago

I'm unable to reproduce the issue. Could it be due to an outdated version of Impacket?

aguilbau commented 4 years ago

I can reproduce when running kerbrute with python2, this is because the shebang is #!/usr/bin/env python

mindrepo commented 4 years ago

Is there a way to fix this?

zer1t0 commented 4 years ago

I can't reproduce neither with python3 nor python2. Could you provide me more information, such as the exactly version of python and impacket?

In my tests I used python 3.7.3 and python 2.7.16, both with impacket version v0.9.21

mindrepo commented 4 years ago

I know it was version 3.6.6 and 2.7.15 of Python not sure about version of impacket. But, I think the issue was on my side. I'm running a Kali VM for OSCP and just found out I'm using an outdated version. They have two different versions available for download. I was having problems with other packages as well and chatted with support last night. Haven't spun up the new version yet, but I'll try it again later today when I do.