put calls in right place it helps
parent
63ec83ea90
commit
15ceb1e826
|
@ -86,11 +86,6 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
|
|
||||||
create_credential_login(login_data)
|
create_credential_login(login_data)
|
||||||
print_good "#{ip}:#{rport} - LOGIN SUCCESSFUL: #{result.credential}"
|
print_good "#{ip}:#{rport} - LOGIN SUCCESSFUL: #{result.credential}"
|
||||||
else
|
|
||||||
print_status "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status}: #{result.proof})"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
else
|
else
|
||||||
invalidate_login(
|
invalidate_login(
|
||||||
address: ip,
|
address: ip,
|
||||||
|
@ -101,6 +96,11 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
realm_key: nil,
|
realm_key: nil,
|
||||||
realm_value: nil,
|
realm_value: nil,
|
||||||
status: result.status)
|
status: result.status)
|
||||||
|
print_status "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status}: #{result.proof})"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
else
|
||||||
print_error "#{target} - Unsupported target version of MySQL detected. Skipping."
|
print_error "#{target} - Unsupported target version of MySQL detected. Skipping."
|
||||||
end
|
end
|
||||||
rescue ::Rex::ConnectionError, ::EOFError => e
|
rescue ::Rex::ConnectionError, ::EOFError => e
|
||||||
|
|
Loading…
Reference in New Issue