mirror of
https://github.com/Pennyw0rth/NetExec.git
synced 2026-11-07 09:26:01 -10:00
Merge pull request #1254 from XedSama/dpapi-qol-empty
QoL DPAPI - Log message when empty
This commit is contained in:
1 file changed
+3
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user