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
2 changed files with 8 additions and 3 deletions
+7 -3
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 (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 (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);
@@ -270,6 +272,8 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
fclose (fp);
}
if (status_ctx->shutdown_inner == true) break;
}
}
}