mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 23:19:09 +00:00
Do not show goodbye_screen in --machine-readable mode
This commit is contained in:
parent
7f6d027b35
commit
4b8576ffb7
10
src/main.c
10
src/main.c
@ -103,7 +103,10 @@ static void main_welcome_screen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_
|
||||
|
||||
// Inform user things getting started
|
||||
|
||||
const status_ctx_t *status_ctx = hashcat_ctx->status_ctx;
|
||||
const status_ctx_t *status_ctx = hashcat_ctx->status_ctx;
|
||||
//const user_options_t *user_options = hashcat_ctx->user_options;
|
||||
|
||||
//if (user_options->machine_readable == true) return;
|
||||
|
||||
welcome_screen (hashcat_ctx, status_ctx->proc_start, VERSION_TAG);
|
||||
}
|
||||
@ -112,7 +115,10 @@ static void main_goodbye_screen (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_
|
||||
{
|
||||
// Inform user we're done
|
||||
|
||||
const status_ctx_t *status_ctx = hashcat_ctx->status_ctx;
|
||||
const status_ctx_t *status_ctx = hashcat_ctx->status_ctx;
|
||||
const user_options_t *user_options = hashcat_ctx->user_options;
|
||||
|
||||
if (user_options->machine_readable == true) return;
|
||||
|
||||
goodbye_screen (hashcat_ctx, status_ctx->proc_start, status_ctx->proc_stop);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user