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

pull/1198/head
jsteube 7 years ago
parent e9d5b6d44d
commit 72071fba87

@ -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)
{

Loading…
Cancel
Save