From 516a8ddd0c3bc818f445fed3f1397a9eb773d40c Mon Sep 17 00:00:00 2001 From: fyodor Date: Wed, 31 Dec 2008 22:22:12 +0000 Subject: [PATCH] proofreading from Raul Siles --- docs/refguide.xml | 2 +- docs/scripting.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/refguide.xml b/docs/refguide.xml index 32b6d498f..9071e4aa1 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -2044,7 +2044,7 @@ until found:data filesdirectory search --datadir/; $NMAPDIR/;NMAPDIR environment variable ~/.nmap/ (not searched on Windows);.nmap directory -NMAPDATADIR/ orNMAPDATADIR +NMAPDATADIR/ orNMAPDATADIR ./. A scripts/ subdirectory is also tried in each of these. diff --git a/docs/scripting.xml b/docs/scripting.xml index e0b2c8e30..ca2a52383 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -442,7 +442,7 @@ until found:data filesdirectory search --datadir/; $NMAPDIR/;NMAPDIR environment variable ~/.nmap/ (not searched on Windows);.nmap directory -NMAPDATADIR/ orNMAPDATADIR +NMAPDATADIR/ orNMAPDATADIR ./. A scripts/ subdirectory is also tried in each of these. @@ -827,7 +827,7 @@ action refer to . Lua, we have written or integrated many extension libraries which make script writing more powerful and convenient. These libraries (sometimes called modules) are compiled if necessary and installed along with Nmap. They have their own directory, nselib, which - is installed in the configured datadir. Scripts need only + is installed in the configured Nmap data directory. Scripts need only require the default libraries in order to use them. @@ -2407,7 +2407,7 @@ stored inside the registry.registry and open|filteredopen|filtered port state port on the hosts. The combination can grow quite large, so portrules should be kept as simple as possible. Save any heavy computation for the script's action. -Next, a Lua thread is created for each of the matching script-target combinations. Each thread +Next, a Lua thread is created for each of the matching script-target combinations. Each thread is stored with pertinent information such as the runlevel, target, target port (if applicable), host and port tables (passed to the action), and the script type (service or host script). The mainloop function then processes each runlevel grouping of threads in order.