Do not try to use save_hash() in case hashlist_mode == HL_MODE_FILE
This commit is contained in:
+2
-2
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user