From 4b5b4b41af9679336c08719f80415362e6f8a987 Mon Sep 17 00:00:00 2001 From: Skelsec Date: Fri, 3 Mar 2023 13:30:40 +0100 Subject: [PATCH] kerberos ticket output fix --- pypykatz/pypykatz.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pypykatz/pypykatz.py b/pypykatz/pypykatz.py index 41eb38e..cc1f83e 100644 --- a/pypykatz/pypykatz.py +++ b/pypykatz/pypykatz.py @@ -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: @@ -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)