1
0
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:
jah
2008-10-18 20:49:00 +00:00
parent f6c4c7d653
commit eacb951209
6 changed files with 6 additions and 7 deletions

View File

@@ -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 = {

View File

@@ -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 = {}

View File

@@ -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 = ""

View File

@@ -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 _

View File

@@ -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

View File

@@ -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