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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user