mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 06:38:11 +00:00
Fix some variable names and types related to dynamic-x support in hashes.c
This commit is contained in:
parent
b906a145ca
commit
9269229c03
@ -1003,7 +1003,7 @@ int hashes_init_stage1 (hashcat_ctx_t *hashcat_ctx)
|
||||
void *esalts_buf = NULL;
|
||||
void *hook_salts_buf = NULL;
|
||||
|
||||
if ((user_options->username == true) || (hashconfig->opts_type & OPTS_TYPE_HASH_COPY) || (hashconfig->opts_type & OPTS_TYPE_HASH_SPLIT))
|
||||
if ((user_options->dynamic_x == true) || (user_options->username == true) || (hashconfig->opts_type & OPTS_TYPE_HASH_COPY) || (hashconfig->opts_type & OPTS_TYPE_HASH_SPLIT))
|
||||
{
|
||||
u64 hash_pos;
|
||||
|
||||
@ -1013,6 +1013,11 @@ int hashes_init_stage1 (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
hashes_buf[hash_pos].hash_info = hash_info;
|
||||
|
||||
if (user_options->dynamic_x == true)
|
||||
{
|
||||
hash_info->dynamicx = (dynamicx_t *) hcmalloc (sizeof (dynamicx_t));
|
||||
}
|
||||
|
||||
if (user_options->username == true)
|
||||
{
|
||||
hash_info->user = (user_t *) hcmalloc (sizeof (user_t));
|
||||
|
Loading…
Reference in New Issue
Block a user