mirror of
https://github.com/hashcat/hashcat
synced 2025-05-16 08:49:38 +02:00
Add Custom.Chars to output window in the case of a user specifying -1, -2, -3, -4.
This commit is contained in:
parent
d4dfe58a72
commit
004812819f
@ -1281,6 +1281,10 @@ typedef struct
|
|||||||
char *veracrypt_keyfiles;
|
char *veracrypt_keyfiles;
|
||||||
uint veracrypt_pim;
|
uint veracrypt_pim;
|
||||||
uint workload_profile;
|
uint workload_profile;
|
||||||
|
char *custom_charset_1;
|
||||||
|
char *custom_charset_2;
|
||||||
|
char *custom_charset_3;
|
||||||
|
char *custom_charset_4;
|
||||||
|
|
||||||
uint hash_mode;
|
uint hash_mode;
|
||||||
uint hash_type;
|
uint hash_type;
|
||||||
|
@ -1036,6 +1036,16 @@ void status_display ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
log_info ("Input.Mode.....: %s", tmp_buf);
|
log_info ("Input.Mode.....: %s", tmp_buf);
|
||||||
|
|
||||||
|
if (data.custom_charset_1 || data.custom_charset_2 || data.custom_charset_3 || data.custom_charset_4)
|
||||||
|
{
|
||||||
|
char *custom_charset_1 = data.custom_charset_1;
|
||||||
|
char *custom_charset_2 = data.custom_charset_2;
|
||||||
|
char *custom_charset_3 = data.custom_charset_3;
|
||||||
|
char *custom_charset_4 = data.custom_charset_4;
|
||||||
|
|
||||||
|
log_info ("Custom.Chars...: -1 %s. -2 %s, -3 %s, -4 %s", custom_charset_1, custom_charset_2, custom_charset_3, custom_charset_4);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tmp_len = 0;
|
tmp_len = 0;
|
||||||
@ -7549,6 +7559,10 @@ int main (int argc, char **argv)
|
|||||||
data.benchmark = benchmark;
|
data.benchmark = benchmark;
|
||||||
data.skip = skip;
|
data.skip = skip;
|
||||||
data.limit = limit;
|
data.limit = limit;
|
||||||
|
data.custom_charset_1 = custom_charset_1;
|
||||||
|
data.custom_charset_2 = custom_charset_2;
|
||||||
|
data.custom_charset_3 = custom_charset_3;
|
||||||
|
data.custom_charset_4 = custom_charset_4;
|
||||||
#ifdef HAVE_HWMON
|
#ifdef HAVE_HWMON
|
||||||
data.powertune_enable = powertune_enable;
|
data.powertune_enable = powertune_enable;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user