limit the salt length of -m 22 = Juniper Netscreen/SSG (ScreenOS) to 10
[hashcat.git] / tools / test.pl
index eea8da4..7ad8ecd 100755 (executable)
@@ -2516,7 +2516,7 @@ sub passthrough
     }
     elsif ($mode == 22)
     {
-      my $salt_len = get_random_num (1, 15);
+      my $salt_len = get_random_num (1, 11);
 
       $tmp_hash = gen_hash ($mode, $word_buf, substr ($salt_buf, 0, $salt_len));
     }