mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
Merge pull request #1201 from philsmd/master
fixes #1199: introduce special bit (8) in message_pair (HCCAPX) to indicate if replay counter match
This commit is contained in:
commit
0da8c479e0
@ -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…
Reference in New Issue
Block a user