mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-27 02:18:21 +00:00
Do not show goodbye_screen in --machine-readable mode
This commit is contained in:
parent
7f6d027b35
commit
4b8576ffb7
@ -104,6 +104,9 @@ 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 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);
|
||||
}
|
||||
@ -113,6 +116,9 @@ 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 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