diff --git a/src/brain.c b/src/brain.c index f313b5536..2aec26300 100644 --- a/src/brain.c +++ b/src/brain.c @@ -374,7 +374,6 @@ u32 brain_compute_attack (hashcat_ctx_t *hashcat_ctx) XXH64_update (state, custom_charset_8, strlen (custom_charset_8)); } } - else if (user_options->attack_mode == ATTACK_MODE_HYBRID1) { const u64 wordlist_hash = brain_compute_attack_wordlist (straight_ctx->dict); diff --git a/src/status.c b/src/status.c index ac661acd4..b33fba85e 100644 --- a/src/status.c +++ b/src/status.c @@ -787,7 +787,7 @@ char *status_get_guess_charset (const hashcat_ctx_t *hashcat_ctx) const char *custom_charset_7 = user_options->custom_charset_7; const char *custom_charset_8 = user_options->custom_charset_8; - if ((custom_charset_1 != NULL) || (custom_charset_2 != NULL) || (custom_charset_3 != NULL) || (custom_charset_4 != NULL) || (custom_charset_5 != NULL) || (custom_charset_6 != NULL) || (custom_charset_7 != NULL) || (custom_charset_8 != NULL)); + if ((custom_charset_1 != NULL) || (custom_charset_2 != NULL) || (custom_charset_3 != NULL) || (custom_charset_4 != NULL) || (custom_charset_5 != NULL) || (custom_charset_6 != NULL) || (custom_charset_7 != NULL) || (custom_charset_8 != NULL)) { char *tmp_buf;