From 76869e5099273d83f7b3cc23b6ac734a8c840495 Mon Sep 17 00:00:00 2001 From: Royce Williams Date: Tue, 1 Jul 2025 18:31:20 -0800 Subject: [PATCH] skip preamble if --backend_info and --machine --- src/terminal.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/terminal.c b/src/terminal.c index 2976bc7c2..e929a6ab8 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -88,8 +88,11 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) } else if (user_options->backend_info > 0) { - event_log_info (hashcat_ctx, "%s (%s) starting in backend information mode", PROGNAME, version_tag); - event_log_info (hashcat_ctx, NULL); + if (user_options->machine_readable == false) + { + event_log_info (hashcat_ctx, "%s (%s) starting in backend information mode", PROGNAME, version_tag); + event_log_info (hashcat_ctx, NULL); + } } else if (user_options->hash_mode_chgd == false) {