mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
Fix NSEdoc errors
1. All @table blocks must have an explicit @name 2. All @field blocks must have both a name and description Also added some more information to the creds.States table description
This commit is contained in:
@@ -105,7 +105,22 @@ _ENV = stdnse.module("creds", stdnse.seeall)
|
|||||||
|
|
||||||
|
|
||||||
--- Table mapping the different account states to their number
|
--- Table mapping the different account states to their number
|
||||||
|
--
|
||||||
|
-- Also available is the <code>StateMsg</code> table, used to map these numbers
|
||||||
|
-- to a description.
|
||||||
-- @class table
|
-- @class table
|
||||||
|
-- @name State
|
||||||
|
-- @field LOCKED Account is locked
|
||||||
|
-- @field VALID Valid credentials
|
||||||
|
-- @field DISABLED Account is disabled
|
||||||
|
-- @field CHANGEPW Valid credentials, password must be changed at next logon
|
||||||
|
-- @field PARAM Credentials passed to script during Nmap execution
|
||||||
|
-- @field EXPIRED Valid credentials, account expired
|
||||||
|
-- @field TIME_RESTRICTED Valid credentials, account cannot log in at current time
|
||||||
|
-- @field HOST_RESTRICTED Valid credentials, account cannot log in from current host
|
||||||
|
-- @field LOCKED_VALID Valid credentials, account locked
|
||||||
|
-- @field DISABLED_VALID Valid credentials, account disabled
|
||||||
|
-- @field HASHED Hashed valid or invalid credentials
|
||||||
State = {
|
State = {
|
||||||
LOCKED = 1,
|
LOCKED = 1,
|
||||||
VALID = 2,
|
VALID = 2,
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ ERRORS = {
|
|||||||
|
|
||||||
--- Application constants
|
--- Application constants
|
||||||
-- @class table
|
-- @class table
|
||||||
|
-- @name APPNO
|
||||||
APPNO = {
|
APPNO = {
|
||||||
BindRequest = 0,
|
BindRequest = 0,
|
||||||
BindResponse = 1,
|
BindResponse = 1,
|
||||||
|
|||||||
@@ -810,13 +810,13 @@ end
|
|||||||
-- Host information for NTLM security
|
-- Host information for NTLM security
|
||||||
-- @class table
|
-- @class table
|
||||||
-- @name host_info
|
-- @name host_info
|
||||||
-- @field target_realm
|
-- @field target_realm Target Name Data
|
||||||
-- @field netbios_computer_name
|
-- @field netbios_computer_name Server name
|
||||||
-- @field netbios_domain_name
|
-- @field netbios_domain_name Domain name
|
||||||
-- @field fqdn
|
-- @field fqdn DNS server name
|
||||||
-- @field dns_domain_name
|
-- @field dns_domain_name DNS domain name
|
||||||
-- @field dns_forest_name
|
-- @field dns_forest_name DNS tree name
|
||||||
-- @field timestamp
|
-- @field timestamp Timestamp
|
||||||
|
|
||||||
---
|
---
|
||||||
-- Gets host info from a security blob
|
-- Gets host info from a security blob
|
||||||
|
|||||||
Reference in New Issue
Block a user