mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +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
|
||||
--
|
||||
-- Also available is the <code>StateMsg</code> table, used to map these numbers
|
||||
-- to a description.
|
||||
-- @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 = {
|
||||
LOCKED = 1,
|
||||
VALID = 2,
|
||||
|
||||
@@ -43,6 +43,7 @@ ERRORS = {
|
||||
|
||||
--- Application constants
|
||||
-- @class table
|
||||
-- @name APPNO
|
||||
APPNO = {
|
||||
BindRequest = 0,
|
||||
BindResponse = 1,
|
||||
|
||||
@@ -810,13 +810,13 @@ end
|
||||
-- Host information for NTLM security
|
||||
-- @class table
|
||||
-- @name host_info
|
||||
-- @field target_realm
|
||||
-- @field netbios_computer_name
|
||||
-- @field netbios_domain_name
|
||||
-- @field fqdn
|
||||
-- @field dns_domain_name
|
||||
-- @field dns_forest_name
|
||||
-- @field timestamp
|
||||
-- @field target_realm Target Name Data
|
||||
-- @field netbios_computer_name Server name
|
||||
-- @field netbios_domain_name Domain name
|
||||
-- @field fqdn DNS server name
|
||||
-- @field dns_domain_name DNS domain name
|
||||
-- @field dns_forest_name DNS tree name
|
||||
-- @field timestamp Timestamp
|
||||
|
||||
---
|
||||
-- Gets host info from a security blob
|
||||
|
||||
Reference in New Issue
Block a user