1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-12 08:41:07 +00:00

Update outfile.c

Fix #1194.
crackpos was not being output properly when "--outfile-format 11" was used.
This commit is contained in:
syntaxmonkey 2017-03-19 20:54:25 -04:00 committed by GitHub
parent c7ed2ade17
commit f623217a2b

View File

@ -436,6 +436,7 @@ int outfile_write (hashcat_ctx_t *hashcat_ctx, const char *out_buf, const unsign
sprintf (tmp_buf + tmp_len, "%" PRIu64, crackpos);
}
tmp_len += 20; // Required to include the text generated for crackpos.
tmp_buf[tmp_len] = 0;
if (outfile_ctx->fp != NULL)