test fix: ArubaOS salts are 8 hexadecimal chars long (4 binary), not 10 (4 binary...
authorphilsmd <philsmd@hashcat.net>
Fri, 13 May 2016 17:02:57 +0000 (19:02 +0200)
committerphilsmd <philsmd@hashcat.net>
Fri, 13 May 2016 17:02:57 +0000 (19:02 +0200)
tools/test.pl

index 9ef274b..598f1b9 100755 (executable)
@@ -2836,7 +2836,7 @@ sub passthrough
     }
     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)
     {