one more style fix

bug/bundler_fix
rwhitcroft 2016-03-01 10:20:39 -05:00
parent 4b10331cf0
commit ded5b58733
1 changed files with 2 additions and 2 deletions

View File

@ -82,13 +82,13 @@ class Metasploit3 < Msf::Auxiliary
'password' => cred.private
})
resp = cli.send_recv(req)
res = cli.send_recv(req)
rescue ::Rex::ConnectionError, Errno::ECONNREFUSED, Errno::ETIMEDOUT
print_error("Connection failed")
return
end
if resp.code != 401
if res.code != 401
print_brute :level => :good, :ip => ip, :msg => "Successful login: #{cred.to_s}"
report_cred(
ip: ip,