mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 08:38:09 +00:00
Fix salt length for -m 22 in benchmark mode
This commit is contained in:
parent
eeefe8051a
commit
e4b3ea937f
@ -20046,6 +20046,8 @@ void hashconfig_benchmark_defaults (hashcat_ctx_t *hashcat_ctx, salt_t *salt, vo
|
|||||||
|
|
||||||
switch (hashconfig->hash_mode)
|
switch (hashconfig->hash_mode)
|
||||||
{
|
{
|
||||||
|
case 22: salt->salt_len = 30;
|
||||||
|
break;
|
||||||
case 1500: salt->salt_len = 2;
|
case 1500: salt->salt_len = 2;
|
||||||
salt->salt_buf[0] = 388; // pure magic
|
salt->salt_buf[0] = 388; // pure magic
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user