add new color for asreproast account smb
parent
d61d6f0339
commit
132332a8fd
|
@ -380,6 +380,14 @@ class smb(connection):
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
self.create_conn_obj()
|
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:
|
except FileNotFoundError as e:
|
||||||
self.logger.error('CCache Error: {}'.format(e))
|
self.logger.error('CCache Error: {}'.format(e))
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue