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

Fix some nsedoc issues with http-default-accounts

This commit is contained in:
dmiller
2015-01-15 19:50:13 +00:00
parent bfd1d61a5b
commit fb6e1f013c

View File

@@ -29,8 +29,8 @@ Remember each fingerprint must have:
* <code>login_check</code> - Login function of the target * <code>login_check</code> - Login function of the target
In addition, a fingerprint may have: In addition, a fingerprint may have:
* <code>target_check</code> - Target validation function. If defined, it will be * <code>target_check</code> - Target validation function. If defined, it will be \z
called to validate the target before attempting called to validate the target before attempting \z
any logins. any logins.
Default fingerprint file: /nselib/data/http-default-accounts-fingerprints.lua Default fingerprint file: /nselib/data/http-default-accounts-fingerprints.lua
@@ -40,20 +40,16 @@ This script was based on http-enum.
--- ---
-- @usage -- @usage
-- nmap -p80 --script http-default-accounts host/ip -- nmap -p80 --script http-default-accounts host/ip
--
-- @output -- @output
-- PORT STATE SERVICE REASON -- PORT STATE SERVICE REASON
-- 80/tcp open http syn-ack -- 80/tcp open http syn-ack
-- |_http-default-accounts: [Cacti] credentials found -> admin:admin Path:/cacti/ -- |_http-default-accounts: [Cacti] credentials found -> admin:admin Path:/cacti/
-- Final times for host: srtt: 94615 rttvar: 71012 to: 378663
-- --
-- @args http-default-accounts.basepath Base path to append to requests. Default: "/" -- @args http-default-accounts.basepath Base path to append to requests. Default: "/"
-- @args http-default-accounts.fingerprintfile Fingerprint filename. Default:http-default-accounts-fingerprints.lua -- @args http-default-accounts.fingerprintfile Fingerprint filename. Default: http-default-accounts-fingerprints.lua
-- @args http-default-accounts.category Selects a category of fingerprints to use. -- @args http-default-accounts.category Selects a category of fingerprints to use.
--
-- Other useful arguments relevant to this script:
-- http.pipeline Sets max number of petitions in the same request.
-- http.useragent User agent for HTTP requests
--
-- Revision History -- Revision History
-- 2013-08-13 nnposter -- 2013-08-13 nnposter
-- * added support for target_check() -- * added support for target_check()