Fix dictstat and logfile

pull/544/head
jsteube 8 years ago
parent ef80e3f074
commit 9d4f9f5698

@ -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)
{

@ -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)
{

Loading…
Cancel
Save