mirror of
https://github.com/hashcat/hashcat
synced 2024-11-10 02:34:43 +01:00
Merge pull request #1994 from philsmd/patch-4
outfile remove: fix hash parsing
This commit is contained in:
commit
ef4db1979f
@ -230,7 +230,7 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
|
||||
{
|
||||
void *tmps = hcmalloc (hashconfig->tmp_size);
|
||||
|
||||
parser_status = module_ctx->module_hash_decode_potfile (hashconfig, hash_buf.digest, hash_buf.salt, hash_buf.esalt, hash_buf.hook_salt, hash_buf.hash_info, line_buf, line_len - 1, tmps);
|
||||
parser_status = module_ctx->module_hash_decode_potfile (hashconfig, hash_buf.digest, hash_buf.salt, hash_buf.esalt, hash_buf.hook_salt, hash_buf.hash_info, line_buf, line_hash_len, tmps);
|
||||
|
||||
hcfree (tmps);
|
||||
}
|
||||
@ -238,7 +238,7 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
|
||||
{
|
||||
// "normal" case: hash in the outfile is the same as the hash in the original hash file
|
||||
|
||||
parser_status = module_ctx->module_hash_decode (hashconfig, hash_buf.digest, hash_buf.salt, hash_buf.esalt, hash_buf.hook_salt, hash_buf.hash_info, line_buf, line_len - 1);
|
||||
parser_status = module_ctx->module_hash_decode (hashconfig, hash_buf.digest, hash_buf.salt, hash_buf.esalt, hash_buf.hook_salt, hash_buf.hash_info, line_buf, line_hash_len);
|
||||
}
|
||||
|
||||
if (parser_status != PARSER_OK) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user