mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Renamed http-drupal-users-enum to http-drupal-enum-users and fixed
documentation and arguments accordingly.
This commit is contained in:
@@ -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 = {}
|
||||||
|
|
||||||
@@ -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", } }
|
||||||
|
|||||||
Reference in New Issue
Block a user