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

Fixed invalid hardware monitor detection in benchmark mode

Fixes https://github.com/hashcat/hashcat/issues/1787
This commit is contained in:
jsteube 2018-11-17 14:40:30 +01:00
parent a930c5c24e
commit 1156cf7207
3 changed files with 2 additions and 3 deletions

View File

@ -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 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 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 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 invalid warnings about throttling when --hwmon-disable was used
- Fixed missing call to WSACleanup() to cleanly shutdown windows sockets system - 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 - Fixed missing call to WSAStartup() and client indexing in order to start the brain server on Windows

View File

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

View File

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