check if user password expired for as-reproasting
parent
db5a36f4b5
commit
ce1293b12c
|
@ -195,6 +195,8 @@ class KerberosAttacks:
|
|||
seq_set_iter(reqBody, 'etype', supportedCiphers)
|
||||
message = encoder.encode(asReq)
|
||||
r = sendReceive(message, domain, self.kdcHost)
|
||||
elif e.getErrorCode() == constants.ErrorCodes.KDC_ERR_KEY_EXPIRED.value:
|
||||
return "Password of user " + userName + " expired but user doesn't require pre-auth"
|
||||
else:
|
||||
logging.debug(e)
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue