1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00

Put --show and --left into --quiet mode automatically

This commit is contained in:
jsteube 2016-09-24 14:06:41 +02:00
parent 3279607a4e
commit a79a144e46

View File

@ -268,8 +268,8 @@ int user_options_parse (user_options_t *user_options, int myargc, char **myargv)
if (user_options->benchmark == true) if (user_options->benchmark == true)
{ {
user_options->attack_mode = ATTACK_MODE_BF;
user_options->session = "benchmark"; user_options->session = "benchmark";
user_options->attack_mode = ATTACK_MODE_BF;
if (user_options->workload_profile_chgd == false) 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) if (user_options->show == true || user_options->left == true)
{ {
user_options->attack_mode = ATTACK_MODE_NONE; 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) // this allows the user to use --show and --left while cracking (i.e. while another instance of hashcat is running)