From: Jens Steube Date: Tue, 5 Jul 2016 13:15:12 +0000 (+0200) Subject: Merge pull request #417 from philsmd/master X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=91b0cbcc5a64d056fcd234a8956ac54c63f745d3;hp=69e3e3956825895b642b4651a3ddc744a95ca26e;p=hashcat.git Merge pull request #417 from philsmd/master this fixes #400: --loopback was not working --- diff --git a/docs/changes.txt b/docs/changes.txt index 9e8c1a3..a0a7d4a 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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: diff --git a/src/hashcat.c b/src/hashcat.c index ede2326..1a70430 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -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;