Merge pull request #417 from philsmd/master
authorJens Steube <jens.steube@gmail.com>
Tue, 5 Jul 2016 13:15:12 +0000 (15:15 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Jul 2016 13:15:12 +0000 (15:15 +0200)
this fixes #400: --loopback was not working

docs/changes.txt
src/hashcat.c

index 9e8c1a3..a0a7d4a 100644 (file)
@@ -15,6 +15,7 @@
 - Fixed a bug where hashcat did not check the return of realpath() and crashes uncontrolled if the path does not exist
 - Fixed a bug where hashcat crashes for accessing deallocated buffer if user spams "s" shortly before hashcat shuts down
 - Fixed a bug where hashcat crashes in case of a scrypt P setting > 1
+- Fixed a bug where hashcat did not correctly use the newly cracked plains whenever --loopback or the induction folder was used
 
 * changes v2.01 -> v3.00:
 
index ede2326..1a70430 100644 (file)
@@ -18393,6 +18393,10 @@ int main (int argc, char **argv)
         if (induction_dictionaries_cnt)
         {
           qsort (induction_dictionaries, induction_dictionaries_cnt, sizeof (char *), sort_by_mtime);
+
+          // yeah, this next statement is a little hack to make sure that --loopback runs correctly (because with it we guarantee that the loop iterates one more time)
+
+          dictpos--;
         }
 
         time_t runtime_stop;