Brain Session: Adds hashconfig specific opti_type and opts_type parameters to hashcat session computation to cover features like -O and -M

This commit is contained in:
Jens Steube
2021-07-21 15:47:26 +02:00
parent c990e252d3
commit e83611742d
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -172,6 +172,14 @@ u32 brain_compute_attack (hashcat_ctx_t *hashcat_ctx)
XXH64_update (state, &hex_salt, sizeof (hex_salt));
const u32 opti_type = hashconfig->opti_type;
XXH64_update (state, &opti_type, sizeof (opti_type));
const u64 opts_type = hashconfig->opts_type;
XXH64_update (state, &opts_type, sizeof (opts_type));
const int hccapx_message_pair = user_options->hccapx_message_pair;
XXH64_update (state, &hccapx_message_pair, sizeof (hccapx_message_pair));