From 7e6f3ef853cacd9d4833d22c0d47fe7b08c91da8 Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 13 Sep 2016 13:06:55 +0200 Subject: [PATCH] Make sure potfile is opened in case weak-hash-check cracks a hash --- src/hashcat.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/hashcat.c b/src/hashcat.c index 63eeeb5f1..64eba0395 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -11167,6 +11167,12 @@ int main (int argc, char **argv) data.pw_min = pw_min; data.pw_max = pw_max; + /** + * weak hash check + */ + + potfile_write_open (potfile_ctx); + /** * weak hash check */ @@ -11261,8 +11267,6 @@ int main (int argc, char **argv) } } - potfile_write_open (potfile_ctx); - char **induction_dictionaries = NULL; int induction_dictionaries_cnt = 0;