mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-01 12:22:37 +00:00
Fix salt length for mode 16200 in test.pl
This commit is contained in:
parent
94c668ce8a
commit
dc58253703
@ -3835,7 +3835,7 @@ sub passthrough
|
|||||||
}
|
}
|
||||||
elsif ($mode == 16200)
|
elsif ($mode == 16200)
|
||||||
{
|
{
|
||||||
$tmp_hash = gen_hash ($mode, $word_buf, substr ($salt_buf, 0, 16));
|
$tmp_hash = gen_hash ($mode, $word_buf, substr ($salt_buf, 0, 32));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -4898,11 +4898,11 @@ sub single
|
|||||||
{
|
{
|
||||||
if ($len != 0)
|
if ($len != 0)
|
||||||
{
|
{
|
||||||
rnd ($mode, $len, 16);
|
rnd ($mode, $len, 32);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rnd ($mode, $i, 16);
|
rnd ($mode, $i, 32);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user