mirror of
https://github.com/hashcat/hashcat.git
synced 2025-03-25 20:05:42 +00:00
Fixed ignoring --brain-client-features configuration in case brain-server has attack positions informations from a previous run
This commit is contained in:
parent
175fea4094
commit
ff6e403703
@ -26,6 +26,7 @@
|
||||
## Bugs
|
||||
##
|
||||
|
||||
- Fixed ignoring --brain-client-features configuration in case brain-server has attack positions informations from a previous run
|
||||
- Fixed missing call to WSAStartup() and client indexing in order to start the brain server on windows
|
||||
- Fixed missing call to WSACleanup() to cleanly shutdown windows sockets system
|
||||
- Fixed endianness and invalid separator character in outfile format of hash-mode 16801 (WPA-PMKID-PMK)
|
||||
|
@ -391,19 +391,22 @@ static int calc (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param)
|
||||
brain_client_disconnect (device_param);
|
||||
}
|
||||
|
||||
hc_thread_mutex_lock (status_ctx->mux_dispatcher);
|
||||
|
||||
if (status_ctx->words_off == 0)
|
||||
if (user_options->brain_client_features & BRAIN_CLIENT_FEATURE_ATTACKS)
|
||||
{
|
||||
status_ctx->words_off = highest;
|
||||
hc_thread_mutex_lock (status_ctx->mux_dispatcher);
|
||||
|
||||
for (u32 salt_pos = 0; salt_pos < hashes->salts_cnt; salt_pos++)
|
||||
if (status_ctx->words_off == 0)
|
||||
{
|
||||
status_ctx->words_progress_rejected[salt_pos] = status_ctx->words_off;
|
||||
}
|
||||
}
|
||||
status_ctx->words_off = highest;
|
||||
|
||||
hc_thread_mutex_unlock (status_ctx->mux_dispatcher);
|
||||
for (u32 salt_pos = 0; salt_pos < hashes->salts_cnt; salt_pos++)
|
||||
{
|
||||
status_ctx->words_progress_rejected[salt_pos] = status_ctx->words_off;
|
||||
}
|
||||
}
|
||||
|
||||
hc_thread_mutex_unlock (status_ctx->mux_dispatcher);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user