Merge pull request #1254 from XedSama/dpapi-qol-empty

QoL DPAPI - Log message when empty
This commit is contained in:
Alex authored and GitHub committed 2026-06-04 17:53:32 +02:00
commit b820f6d5fd
1 file changed
+3
+3
View File
@@ -2296,6 +2296,9 @@ class smb(connection):
if self.output_file:
self.output_file.close()
with open(self.output_file_template.format(output_folder="dpapi")) as f:
if sum(1 for _ in f) == 0:
self.logger.fail("No dpapi loot retrieved")
@requires_admin
def list_snapshots(self):