fixes #1199: introduce special bit (8) in message_pair (HCCAPX) to indicate if replay counter match

pull/1201/head
philsmd 7 years ago
parent 5419ec7acd
commit 07c748e136
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

@ -6,6 +6,7 @@
- WPA cracking: Added support for WPA/WPA2 handshake AP nonce automatic error correction
- WPA cracking: Added parameter --nonce-error-corrections to configure range of error correction
- WPA cracking: Added support for a special bit (bit 8) of the message_pair that indicates if replay counters did match
- Added visual indicator to the status screen to indicate if the checkpoint quit feature is enabled
##

@ -2785,6 +2785,8 @@ int wpa_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE_UNUSED
memcpy (wpa->orig_nonce_ap, in.nonce_ap, 32);
memcpy (wpa->orig_nonce_sta, in.nonce_sta, 32);
in.message_pair &= 0x7f; // ignore the highest bit (it is used to indicate if the replay counters did match)
if (wpa->message_pair_chgd == true)
{
if (wpa->message_pair != in.message_pair) return (PARSER_HCCAPX_MESSAGE_PAIR);

Loading…
Cancel
Save