diff --git a/docs/nmap-install.xml b/docs/nmap-install.xml
index 626155ea9..238723d17 100644
--- a/docs/nmap-install.xml
+++ b/docs/nmap-install.xml
@@ -250,7 +250,7 @@ SVN is most useful for Nmap developers and users who need a fix which
hasn't yet been formally released.
-SVN write access is strictly limited to a top Nmap
+SVN write access is strictly limited to top Nmap
developers, but everyone has read access to the repository. Check out
the latest code using the command svn co --username guest
--password "" svn://svn.insecure.org/nmap/. Then you can later
diff --git a/docs/scripting.xml b/docs/scripting.xml
index 06a0801b8..551d90408 100644
--- a/docs/scripting.xml
+++ b/docs/scripting.xml
@@ -628,7 +628,7 @@ that.
which run only once against a target IP and port
rules which run against individual ports on a
target. A rule is a Lua function which takes a host and a
- port table as arguments and must returns a boolean value. If the rule
+ port table as arguments and must return a Boolean value. If the rule
evaluates to true, the script action
is performed. Otherwise the action is skipped. Port rules are
only matched against TCP or UDP ports in the
@@ -1289,7 +1289,7 @@ if(s) code_to_be_done_on_match end
Returns a list containing only those elements for which the predicate
returns true. The predicate has to be a function, which takes an
element of the list as argument and the result of which
- is interpreted as boolean value. If it returns true (or rather
+ is interpreted as a Boolean value. If it returns true (or rather
anything besides false and nil)
the argument is appended to the return value of filter.
For example: listop.filter(isnumber,{1,2,3,"foo",4,"bar"}) returns
@@ -1644,7 +1644,7 @@ if(s) code_to_be_done_on_match end
This function simply connects to the specified port number on
the specified host and returns any data received.
- bool is a boolean value indicating success.
+ bool is a Boolean value indicating success.
If bool is true, then the second returned
value is the response from the target host. If bool
is false, an error message is returned as the second value instead
@@ -1661,7 +1661,7 @@ if(s) code_to_be_done_on_match end
This function connects to the specified port number on the
specified host, sends data, then waits for
and returns the response, if any. bool is a
- boolean value indicating success. If bool is
+ Boolean value indicating success. If bool is
true, then the second returned value is the response from the
target host. If bool is false, an error message
is returned as the second value instead of a response.
@@ -1750,7 +1750,7 @@ if(s) code_to_be_done_on_match end
This function reads and parses Nmap's nmap-protocols
- file. bool is a boolean value indicating success.
+ file. bool is a Boolean value indicating success.
If bool is true, then the second returned
value is a table with protocol numbers indexing the protocol
names. If bool is false, an error message
@@ -1765,7 +1765,7 @@ if(s) code_to_be_done_on_match end
This function reads and parses Nmap's nmap-rpc
- file. bool is a boolean value indicating success.
+ file. bool is a Boolean value indicating success.
If bool is true, then the second returned
value is a table with RPC numbers indexing the RPC names. If
bool is false, an error message is returned
@@ -1780,7 +1780,7 @@ if(s) code_to_be_done_on_match end
This function reads and parses Nmap's nmap-services
- file. bool is a boolean value indicating success.
+ file. bool is a Boolean value indicating success.
If bool is true, then the second returned
value is a table containing two other tables:
tcp{} and udp{}.
@@ -1991,7 +1991,7 @@ if(s) code_to_be_done_on_match end
- A boolean value indicating whether or not the target host is
+ A Boolean value indicating whether or not the target host is
directly connected (i.e. on the same network segment).
@@ -2699,7 +2699,7 @@ nmap.get_port_state({ip="127.0.0.1"}, {number="80", protocol="tcp"})
to receive_buf.The second argument
- to receive_buf is a boolean value
+ to receive_buf is a Boolean value
which indicates whether the delimiting pattern
should be returned along with the received data or
discarded. The delimiter is included if true is passed as the keeppattern argument.
@@ -2863,7 +2863,7 @@ nmap.get_port_state({ip="127.0.0.1"}, {number="80", protocol="tcp"})
Receives a captured packet. If successful, the return values are:
-status—a boolean with the value true.
+status—a Boolean with the value true.packet_len—the length of the captured packet (note, that you could have received less data if the snaplen parameter was smaller than the packet length)l2_data—data from the second OSI layer (e.g. ethernet headers)l3_data—data from the third OSI layer (e.g. IPv4 headers).
@@ -3103,7 +3103,7 @@ try(socket:send(result))
Writing a function which is treated properly by the
try/catch mechanism is straightforward. The function should
- return multiple values. The first value should be a boolean
+ return multiple values. The first value should be a Boolean
which is true upon successful completion of the function and
false otherwise. If the function completed successfully the try
construct consumes the indicator value and returns the