Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Compatibility with lsassy v3.1.3 #603

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Changes from all commits
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
lsassy v3.1.3
  • Loading branch information
Hackndo committed Jul 6, 2022
commit e8947d60d4d2ce125026eeafa64dc9b134198884
6 changes: 3 additions & 3 deletions cme/modules/lsassy_dump.py
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ def on_admin_login(self, context, connection):
context.log.error("Couldn't connect to remote host")
return False

dumper = Dumper(session, timeout=10).load(self.method)
dumper = Dumper(session, timeout=10, time_between_commands=7).load(self.method)
if dumper is None:
context.log.error("Unable to load dump method '{}'".format(self.method))
return False
@@ -66,13 +66,13 @@ def on_admin_login(self, context, connection):
if parsed is None:
context.log.error("Unable to parse lsass dump")
return False
credentials, tickets = parsed
credentials, tickets, masterkeys = parsed

file.close()
ImpacketFile.delete(session, file.get_file_path())
if credentials is None:
credentials = []
credentials = [cred.get_object() for cred in credentials if not cred.get_username().endswith("$")]
credentials = [cred.get_object() for cred in credentials if cred.ticket is None and cred.masterkey is None and not cred.get_username().endswith("$")]
credentials_unique = []
credentials_output = []
for cred in credentials:
Loading