From a79a144e463d4c2e9ebae42a55b4e02e35c2f41d Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 24 Sep 2016 14:06:41 +0200 Subject: [PATCH] Put --show and --left into --quiet mode automatically --- src/user_options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/user_options.c b/src/user_options.c index 9df7c1daf..7537fb43e 100644 --- a/src/user_options.c +++ b/src/user_options.c @@ -268,8 +268,8 @@ int user_options_parse (user_options_t *user_options, int myargc, char **myargv) if (user_options->benchmark == true) { - user_options->attack_mode = ATTACK_MODE_BF; user_options->session = "benchmark"; + user_options->attack_mode = ATTACK_MODE_BF; if (user_options->workload_profile_chgd == false) { @@ -317,6 +317,7 @@ int user_options_parse (user_options_t *user_options, int myargc, char **myargv) if (user_options->show == true || user_options->left == true) { user_options->attack_mode = ATTACK_MODE_NONE; + user_options->quiet = true; } // this allows the user to use --show and --left while cracking (i.e. while another instance of hashcat is running)