mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-21 07:28:48 +00:00
Merge branch 'master' of https://github.com/fgaudreault/oclHashcat
This commit is contained in:
commit
1e1d310f45
@ -8493,7 +8493,7 @@ void ascii_digest (char *out_buf, uint salt_pos, uint digest_pos)
|
|||||||
|
|
||||||
for (uint i = 0; i < mysalt_len; i++)
|
for (uint i = 0; i < mysalt_len; i++)
|
||||||
{
|
{
|
||||||
snprintf(pstoken_tmp[i], 1, "%02x", pstoken->salt_buf[i]);
|
snprintf((char *)(pstoken_tmp + i), (size_t)2, "%02x", pstoken->salt_buf[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf (out_buf, len-1, "%08x%08x%08x%08x%08x:%s",
|
snprintf (out_buf, len-1, "%08x%08x%08x%08x%08x:%s",
|
||||||
|
Loading…
Reference in New Issue
Block a user