Merge branch 'brute_force_report' into attack_pass_the_hash

This commit is contained in:
VakarisZ 2019-06-07 10:12:40 +03:00
commit 75d52a7ee7
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])