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

Commit 1863442

Browse files
authored
lsa secrets: dump file extension
The logger tell you LSA secrets are dump in a file named xxx.lsa ``` SMB x.x.x.x 445 FRSCWP0001 [+] Dumped 22 LSA secrets to /home/noraj/.cme/logs/host_x.x.x.x_2019-12-19_095552.lsa and /home/noraj/.cme/logs/host_x.x.x.x_2019-12-19_095552.cached ``` But in reality they are logged in xxx.screts. So just fixing the extension showed by the logger.
1 parent 3f2d39a commit 1863442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cme/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ def add_lsa_secret(secret):
864864
LSA.exportSecrets(self.output_filename)
865865

866866
self.logger.success('Dumped {} LSA secrets to {} and {}'.format(highlight(add_lsa_secret.secrets),
867-
self.output_filename + '.lsa', self.output_filename + '.cached'))
867+
self.output_filename + '.secrets', self.output_filename + '.cached'))
868868

869869
try:
870870
self.remote_ops.finish()

0 commit comments

Comments
 (0)