mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-27 02:18:21 +00:00
Merge pull request #1342 from roycewilliams/master
flip some logic in terminal.c for readability
This commit is contained in:
commit
6450ed3861
@ -346,7 +346,7 @@ static const char HT_00300[] = "MySQL4.1/MySQL5";
|
|||||||
static const char HT_00400[] = "phpass, WordPress (MD5), phpBB3 (MD5), Joomla (MD5)";
|
static const char HT_00400[] = "phpass, WordPress (MD5), phpBB3 (MD5), Joomla (MD5)";
|
||||||
static const char HT_00500[] = "md5crypt, MD5 (Unix), Cisco-IOS $1$ (MD5)";
|
static const char HT_00500[] = "md5crypt, MD5 (Unix), Cisco-IOS $1$ (MD5)";
|
||||||
static const char HT_00501[] = "Juniper IVE";
|
static const char HT_00501[] = "Juniper IVE";
|
||||||
static const char HT_00600[] = "BLAKE2-512";
|
static const char HT_00600[] = "BLAKE2b";
|
||||||
static const char HT_00900[] = "MD4";
|
static const char HT_00900[] = "MD4";
|
||||||
static const char HT_01000[] = "NTLM";
|
static const char HT_01000[] = "NTLM";
|
||||||
static const char HT_01100[] = "Domain Cached Credentials (DCC), MS Cache";
|
static const char HT_01100[] = "Domain Cached Credentials (DCC), MS Cache";
|
||||||
|
@ -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