mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Make mongodb-info and mongodb-databases default as they're fast, safe,
and give good information.
This commit is contained in:
parent
ec1b16f7d7
commit
cb82f95ae1
2 changed files with 4 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ Attempts to get tables from a MongoDB
|
|||
|
||||
author = "Martin Holst Swende"
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = {"discovery", "safe"}
|
||||
categories = {"default", "discovery", "safe"}
|
||||
|
||||
require "mongodb"
|
||||
require "shortport"
|
||||
|
|
@ -71,4 +71,4 @@ function action(host,port)
|
|||
if result ~= nil then
|
||||
return stdnse.format_output(true, output )
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ Attempts to get build info and server status from a MongoDB
|
|||
|
||||
author = "Martin Holst Swende"
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
categories = {"discovery", "safe"}
|
||||
categories = {"default", "discovery", "safe"}
|
||||
|
||||
require "mongodb"
|
||||
require "shortport"
|
||||
|
|
@ -91,4 +91,4 @@ function action(host,port)
|
|||
local output = {"MongoDB Build info",build_out,"Server status",stat_out}
|
||||
|
||||
return stdnse.format_output(true, output )
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue