1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 05:31:31 +00:00

Renamed http-drupal-users-enum to http-drupal-enum-users and fixed

documentation and arguments accordingly.
This commit is contained in:
patrik
2012-03-22 00:09:28 +00:00
parent e8c4db180d
commit 05d3fa68d9
2 changed files with 5 additions and 5 deletions

View File

@@ -12,18 +12,18 @@ For more information,see:
--- ---
-- @usage -- @usage
-- nmap --script=http-drupal-users --script-arg http-drupal-users.root="/path/" <targets> -- nmap --script=http-drupal-enum-users --script-arg http-drupal-enum-users.root="/path/" <targets>
-- --
-- @output -- @output
-- PORT STATE SERVICE REASON -- PORT STATE SERVICE REASON
-- 80/tcp open http syn-ack -- 80/tcp open http syn-ack
-- | http-drupal-users: -- | http-drupal-enum-users:
-- | admin -- | admin
-- | alex -- | alex
-- | manager -- | manager
-- |_ user -- |_ user
-- --
-- @args http-drupal-users.root base path. Defaults to "/" -- @args http-drupal-enum-users.root base path. Defaults to "/"
author = "Hani Benhabiles" author = "Hani Benhabiles"
license = "Same as Nmap--See http://nmap.org/book/man-legal.html" license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
@@ -37,7 +37,7 @@ require 'json'
portrule = shortport.http portrule = shortport.http
action = function(host, port) action = function(host, port)
local root = stdnse.get_script_args("http-drupal-users.root") or "/" local root = stdnse.get_script_args(SCRIPT_NAME .. ".root") or "/"
local character, allrequests,user local character, allrequests,user
local result = {} local result = {}

View File

@@ -118,7 +118,7 @@ Entry { filename = "http-cors.nse", categories = { "default", "discovery", "safe
Entry { filename = "http-date.nse", categories = { "discovery", "safe", } } Entry { filename = "http-date.nse", categories = { "discovery", "safe", } }
Entry { filename = "http-default-accounts.nse", categories = { "auth", "discovery", "safe", } } Entry { filename = "http-default-accounts.nse", categories = { "auth", "discovery", "safe", } }
Entry { filename = "http-domino-enum-passwords.nse", categories = { "auth", "intrusive", } } Entry { filename = "http-domino-enum-passwords.nse", categories = { "auth", "intrusive", } }
Entry { filename = "http-drupal-users-enum.nse", categories = { "discovery", "intrusive", } } Entry { filename = "http-drupal-enum-users.nse", categories = { "discovery", "intrusive", } }
Entry { filename = "http-email-harvest.nse", categories = { "discovery", "safe", } } Entry { filename = "http-email-harvest.nse", categories = { "discovery", "safe", } }
Entry { filename = "http-enum.nse", categories = { "discovery", "intrusive", "vuln", } } Entry { filename = "http-enum.nse", categories = { "discovery", "intrusive", "vuln", } }
Entry { filename = "http-favicon.nse", categories = { "default", "discovery", "safe", } } Entry { filename = "http-favicon.nse", categories = { "default", "discovery", "safe", } }