From 0fd9f288cd2f551573850175c12593c6ac34b689 Mon Sep 17 00:00:00 2001 From: Gabriel Gonzalez Date: Mon, 9 Dec 2024 09:17:17 -0300 Subject: [PATCH] secretsdump - changing log level for message displayed when account does not have sam hash information (#1860) --- impacket/examples/secretsdump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impacket/examples/secretsdump.py b/impacket/examples/secretsdump.py index 43b776218c..537c45dabe 100644 --- a/impacket/examples/secretsdump.py +++ b/impacket/examples/secretsdump.py @@ -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''