outfile check: improve response time when quitting hashcat

This commit is contained in:
philsmd
2018-08-26 17:51:40 +02:00
parent a3ee4d7188
commit 93216c76a3
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;
}
}
}