[go: up one dir, main page]

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

Main #122

Merged
merged 2 commits into from
Mar 4, 2023
Merged

Main #122

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
kerberos ticket output fix
  • Loading branch information
Skelsec committed Mar 3, 2023
commit 4b5b4b41af9679336c08719f80415362e6f8a987
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