1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Make mongodb-info and mongodb-databases default as they're fast, safe,

and give good information.
This commit is contained in:
david
2010-01-29 22:29:56 +00:00
parent ec1b16f7d7
commit cb82f95ae1
2 changed files with 4 additions and 4 deletions

View File

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

View File

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