mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-27 02:18:21 +00:00
Allow user to override nonce_error_corrections regardless of information from message_pair
This commit is contained in:
parent
964cff951f
commit
632b6db5f9
@ -1305,7 +1305,6 @@ int module_hash_decode_postprocess (MAYBE_UNUSED const hashconfig_t *hashconfig,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
wpa->nonce_error_corrections = NONCE_ERROR_CORRECTIONS;
|
wpa->nonce_error_corrections = NONCE_ERROR_CORRECTIONS;
|
||||||
}
|
|
||||||
|
|
||||||
if (wpa->message_pair & (1 << 4))
|
if (wpa->message_pair & (1 << 4))
|
||||||
{
|
{
|
||||||
@ -1324,6 +1323,7 @@ int module_hash_decode_postprocess (MAYBE_UNUSED const hashconfig_t *hashconfig,
|
|||||||
wpa->nonce_error_corrections = 0;
|
wpa->nonce_error_corrections = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return (PARSER_OK);
|
return (PARSER_OK);
|
||||||
}
|
}
|
||||||
|
@ -1305,7 +1305,6 @@ int module_hash_decode_postprocess (MAYBE_UNUSED const hashconfig_t *hashconfig,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
wpa->nonce_error_corrections = NONCE_ERROR_CORRECTIONS;
|
wpa->nonce_error_corrections = NONCE_ERROR_CORRECTIONS;
|
||||||
}
|
|
||||||
|
|
||||||
if (wpa->message_pair & (1 << 4))
|
if (wpa->message_pair & (1 << 4))
|
||||||
{
|
{
|
||||||
@ -1324,6 +1323,7 @@ int module_hash_decode_postprocess (MAYBE_UNUSED const hashconfig_t *hashconfig,
|
|||||||
wpa->nonce_error_corrections = 0;
|
wpa->nonce_error_corrections = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return (PARSER_OK);
|
return (PARSER_OK);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user