1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-11 08:10:59 +00:00

main_monitor_status_refresh shouldnt call status_display if status_ctx is not accessible

This commit is contained in:
Christopher Schmitt 2017-05-18 10:36:14 -04:00
parent d24a6198e8
commit b5f5591b1a

View File

@ -717,6 +717,9 @@ static void main_monitor_status_refresh (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx
{
const user_options_t *user_options = hashcat_ctx->user_options;
const user_options_extra_t *user_options_extra = hashcat_ctx->user_options_extra;
const status_ctx_t *status_ctx = hashcat_ctx->status_ctx;
if (status_ctx->accessible == false) return;
if ((user_options_extra->wordlist_mode == WL_MODE_FILE) || (user_options_extra->wordlist_mode == WL_MODE_MASK))
{