Skip to content

Commit

Permalink
secretsdump - changing log level for message displayed when account d…
Browse files Browse the repository at this point in the history
…oes not have sam hash information (#1860)
  • Loading branch information
gabrielg5 authored Dec 9, 2024
1 parent e9a47ff commit 0fd9f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impacket/examples/secretsdump.py
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ def dump(self):
userName = V[userAccount['NameOffset']:userAccount['NameOffset']+userAccount['NameLength']].decode('utf-16le')

if userAccount['NTHashLength'] == 0:
logging.error('SAM hashes extraction for user %s failed. The account doesn\'t have hash information.' % userName)
logging.debug('The account %s doesn\'t have hash information.' % userName)
continue

encNTHash = b''
Expand Down

0 comments on commit 0fd9f28

Please sign in to comment.