Land #2742, report_vuln for MongoDB no auth

bug/bundler_fix
Spencer McIntyre 2014-03-06 19:34:45 -05:00
commit ebee365fce
No known key found for this signature in database
GPG Key ID: C00D6B6AA5E15412
1 changed files with 8 additions and 0 deletions

View File

@ -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