1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-13 19:28:56 +00:00

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

This commit is contained in:
philsmd 2017-03-22 12:09:15 +01:00
parent 5419ec7acd
commit 07c748e136
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF
2 changed files with 3 additions and 0 deletions

View File

@ -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
##

View File

@ -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);