From f623217a2b957d2efc78aa2ec7b8a721530cd8d5 Mon Sep 17 00:00:00 2001 From: syntaxmonkey Date: Sun, 19 Mar 2017 20:54:25 -0400 Subject: [PATCH] Update outfile.c Fix #1194. crackpos was not being output properly when "--outfile-format 11" was used. --- src/outfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/outfile.c b/src/outfile.c index 1a9303b57..6b934bce1 100644 --- a/src/outfile.c +++ b/src/outfile.c @@ -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)