max_length -1
parent
2c02dbc8a6
commit
509b4e979d
|
@ -375,7 +375,7 @@ module Metasploit
|
|||
valid!
|
||||
wordlist_file = Rex::Quickfile.new("jtrtmp")
|
||||
each_word do |word|
|
||||
wordlist_file.puts max_len == 0 ? word : word[0..max_len]
|
||||
wordlist_file.puts max_len == 0 ? word : word[0..max_len-1]
|
||||
end
|
||||
wordlist_file
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue