1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-03-24 11:25:41 +00:00

Do not try to use save_hash() in case hashlist_mode == HL_MODE_FILE

This commit is contained in:
jsteube 2017-03-14 08:51:53 +01:00
parent e9d5b6d44d
commit 72071fba87

View File

@ -509,7 +509,7 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
if (status_ctx->devices_status == STATUS_CRACKED)
{
if (user_options->remove == true)
if ((user_options->remove == true) && (hashes->hashlist_mode == HL_MODE_FILE))
{
if (hashes->digests_saved != hashes->digests_done)
{
@ -698,7 +698,7 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
if (status_ctx->devices_status == STATUS_CRACKED)
{
if (user_options->remove == true)
if ((user_options->remove == true) && (hashes->hashlist_mode == HL_MODE_FILE))
{
if (hashes->digests_saved != hashes->digests_done)
{