From cb82f95ae1a0dee9541b2c3cc6a992878f12926c Mon Sep 17 00:00:00 2001 From: david Date: Fri, 29 Jan 2010 22:29:56 +0000 Subject: [PATCH] Make mongodb-info and mongodb-databases default as they're fast, safe, and give good information. --- scripts/mongodb-databases.nse | 4 ++-- scripts/mongodb-info.nse | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mongodb-databases.nse b/scripts/mongodb-databases.nse index 4a46b16b2..ecfc2e2b9 100644 --- a/scripts/mongodb-databases.nse +++ b/scripts/mongodb-databases.nse @@ -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 \ No newline at end of file +end diff --git a/scripts/mongodb-info.nse b/scripts/mongodb-info.nse index 47cf81897..fb6fd8676 100644 --- a/scripts/mongodb-info.nse +++ b/scripts/mongodb-info.nse @@ -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 \ No newline at end of file +end