add new color for asreproast account smb

main
mpgn 2022-10-24 10:02:01 -04:00
parent d61d6f0339
commit 132332a8fd
1 changed files with 8 additions and 0 deletions

View File

@ -380,6 +380,14 @@ class smb(connection):
except:
pass
self.create_conn_obj()
except SessionKeyDecryptionError:
# for PRE-AUTH account
self.logger.error(u'{}\\{}{} {}'.format(domain,
self.username,
" account vulnerable to asreproast attack",
""),
color='yellow')
return False
except FileNotFoundError as e:
self.logger.error('CCache Error: {}'.format(e))
return False