Land #2742, report_vuln for MongoDB no auth
commit
ebee365fce
|
@ -46,6 +46,14 @@ class Metasploit3 < Msf::Auxiliary
|
|||
do_login(user, pass)
|
||||
}
|
||||
else
|
||||
report_vuln(
|
||||
:host => rhost,
|
||||
:port => rport,
|
||||
:name => "MongoDB No Authentication",
|
||||
:refs => self.references,
|
||||
:exploited_at => Time.now.utc,
|
||||
:info => "Mongo server has no authentication."
|
||||
)
|
||||
print_good("Mongo server #{ip.to_s} dosn't use authentication")
|
||||
end
|
||||
disconnect
|
||||
|
|
Loading…
Reference in New Issue