mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-24 13:22:13 +00:00
flip the logic in terminal.c for readability
This commit is contained in:
parent
63575b332b
commit
a08f65b50e
@ -38,13 +38,13 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
|
|||||||
if (user_options->machine_readable == false)
|
if (user_options->machine_readable == false)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "%s (%s) starting in benchmark mode...", PROGNAME, version_tag);
|
event_log_info (hashcat_ctx, "%s (%s) starting in benchmark mode...", PROGNAME, version_tag);
|
||||||
if (user_options->optimized_kernel_enable == false)
|
if (user_options->optimized_kernel_enable == true)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile);
|
event_log_info (hashcat_ctx, "Active options: -O, -w %u", user_options->workload_profile);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "Active options: -O, -w %u", user_options->workload_profile);
|
event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile);
|
||||||
}
|
}
|
||||||
event_log_info (hashcat_ctx, NULL);
|
event_log_info (hashcat_ctx, NULL);
|
||||||
|
|
||||||
@ -60,13 +60,13 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag);
|
event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag);
|
||||||
if (user_options->optimized_kernel_enable == false)
|
if (user_options->optimized_kernel_enable == true)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile);
|
event_log_info (hashcat_ctx, "# Active options: -O, -w %u", user_options->workload_profile);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "# Active options: -O, -w %u", user_options->workload_profile);
|
event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user