1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 05:09:14 +00:00

Fix NSEDoc.

This commit is contained in:
david
2010-03-31 20:28:14 +00:00
parent 4d034b36d2
commit 5fa554266b
26 changed files with 41 additions and 50 deletions

View File

@@ -18,7 +18,7 @@ http://wiki.apache.org/couchdb/HTTP_database_API
-- | 5 = creditcards
-- | 6 = test_suite_users
-- |_ 7 = test_suite_db_b
--@version 0.2
-- version 0.2
-- Created 01/12/2010 - v0.1 - created by Martin Holst Swende <martin@swende.se>
-- TODO : Authentication not implemented

View File

@@ -30,7 +30,7 @@ http://wiki.apache.org/couchdb/HTTP_database_API
-- | current = 5
-- | count = 1617
-- |_ Authentication : NOT enabled ('admin party')
--@version 0.3
-- version 0.3
--
-- Created 01/20/2010 - v0.1 - created by Martin Holst Swende <martin@swende.se>
-- Modified 07/02/2010 - v0.2 - added test if auth is enabled, compacted output a bit (mhs)

View File

@@ -435,7 +435,7 @@ actions[61] = {name="Client Identifier (client)", func=read_string,
--@param overrides [optional] A table of overrides. If a field in the table matches a field in the DHCP
-- packet (see rfc2131 section 2 for a list of possible fields. Or, just look at the
-- code.
--@param leasetime [optional] The lease time for which to request an IP. Default: 1 second.
--@param lease_time [optional] The lease time for which to request an IP. Default: 1 second.
--@return The packet, as a string. It should be sent to the server on UDP/67.
local function dhcp_build(request_type, ip_address, mac_address, request_options, overrides, lease_time)
local packet = ''

View File

@@ -28,7 +28,7 @@ Attempts to get tables from a MongoDB
-- | sizeOnDisk = 1
-- | name = admin
-- |_ totalSize = 167772160
--@version 0.1
-- version 0.1
-- Created 01/12/2010 - v0.1 - created by Martin Holst Swende <martin@swende.se>

View File

@@ -40,7 +40,7 @@ Attempts to get build info and server status from a MongoDB
-- | heap_usage_bytes = 117120
-- | note = fields vary by platform
-- |_ page_faults = 0
--@version 0.2
-- version 0.2
-- Created 01/12/2010 - v0.1 - created by Martin Holst Swende <martin@swende.se>

View File

@@ -170,7 +170,6 @@ end
--- Create a TCP Packet object
-- @param host Host object
-- @param port Port number
-- @return TCP Packet object
local genericpkt = function(host)
local pkt = bin.pack("H",

View File

@@ -27,7 +27,7 @@ smtp-enum-users.methods={EXPN,RCPT,VRFY}
-- @args smtp-enum-users.domain Define the domain to be used in the SMTP commands
-- @args smtp-enum-users.methods Define the methods and order to be used by the script (EXPN, VRFY, RCPT)
--
-- @changelog
-- changelog
-- 2010-03-07 Duarte Silva <duarte.silva@myf00.net>
-- * First version ;)
-- 2010-03-14 Duarte Silva <duarte.silva@myf00.net>
@@ -256,6 +256,8 @@ function do_vrfy(socket, username, domain)
return do_gnrc(socket, "VRFY", username, domain)
end
issued_from = false
---Verify if a username is valid using the RCPT method. It will only issue the MAIL FROM
-- command if the issued_from flag is false. The MAIL FROM command does not need to
-- be issued each time an RCPT TO is used. Otherwise it should also be issued a RSET
@@ -265,8 +267,6 @@ end
-- @param username User name to test
-- @param domain Domain to use in the command
-- @return Status and depending on the code, a error message
issued_from = false
function do_rcpt(socket, username, domain)
if not issued_from then
-- Lets try to issue MAIL FROM command.

View File

@@ -32,7 +32,7 @@ printed with the list of any combinations that were found prior to the error.
-- @args smtp-open-relay.to Define the destination email address to be used (without the domain, default is
-- relaytest)
--
-- @changelog
-- changelog
-- 2007-05-16 Arturo 'Buanzo' Busleiman <buanzo@buanzo.com.ar>
-- + Added some strings to return in different places
-- * Changed "HELO www.[ourdomain]" to "EHLO [ourdomain]"

View File

@@ -73,7 +73,7 @@ local iana_types = { "other", "regular1822", "hdh1822", "ddnX25", "rfc877x25", "
--- Walks the MIB Tree
--
-- @param socket socket already connected to the server
-- @base_oid string containing the base object ID to walk
-- @param base_oid string containing the base object ID to walk
-- @return table containing <code>oid</code> and <code>value</code>
function snmp_walk( socket, base_oid )

View File

@@ -33,7 +33,7 @@ portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
--- Walks the MIB Tree
--
-- @param socket socket already connected to the server
-- @base_oid string containing the base object ID to walk
-- @param base_oid string containing the base object ID to walk
-- @return table containing <code>oid</code> and <code>value</code>
function snmp_walk( socket, base_oid )

View File

@@ -43,7 +43,7 @@ portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
--- Walks the MIB Tree
--
-- @param socket socket already connected to the server
-- @base_oid string containing the base object ID to walk
-- @param base_oid string containing the base object ID to walk
-- @return table containing <code>oid</code> and <code>value</code>
function snmp_walk( socket, base_oid )

View File

@@ -36,7 +36,7 @@ portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
--- Walks the MIB Tree
--
-- @param socket socket already connected to the server
-- @base_oid string containing the base object ID to walk
-- @param base_oid string containing the base object ID to walk
-- @return table containing <code>oid</code> and <code>value</code>
function snmp_walk( socket, base_oid )

View File

@@ -29,7 +29,7 @@ portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
--- Walks the MIB Tree
--
-- @param socket socket already connected to the server
-- @base_oid string containing the base object ID to walk
-- @param base_oid string containing the base object ID to walk
-- @return table containing <code>oid</code> and <code>value</code>
function snmp_walk( socket, base_oid )

View File

@@ -31,7 +31,7 @@ portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
--- Walks the MIB Tree
--
-- @param socket socket already connected to the server
-- @base_oid string containing the base object ID to walk
-- @param base_oid string containing the base object ID to walk
-- @return table containing <code>oid</code> and <code>value</code>
function snmp_walk( socket, base_oid )

View File

@@ -33,7 +33,7 @@ portrule = shortport.portnumber(161, "udp", {"open", "open|filtered"})
--- Walks the MIB Tree
--
-- @param socket socket already connected to the server
-- @base_oid string containing the base object ID to walk
-- @param base_oid string containing the base object ID to walk
-- @return table containing <code>oid</code> and <code>value</code>
function snmp_walk( socket, base_oid )