1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Merge pull request #3376 from philsmd/token_length_exception_summary

warning about token length exception was showing incorrect values/percentage
This commit is contained in:
Jens Steube 2022-07-15 16:06:20 +02:00 committed by GitHub
commit eb9bb1c363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1897,7 +1897,7 @@ int hashes_init_stage1 (hashcat_ctx_t *hashcat_ctx)
if (hashes->parser_token_length_cnt > 0)
{
event_log_advice (hashcat_ctx, NULL); // we can guarantee that the previous line was not an empty line
event_log_advice (hashcat_ctx, "* Token length exception: %u/%u hashes", hashes->parser_token_length_cnt, hashes->parser_token_length_cnt + hashes->hashes_cnt_orig);
event_log_advice (hashcat_ctx, "* Token length exception: %u/%u hashes", hashes->parser_token_length_cnt, hashes->parser_token_length_cnt + hashes->hashes_cnt);
event_log_advice (hashcat_ctx, " This error happens if the wrong hash type is specified, if the hashes are");
event_log_advice (hashcat_ctx, " malformed, or if input is otherwise not as expected (for example, if the");
event_log_advice (hashcat_ctx, " --username option is used but no username is present)");