mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-12 09:48:30 +00:00
Fix --quiet mode in main_cracker_finished()
This commit is contained in:
parent
98cdfac52d
commit
fa293bb409
@ -258,7 +258,6 @@ static void main_cracker_finished (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYB
|
|||||||
if (user_options->keyspace == true) return;
|
if (user_options->keyspace == true) return;
|
||||||
if (user_options->opencl_info == true) return;
|
if (user_options->opencl_info == true) return;
|
||||||
if (user_options->stdout_flag == true) return;
|
if (user_options->stdout_flag == true) return;
|
||||||
if (user_options->quiet == true) return;
|
|
||||||
|
|
||||||
// if we had a prompt, clear it
|
// if we had a prompt, clear it
|
||||||
|
|
||||||
@ -282,6 +281,8 @@ static void main_cracker_finished (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYB
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (user_options->quiet == false)
|
||||||
{
|
{
|
||||||
if (hashes->digests_saved != hashes->digests_done) event_log_info (hashcat_ctx, "");
|
if (hashes->digests_saved != hashes->digests_done) event_log_info (hashcat_ctx, "");
|
||||||
|
|
||||||
@ -289,6 +290,7 @@ static void main_cracker_finished (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYB
|
|||||||
|
|
||||||
event_log_info (hashcat_ctx, "");
|
event_log_info (hashcat_ctx, "");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void main_cracker_hash_cracked (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const void *buf, MAYBE_UNUSED const size_t len)
|
static void main_cracker_hash_cracked (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const void *buf, MAYBE_UNUSED const size_t len)
|
||||||
|
Loading…
Reference in New Issue
Block a user