1
mirror of https://github.com/hashcat/hashcat synced 2024-12-09 02:13:10 +01:00

Fix dictstat and logfile

This commit is contained in:
jsteube 2016-10-14 20:29:21 +02:00
parent ef80e3f074
commit 9d4f9f5698
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ int dictstat_init (hashcat_ctx_t *hashcat_ctx)
snprintf (dictstat_ctx->filename, HCBUFSIZ_TINY - 1, "%s/hashcat.dictstat", folder_config->profile_dir);
FILE *fp = fopen (dictstat_ctx->filename, "wb");
FILE *fp = fopen (dictstat_ctx->filename, "ab");
if (fp == NULL)
{

View File

@ -86,7 +86,7 @@ int logfile_init (hashcat_ctx_t *hashcat_ctx)
logfile_ctx->enabled = true;
FILE *fp = fopen (logfile_ctx->logfile, "wb");
FILE *fp = fopen (logfile_ctx->logfile, "ab");
if (fp == NULL)
{