mirror of
https://github.com/Pennyw0rth/NetExec.git
synced 2026-11-07 09:26:01 -10:00
Drop the MSCache skip from the --dpapi LSA pass
This commit is contained in:
1 parent
74e9fe27ed
commit
b7565a2cbf
1 file changed
+2
-4
@@ -2416,10 +2416,8 @@ class smb(connection):
|
||||
if not quiet:
|
||||
self.logger.display("Dumping LSA secrets")
|
||||
self.output_filename = self.output_file_template.format(output_folder="lsa")
|
||||
if not quiet:
|
||||
# The DPAPI pass only needs DPAPI_SYSTEM: skip the cached domain logons (MSCache), each one costs remote registry reads
|
||||
LSA.dumpCachedHashes()
|
||||
LSA.exportCached(self.output_filename)
|
||||
LSA.dumpCachedHashes()
|
||||
LSA.exportCached(self.output_filename)
|
||||
LSA.dumpSecrets()
|
||||
LSA.exportSecrets(self.output_filename)
|
||||
if not quiet:
|
||||
|
||||
Reference in new issue
Block a user