Fixed invalid hardware monitor detection in benchmark mode

Fixes https://github.com/hashcat/hashcat/issues/1787
pull/1793/head
jsteube 6 years ago
parent a930c5c24e
commit 1156cf7207

@ -42,6 +42,7 @@
- Fixed checking the length of the last token in a hash if it was given the attribute TOKEN_ATTR_FIXED_LENGTH
- Fixed endianness and invalid separator character in outfile format for hash-mode 16801 (WPA-PMKID-PMK)
- Fixed ignoring --brain-client-features configuration when brain server has attack-position information from a previous run
- Fixed invalid hardware monitor detection in benchmark mode
- Fixed invalid warnings about throttling when --hwmon-disable was used
- Fixed missing call to WSACleanup() to cleanly shutdown windows sockets system
- Fixed missing call to WSAStartup() and client indexing in order to start the brain server on Windows

@ -2012,9 +2012,7 @@ int hwmon_ctx_init (hashcat_ctx_t *hashcat_ctx)
if (user_options->keyspace == true) return 0;
if (user_options->left == true) return 0;
if (user_options->opencl_info == true) return 0;
if (user_options->progress_only == true) return 0;
if (user_options->show == true) return 0;
if (user_options->speed_only == true) return 0;
if (user_options->stdout_flag == true) return 0;
if (user_options->usage == true) return 0;
if (user_options->version == true) return 0;

@ -1484,7 +1484,7 @@ void user_options_preprocess (hashcat_ctx_t *hashcat_ctx)
if (user_options->benchmark == true)
{
user_options->attack_mode = ATTACK_MODE_BF;
user_options->hwmon_disable = true;
user_options->hwmon_temp_abort = 0;
user_options->increment = false;
user_options->left = false;
user_options->logfile_disable = true;

Loading…
Cancel
Save