1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-05 13:21:13 +00:00

Merge pull request #1672 from philsmd/master

outfile check: improve response time when quitting hashcat
This commit is contained in:
Jens Steube 2018-08-30 10:54:34 +02:00 committed by GitHub
commit 99fbbd4639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -19,6 +19,7 @@
- Fixed a problem with attack mode -a 7 together with stdout mode where the mask bytes were missing in the output - Fixed a problem with attack mode -a 7 together with stdout mode where the mask bytes were missing in the output
- Fixed a problem with tab completion where --self-test-disable did incorrecly expect a further parameter/value - Fixed a problem with tab completion where --self-test-disable did incorrecly expect a further parameter/value
- Fixed the ciphertext max length in Ansible Vault parser - Fixed the ciphertext max length in Ansible Vault parser
- Fixed speed/delay problem when quitting while the outfile folder is being scanned
- Removed duplicate words in the dictionary file example.dict - Removed duplicate words in the dictionary file example.dict
* changes v4.2.0 -> v4.2.1 * changes v4.2.0 -> v4.2.1

View File

@ -248,18 +248,20 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
if (hashes->salts_done == hashes->salts_cnt) mycracked (hashcat_ctx); if (hashes->salts_done == hashes->salts_cnt) mycracked (hashcat_ctx);
} }
} }
if (status_ctx->shutdown_inner == true) break;
} }
if (status_ctx->devices_status == STATUS_CRACKED) break; if (status_ctx->shutdown_inner == true) break;
} }
} }
if (found) break; if (found) break;
if (status_ctx->devices_status == STATUS_CRACKED) break; if (status_ctx->shutdown_inner == true) break;
} }
if (status_ctx->devices_status == STATUS_CRACKED) break; if (status_ctx->shutdown_inner == true) break;
} }
hcfree (line_buf); hcfree (line_buf);
@ -270,6 +272,8 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
fclose (fp); fclose (fp);
} }
if (status_ctx->shutdown_inner == true) break;
} }
} }
} }