1
mirror of https://github.com/hashcat/hashcat synced 2024-11-24 14:27:14 +01:00

Do not allocate memory segments for bitmap tables if we dont need it, for example in benchmark mode

This commit is contained in:
jsteube 2018-08-24 12:59:28 +02:00
parent f171633b8a
commit a3ee4d7188
2 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,7 @@
- Getting rid of OPTS_TYPE_HASH_COPY for Ansible Vault
- Add a tracker for salts, amplifier and iterations to status screen
- Add option --markov-hcstat2 to make it clear that the new hcstat2 format (compressed hcstat2gen output) must be used
- Do not allocate memory segments for bitmap tables if we dont need it, for example in benchmark mode
##
## Bugs

View File

@ -1237,6 +1237,8 @@ void user_options_preprocess (hashcat_ctx_t *hashcat_ctx)
user_options->show = false;
user_options->status = false;
user_options->status_timer = 0;
user_options->bitmap_min = 1;
user_options->bitmap_max = 1;
}
if (user_options->benchmark == true)
@ -1256,6 +1258,8 @@ void user_options_preprocess (hashcat_ctx_t *hashcat_ctx)
user_options->speed_only = true;
user_options->status = false;
user_options->status_timer = 0;
user_options->bitmap_min = 1;
user_options->bitmap_max = 1;
if (user_options->workload_profile_chgd == false)
{