mirror of
https://github.com/nmap/nmap.git
synced 2026-01-19 12:49:02 +00:00
Fixed typos for some nsedoc tag names:
INFO processing file `nselib/datafiles.lua' ERROR undefined handler for tag `type' INFO processing file `nselib/dns.lua' ERROR undefined handler for tag `result' ERROR undefined handler for tag `result' INFO processing file `nselib/netbios.lua' ERROR undefined handler for tag `returns' INFO processing file `nselib/snmp.lua' ERROR undefined handler for tag `result' INFO processing file `scripts/SSLv2-support.nse' ERROR undefined handler for tag `ouput' Removed a @see tag which refers to Lua's string.format rather than to NSE docs: INFO generating file `docs/modules/stdnse.html' ERROR unresolved reference to symbol `string.format'
This commit is contained in:
@@ -15,7 +15,7 @@ local stdnse = require "stdnse"
|
||||
|
||||
---
|
||||
-- Capture patterns for common data files, indexed by filename.
|
||||
-- @type table
|
||||
-- @class table
|
||||
-- @name common_files
|
||||
-- @see parse_file
|
||||
local common_files = {
|
||||
|
||||
@@ -636,7 +636,7 @@ end
|
||||
---
|
||||
-- Decodes DNS flags.
|
||||
--@param Flags as binary digit string.
|
||||
--@result Table representing flags.
|
||||
--@return Table representing flags.
|
||||
local function decodeFlags(flgStr)
|
||||
flags = {}
|
||||
flgTbl = str2tbl(flgStr)
|
||||
@@ -659,7 +659,7 @@ end
|
||||
---
|
||||
-- Decodes a DNS packet.
|
||||
--@param data Encoded DNS packet.
|
||||
--@result Table representing DNS packet.
|
||||
--@return Table representing DNS packet.
|
||||
function decode(data)
|
||||
local pos
|
||||
local pkt = {}
|
||||
|
||||
@@ -76,7 +76,7 @@ end
|
||||
-- the string representation. If the encoding is invalid, it will still attempt
|
||||
-- to decode the string as best as possible.
|
||||
--@param encoded_name The L2-encoded name
|
||||
--@returns the decoded name and the scope. The name will still be padded, and the
|
||||
--@return the decoded name and the scope. The name will still be padded, and the
|
||||
-- scope will never be nil (empty string is returned if no scope is present)
|
||||
function name_decode(encoded_name)
|
||||
local name = ""
|
||||
|
||||
@@ -537,7 +537,7 @@ end
|
||||
---
|
||||
-- Fetches values from a SNMP response.
|
||||
--@param resp SNMP Response (will be decoded if necessary).
|
||||
--@result Table with all decoded responses and their OIDs.
|
||||
--@return Table with all decoded responses and their OIDs.
|
||||
function fetchResponseValues(resp)
|
||||
if (type(resp) == "string") then
|
||||
local _
|
||||
|
||||
@@ -26,7 +26,6 @@ module(... or "stdnse");
|
||||
--@param level Optional verbosity level.
|
||||
--@param fmt Format string according to string.format specifiers.
|
||||
--@param ... Arguments to format.
|
||||
--@see string.format
|
||||
print_debug = function(level, fmt, ...)
|
||||
local verbosity = tonumber(level);
|
||||
if verbosity then
|
||||
|
||||
@@ -5,7 +5,7 @@ offers.
|
||||
]]
|
||||
|
||||
---
|
||||
--@ouput
|
||||
--@output
|
||||
-- 443/tcp open https syn-ack\n
|
||||
-- | SSLv2: server still supports SSLv2\n
|
||||
-- | SSL2_RC4_128_WITH_MD5\n
|
||||
|
||||
Reference in New Issue
Block a user