1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-11 10:19:03 +00:00

Commit a few NSE documenation changes I made while testing the new markup

parser; they work now.
This commit is contained in:
david
2008-10-22 23:31:47 +00:00
parent 20137202d9
commit b03230218d
5 changed files with 32 additions and 30 deletions

View File

@@ -12,28 +12,28 @@
-- The Binlib functions take a format string to encode and decode binary -- The Binlib functions take a format string to encode and decode binary
-- data. Packing and unpacking are controlled by the following operator -- data. Packing and unpacking are controlled by the following operator
-- characters:\n -- characters:\n
-- H: hex string\n -- * H: hex string
-- B: bit string\n -- * B: bit string
-- x: null byte\n -- * x: null byte
-- z: zero-terminated string\n -- * z: zero-terminated string
-- p: string preceded by 1-byte integer length\n -- * p: string preceded by 1-byte integer length
-- P: string preceded by 2-byte integer length\n -- * P: string preceded by 2-byte integer length
-- a: string preceded by 4-byte integer length\n -- * a: string preceded by 4-byte integer length
-- A: string\n -- * A: string
-- f: float\n -- * f: float
-- d: double\n -- * d: double
-- n: Lua number\n -- * n: Lua number
-- c: char (1-byte integer)\n -- * c: char (1-byte integer)
-- C: byte = unsigned char (1-byte unsigned integer)\n -- * C: byte = unsigned char (1-byte unsigned integer)
-- s: short (2-byte integer)\n -- * s: short (2-byte integer)
-- S: unsigned short (2-byte unsigned integer)\n -- * S: unsigned short (2-byte unsigned integer)
-- i: int (4-byte integer)\n -- * i: int (4-byte integer)
-- I: unsigned int (4-byte unsigned integer)\n -- * I: unsigned int (4-byte unsigned integer)
-- l: long (8-byte integer)\n -- * l: long (8-byte integer)
-- L: unsigned long (8-byte unsigned integer)\n -- * L: unsigned long (8-byte unsigned integer)
-- <: little endian modifier\n -- * <: little endian modifier
-- >: big endian modifier\n -- * >: big endian modifier
-- =: native endian modifier -- * =: native endian modifier
-- \n\n -- \n\n
-- Note that the endian operators work as modifiers to all the -- Note that the endian operators work as modifiers to all the
-- characters following them in the format string. -- characters following them in the format string.

View File

@@ -7,6 +7,7 @@
-- OpenSSL support was enabled at compile time. Scripts using the module should -- OpenSSL support was enabled at compile time. Scripts using the module should
-- be made to fail gracefully using code like the following: -- be made to fail gracefully using code like the following:
-- \n\n -- \n\n
-- <code>
-- if not pcall(require, "openssl") then\n -- if not pcall(require, "openssl") then\n
-- action = function(host, port)\n -- action = function(host, port)\n
-- stdnse.print_debug(2, "Skipping \"%s\" because OpenSSL is missing.", id)\n -- stdnse.print_debug(2, "Skipping \"%s\" because OpenSSL is missing.", id)\n
@@ -15,6 +16,7 @@
-- action = action or function(host, port)\n -- action = action or function(host, port)\n
-- ...\n -- ...\n
-- end -- end
-- </code>
-- @author Sven Klemm <sven@c3d2.de> -- @author Sven Klemm <sven@c3d2.de>
-- @copyright See nmaps COPYING for licence -- @copyright See nmaps COPYING for licence

View File

@@ -14,7 +14,7 @@ Both meta and HTTP redirects are supported.
It is not advisable to run this against unknown hosts. It is not advisable to run this against unknown hosts.
\n\n \n\n
NOTES\n NOTES\n
* We may not have access to the servers true hostname. We may not have access to the servers true hostname.
This means we cannot access virtually hosted sites and This means we cannot access virtually hosted sites and
cannot follow absolute links when the hostname is cannot follow absolute links when the hostname is
different from the resolved ip address different from the resolved ip address

View File

@@ -15,9 +15,9 @@ it is vulnerable to sniffing.
\n\n \n\n
Challenge/response passwords: If enabled, the server can accept any type of Challenge/response passwords: If enabled, the server can accept any type of
password:\n password:\n
* Plaintext\n * Plaintext
* LM and NTLM\n * LM and NTLM
* LMv2 and NTLMv2\n * LMv2 and NTLMv2
If it isn't set, the server can only accept plaintext passwords. Most servers If it isn't set, the server can only accept plaintext passwords. Most servers
are configured to use challenge/response these days. If a server is configured are configured to use challenge/response these days. If a server is configured
to accept plaintext passwords, it is vulnerable to sniffing. to accept plaintext passwords, it is vulnerable to sniffing.