1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 22:58:30 +00:00

test fix: ArubaOS salts are 8 hexadecimal chars long (4 binary), not 10 (4 binary), because '01' will be appended afterwards (total length is 10)

This commit is contained in:
philsmd 2016-05-13 19:02:57 +02:00
parent c78d7568e6
commit 9ac762c2c7

View File

@ -2836,7 +2836,7 @@ sub passthrough
} }
elsif ($mode == 125) elsif ($mode == 125)
{ {
$tmp_hash = gen_hash ($mode, $word_buf, substr ($salt_buf, 0, 10)); $tmp_hash = gen_hash ($mode, $word_buf, substr ($salt_buf, 0, 8));
} }
elsif ($mode == 141 || $mode == 1441) elsif ($mode == 141 || $mode == 1441)
{ {