mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Show all autotune setting changes in -b
Previous behaviour was to only show the first autotune setting, this change makes it so it shows everything if it's changed as there's no reason to hide it and is safer to show everything that's changed
This commit is contained in:
parent
6716447dfc
commit
3e48db8206
@ -2155,21 +2155,21 @@ void user_options_info (hashcat_ctx_t *hashcat_ctx)
|
|||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "* --kernel-accel=%u", user_options->kernel_accel);
|
event_log_info (hashcat_ctx, "* --kernel-accel=%u", user_options->kernel_accel);
|
||||||
}
|
}
|
||||||
else if (user_options->kernel_loops_chgd == true)
|
|
||||||
|
if (user_options->kernel_loops_chgd == true)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "* --kernel-loops=%u", user_options->kernel_loops);
|
event_log_info (hashcat_ctx, "* --kernel-loops=%u", user_options->kernel_loops);
|
||||||
}
|
}
|
||||||
else if (user_options->kernel_threads_chgd == true)
|
|
||||||
|
if (user_options->kernel_threads_chgd == true)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "* --kernel-threads=%u", user_options->kernel_threads);
|
event_log_info (hashcat_ctx, "* --kernel-threads=%u", user_options->kernel_threads);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if (user_options->workload_profile_chgd == true)
|
if (user_options->workload_profile_chgd == true)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "* --workload-profile=%u", user_options->workload_profile);
|
event_log_info (hashcat_ctx, "* --workload-profile=%u", user_options->workload_profile);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
event_log_info (hashcat_ctx, NULL);
|
event_log_info (hashcat_ctx, NULL);
|
||||||
}
|
}
|
||||||
@ -2219,22 +2219,22 @@ void user_options_info (hashcat_ctx_t *hashcat_ctx)
|
|||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "# option: --kernel-accel=%u", user_options->kernel_accel);
|
event_log_info (hashcat_ctx, "# option: --kernel-accel=%u", user_options->kernel_accel);
|
||||||
}
|
}
|
||||||
else if (user_options->kernel_loops_chgd == true)
|
|
||||||
|
if (user_options->kernel_loops_chgd == true)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "# option: --kernel-loops=%u", user_options->kernel_loops);
|
event_log_info (hashcat_ctx, "# option: --kernel-loops=%u", user_options->kernel_loops);
|
||||||
}
|
}
|
||||||
else if (user_options->kernel_threads_chgd == true)
|
|
||||||
|
if (user_options->kernel_threads_chgd == true)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "# option: --kernel-threads=%u", user_options->kernel_threads);
|
event_log_info (hashcat_ctx, "# option: --kernel-threads=%u", user_options->kernel_threads);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if (user_options->workload_profile_chgd == true)
|
if (user_options->workload_profile_chgd == true)
|
||||||
{
|
{
|
||||||
event_log_info (hashcat_ctx, "# option: --workload-profile=%u", user_options->workload_profile);
|
event_log_info (hashcat_ctx, "# option: --workload-profile=%u", user_options->workload_profile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void user_options_extra_init (hashcat_ctx_t *hashcat_ctx)
|
void user_options_extra_init (hashcat_ctx_t *hashcat_ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user