max_length -1
parent
2c02dbc8a6
commit
509b4e979d
|
@ -375,7 +375,7 @@ module Metasploit
|
||||||
valid!
|
valid!
|
||||||
wordlist_file = Rex::Quickfile.new("jtrtmp")
|
wordlist_file = Rex::Quickfile.new("jtrtmp")
|
||||||
each_word do |word|
|
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
|
end
|
||||||
wordlist_file
|
wordlist_file
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue