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
sinn3r 2013-08-18 23:54:04 -05:00
parent 86d6bce8c4
commit abaec32ad6
1 changed files with 1 additions and 2 deletions

View File

@ -31,9 +31,8 @@ class Metasploit3 < Msf::Auxiliary
end
def run
wordlist = Rex::Quickfile.new("jtrtmp")
begin
wordlist = Rex::Quickfile.new("jtrtmp")
wordlist.write( build_seed().join("\n") + "\n" )
ensure
wordlist.close