Merge pull request #332 from philsmd/master

test fix: ArubaOS salts are 8 hexadecimal chars long (4 binary), not 10
pull/340/head
Jens Steube 8 years ago
commit 2937c83a2e

@ -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)
{ {

Loading…
Cancel
Save