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

Fixed error message in -a 9 mode with rules in case number of words from wordlist are not in sync with number of unique salts

This commit is contained in:
Jens Steube 2021-06-02 19:43:44 +02:00
parent ce8c121b50
commit 2f99ea8595
2 changed files with 8 additions and 1 deletions

View File

@ -18,6 +18,12 @@
- Added hash-mode: sha384(utf16le($pass).$salt)
- Added hash-mode: sha384($salt.utf16le($pass))
##
## Bugs
##
- Fixed error message in -a 9 mode with rules in case number of words from wordlist are not in sync with number of unique salts
##
## Improvements
##
@ -31,6 +37,7 @@
- RC4 Kernels: Improved performance by 20%+ for hash-modes Kerberos 5 (etype 23), MS Office (<= 2003) and PDF (<= 1.6) by using new RC4 code
- Status Screen: Show currently running kernel type (pure, optimized) and generator type (host, device)
- UTF8-to-UTF16: Replaced naive UTF8 to UTF16 conversion with true conversion for RAR3, AES Crypt, MultiBit HD (scrypt) and Umbraco HMAC-SHA1
##
## Technical
##

View File

@ -236,7 +236,7 @@ int straight_ctx_update_loop (hashcat_ctx_t *hashcat_ctx)
if ((status_ctx->words_cnt / straight_ctx->kernel_rules_cnt) != hashes->salts_cnt)
{
event_log_error (hashcat_ctx, "Number of words in wordlist %s is not in sync with number of salts (words: %" PRIu64 ", salts: %d)", straight_ctx->dict, status_ctx->words_cnt, hashes->salts_cnt);
event_log_error (hashcat_ctx, "Number of words in wordlist %s is not in sync with number of salts (words: %" PRIu64 ", salts: %d)", straight_ctx->dict, status_ctx->words_cnt / straight_ctx->kernel_rules_cnt, hashes->salts_cnt);
return -1;
}