Do minor fixes

bug/bundler_fix
jvazquez-r7 2015-05-08 14:04:44 -05:00
parent 5588ad36b3
commit 2e01eb519d
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 6 additions and 3 deletions

View File

@ -82,8 +82,8 @@ class Metasploit3 < Msf::Auxiliary
port = nil
end
backend[:host] = (host.nil?) ? nil : host
backend[:port] = (port.nil?) ? nil : port
backend[:host] = host.nil? ? nil : host
backend[:port] = port.nil? ? nil : port
backend
end
@ -146,8 +146,11 @@ class Metasploit3 < Msf::Auxiliary
# Reporting found backends in database
unless backends.empty?
report_note(host: rhost, type: "f5_load_balancer_backends", data: backends)
report_note(host: rhost, type: 'f5_load_balancer_backends', data: backends)
end
rescue ::Rex::ConnectionRefused
print_error("#{peer} - Network connection error")
rescue ::Rex::ConnectionError
print_error("#{peer} - Network connection error")
rescue ::OpenSSL::SSL::SSLError