Skip to content

Commit

Permalink
kerberos ticket output fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Skelsec committed Mar 3, 2023
1 parent 945454c commit 4b5b4b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pypykatz/pypykatz.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from pypykatz.commons.common import UniversalEncoder
from minidump.minidumpfile import MinidumpFile
from minikerberos.common.ccache import CCACHE
from minikerberos.common.kirbi import Kirbi
from pypykatz._version import __version__

class pypykatz:
Expand Down Expand Up @@ -325,7 +326,7 @@ def get_kerberos(self, with_tickets = True):
for cred in dec.credentials:
for ticket in cred.tickets:
for fn in ticket.kirbi_data:
self.kerberos_ccache.add_kirbi(ticket.kirbi_data[fn].native)
self.kerberos_ccache.add_kirbi(Kirbi(ticket.kirbi_data[fn]))

if cred.luid in self.logon_sessions:
self.logon_sessions[cred.luid].kerberos_creds.append(cred)
Expand Down

0 comments on commit 4b5b4b4

Please sign in to comment.