mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-27 17:08:12 +00:00
Fix dictstat and logfile
This commit is contained in:
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…
Reference in New Issue
Block a user