What Luke said.
"You cannot, in general, place a variable declaration in a begin scope and use it in the ensure scope unless you use nil?. It is better to swap line 35 and line 34."bug/bundler_fix
parent
86d6bce8c4
commit
abaec32ad6
|
@ -31,9 +31,8 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
end
|
end
|
||||||
|
|
||||||
def run
|
def run
|
||||||
|
wordlist = Rex::Quickfile.new("jtrtmp")
|
||||||
begin
|
begin
|
||||||
wordlist = Rex::Quickfile.new("jtrtmp")
|
|
||||||
|
|
||||||
wordlist.write( build_seed().join("\n") + "\n" )
|
wordlist.write( build_seed().join("\n") + "\n" )
|
||||||
ensure
|
ensure
|
||||||
wordlist.close
|
wordlist.close
|
||||||
|
|
Loading…
Reference in New Issue