ntlm credential display bugfix

This commit is contained in:
VakarisZ 2019-06-07 10:12:02 +03:00
parent 2ab3be6437
commit 6c4a515442
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class T1110(AttackTechnique):
username = attempt['user'] username = attempt['user']
if attempt['lm_hash']: if attempt['lm_hash']:
return '%s ; LM hash %s ...' % (username, encryptor.dec(attempt['lm_hash'])[0:5]) return '%s ; LM hash %s ...' % (username, encryptor.dec(attempt['lm_hash'])[0:5])
if attempt['lm_hash']: if attempt['ntlm_hash']:
return '%s ; NTLM hash %s ...' % (username, encryptor.dec(attempt['ntlm_hash'])[0:20]) return '%s ; NTLM hash %s ...' % (username, encryptor.dec(attempt['ntlm_hash'])[0:20])
if attempt['ssh_key']: if attempt['ssh_key']:
return '%s ; SSH key %s ...' % (username, encryptor.dec(attempt['ssh_key'])[0:15]) return '%s ; SSH key %s ...' % (username, encryptor.dec(attempt['ssh_key'])[0:15])