diff --git a/docs/scripting.xml b/docs/scripting.xml index b2e415904..ae7daced2 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -150,7 +150,7 @@ The reference manual is also - Script Scanning phase + Script Scanning phase This phase is related to Nmap host group targets, and scripts on this phase depend and run against these targets, @@ -165,7 +165,7 @@ The reference manual is also - Script Post-scanning phase + Script Post-scanning phase This phase will run at the end of an Nmap scan, and can be used to report script results and to perform statistics @@ -174,7 +174,7 @@ The reference manual is also - + NSE typical script scan is shown in the @@ -1059,7 +1059,7 @@ accept both host and port tables as arguments for any TCP or UDP port in the open|filteredopen|filtered port state, or unfilteredunfiltered port state port states. Port rules generally test factors such as the port number, port state, or listening service name in deciding whether to run against a port. Example rules are shown in . The current standard to choose between a prerule -or a postrule is: if the script is doing host discovery +or a postrule is: if the script is doing host discovery or any other network operation then the prerule should be used. The postrule is reserved for data reporting and statistics gathering that were generated during the scan. @@ -2051,7 +2051,7 @@ categories = {"default", "safe"} or execute the script's action. This decision is usually based on the type of the rule and the host and port information passed to it. A prerule or a - postrule will always evaluate to true. In the + postrule will always evaluate to true. In the case of the identification script, it is slightly more complicated than that. To decide whether to run the identification script against a given port we need to know if there is an auth