mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 02:09: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:
@@ -12,28 +12,28 @@
|
||||
-- The Binlib functions take a format string to encode and decode binary
|
||||
-- data. Packing and unpacking are controlled by the following operator
|
||||
-- characters:\n
|
||||
-- H: hex string\n
|
||||
-- B: bit string\n
|
||||
-- x: null byte\n
|
||||
-- z: zero-terminated string\n
|
||||
-- p: string preceded by 1-byte integer length\n
|
||||
-- P: string preceded by 2-byte integer length\n
|
||||
-- a: string preceded by 4-byte integer length\n
|
||||
-- A: string\n
|
||||
-- f: float\n
|
||||
-- d: double\n
|
||||
-- n: Lua number\n
|
||||
-- c: char (1-byte integer)\n
|
||||
-- C: byte = unsigned char (1-byte unsigned integer)\n
|
||||
-- s: short (2-byte integer)\n
|
||||
-- S: unsigned short (2-byte unsigned integer)\n
|
||||
-- i: int (4-byte integer)\n
|
||||
-- I: unsigned int (4-byte unsigned integer)\n
|
||||
-- l: long (8-byte integer)\n
|
||||
-- L: unsigned long (8-byte unsigned integer)\n
|
||||
-- <: little endian modifier\n
|
||||
-- >: big endian modifier\n
|
||||
-- =: native endian modifier
|
||||
-- * H: hex string
|
||||
-- * B: bit string
|
||||
-- * x: null byte
|
||||
-- * z: zero-terminated string
|
||||
-- * p: string preceded by 1-byte integer length
|
||||
-- * P: string preceded by 2-byte integer length
|
||||
-- * a: string preceded by 4-byte integer length
|
||||
-- * A: string
|
||||
-- * f: float
|
||||
-- * d: double
|
||||
-- * n: Lua number
|
||||
-- * c: char (1-byte integer)
|
||||
-- * C: byte = unsigned char (1-byte unsigned integer)
|
||||
-- * s: short (2-byte integer)
|
||||
-- * S: unsigned short (2-byte unsigned integer)
|
||||
-- * i: int (4-byte integer)
|
||||
-- * I: unsigned int (4-byte unsigned integer)
|
||||
-- * l: long (8-byte integer)
|
||||
-- * L: unsigned long (8-byte unsigned integer)
|
||||
-- * <: little endian modifier
|
||||
-- * >: big endian modifier
|
||||
-- * =: native endian modifier
|
||||
-- \n\n
|
||||
-- Note that the endian operators work as modifiers to all the
|
||||
-- characters following them in the format string.
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
-- OpenSSL support was enabled at compile time. Scripts using the module should
|
||||
-- be made to fail gracefully using code like the following:
|
||||
-- \n\n
|
||||
-- <code>
|
||||
-- if not pcall(require, "openssl") then\n
|
||||
-- action = function(host, port)\n
|
||||
-- stdnse.print_debug(2, "Skipping \"%s\" because OpenSSL is missing.", id)\n
|
||||
@@ -15,6 +16,7 @@
|
||||
-- action = action or function(host, port)\n
|
||||
-- ...\n
|
||||
-- end
|
||||
-- </code>
|
||||
-- @author Sven Klemm <sven@c3d2.de>
|
||||
-- @copyright See nmaps COPYING for licence
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ Both meta and HTTP redirects are supported.
|
||||
It is not advisable to run this against unknown hosts.
|
||||
\n\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
|
||||
cannot follow absolute links when the hostname is
|
||||
different from the resolved ip address
|
||||
|
||||
@@ -15,9 +15,9 @@ it is vulnerable to sniffing.
|
||||
\n\n
|
||||
Challenge/response passwords: If enabled, the server can accept any type of
|
||||
password:\n
|
||||
* Plaintext\n
|
||||
* LM and NTLM\n
|
||||
* LMv2 and NTLMv2\n
|
||||
* Plaintext
|
||||
* LM and NTLM
|
||||
* LMv2 and NTLMv2
|
||||
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
|
||||
to accept plaintext passwords, it is vulnerable to sniffing.
|
||||
|
||||
Reference in New Issue
Block a user