From: philsmd Date: Tue, 5 Jul 2016 13:00:26 +0000 (+0200) Subject: this fixes #400: --loopback was not working X-Git-Url: https://www.flypig.org.uk/git/?p=hashcat.git;a=commitdiff_plain;h=067c0b8e838536f2caae1306a8407de872164721 this fixes #400: --loopback was not working --- diff --git a/docs/changes.txt b/docs/changes.txt index d44d6e7..81f3b40 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -14,6 +14,7 @@ - Fixed a bug where hashcat is suppressing --machine-readable output in the final status update - 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 did not correctly use the newly cracked plains whenever --loopback or the induction folder was used * changes v2.01 -> v3.00: diff --git a/src/hashcat.c b/src/hashcat.c index e508082..f8e4b1a 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -18392,6 +18392,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;