1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-02 05:30:19 +00:00

Fixed an integer overflow in masks not skipped when loaded from file

This commit is contained in:
jsteube 2017-08-26 14:40:53 +02:00
parent 2bc2137203
commit f6fe5657a3
2 changed files with 7 additions and 2 deletions

View File

@ -26,6 +26,7 @@
- Fixed a missing salt length value in benchmark mode for SIP
- Fixed an invalid progress value in status view if words from the base wordlist get rejected because of length
- Fixed an integer overflow in innerloop_step and innerloop_cnt variables
- Fixed an integer overflow in masks not skipped when loaded from file
- Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
- Fixed a problem with changed current working directory, for instance by using --restore together with --remove
- Fixed a problem with the conversion to the $HEX[] format: convert/hexify also all passwords of the format $HEX[]

View File

@ -117,13 +117,17 @@ static int inner2_loop (hashcat_ctx_t *hashcat_ctx)
* Update attack-mode specific stuff based on mask
*/
mask_ctx_update_loop (hashcat_ctx);
const int rc_mask_ctx_update_loop = mask_ctx_update_loop (hashcat_ctx);
if (rc_mask_ctx_update_loop == -1) return 0;
/**
* Update attack-mode specific stuff based on wordlist
*/
straight_ctx_update_loop (hashcat_ctx);
const int rc_straight_ctx_update_loop = straight_ctx_update_loop (hashcat_ctx);
if (rc_straight_ctx_update_loop == -1) return 0;
// words base