Land #11305, Add default to wordlist.to_file()
commit
f04c2537f6
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue