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
+2 -2
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)
{