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

Fix some default masks

This commit is contained in:
jsteube 2016-09-28 12:01:54 +02:00
parent cc740f2cb2
commit 791cd5ec42

View File

@ -20562,12 +20562,24 @@ void hashconfig_benchmark_defaults (const hashconfig_t *hashconfig, salt_t *salt
char *hashconfig_benchmark_mask (const hashconfig_t *hashconfig) char *hashconfig_benchmark_mask (const hashconfig_t *hashconfig)
{ {
char *mask = "?b?b?b?b?b?b?b"; char *mask = NULL;
switch (hashconfig->hash_mode) switch (hashconfig->hash_mode)
{ {
case 9710: mask = "?b?b?b?b?b";
break;
case 9810: mask = "?b?b?b?b?b";
break;
case 10410: mask = "?b?b?b?b?b";
break;
case 12500: mask = "?b?b?b?b?b"; case 12500: mask = "?b?b?b?b?b";
break; break;
case 14000: mask = "?b?b?b?b?b?b?bx";
break;
case 14100: mask = "?b?b?b?b?b?b?bx";
break;
default: mask = "?b?b?b?b?b?b?b";
break;
} }
return mask; return mask;