Land #11305, Add default to wordlist.to_file()

GSoC/Meterpreter_Web_Console
Adam Cammack 2019-01-23 15:20:10 -06:00
commit f04c2537f6
No known key found for this signature in database
GPG Key ID: C9378BA088092D66
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ module Metasploit
#
# @param max_len [Integer] max length of a word in the wordlist, 0 default for ignored value
# @return [Rex::Quickfile] The {Rex::Quickfile} object that the wordlist has been written to
def to_file(max_len)
def to_file(max_len = 0)
valid!
wordlist_file = Rex::Quickfile.new("jtrtmp")
each_word do |word|