max_length -1

GSoC/Meterpreter_Web_Console
h00die 2019-01-14 22:28:46 -05:00
parent 2c02dbc8a6
commit 509b4e979d
1 changed files with 1 additions and 1 deletions

View File

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