1
mirror of https://github.com/hashcat/hashcat synced 2024-11-24 14:27:14 +01:00

Start using extract_dynamicx_hash() from hlfmt_hash_hashcat()

This commit is contained in:
jsteube 2023-11-10 09:16:28 +00:00
parent 2029be782e
commit 934105bec0

View File

@ -54,7 +54,14 @@ static void hlfmt_hash_hashcat (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, char *l
if (user_options->dynamic_x == true) if (user_options->dynamic_x == true)
{ {
char *pos = NULL;
int len = 0;
if (extract_dynamicx_hash ((const u8 *) line_buf, line_len, (u8 **) &pos, &len) != -1)
{
*hashbuf_pos = pos;
*hashbuf_len = len;
}
} }
} }