mirror of
https://github.com/nmap/nmap.git
synced 2026-02-13 08:56:34 +00:00
Merge r18689:r19511 from /nmap-exp/djalal/nse-rules.
o Add two new Script scan phases: Script Pre-scanning phase: before any Nmap scan operation, activated by the new "prerule". Script Post-scanning phase: after all Nmap scan operations, activated by the new "postrule". o New environment variables: SCRIPT_PATH SCRIPT_NAME SCRIPT_TYPE: the type of the rule that activated the script.
This commit is contained in:
@@ -73,8 +73,9 @@
|
||||
It represents to the topmost element of the output document.
|
||||
-->
|
||||
<!ELEMENT nmaprun (scaninfo*, verbose, debugging,
|
||||
((taskbegin, taskprogress*, taskend) | host | output)*,
|
||||
runstats) >
|
||||
((taskbegin, taskprogress*, taskend) |
|
||||
prescripts | postscripts | host | output)*,
|
||||
runstats) >
|
||||
<!ATTLIST nmaprun
|
||||
scanner (nmap) #REQUIRED
|
||||
args CDATA #IMPLIED
|
||||
@@ -332,3 +333,5 @@
|
||||
>
|
||||
|
||||
<!ELEMENT hostscript ( script+ )>
|
||||
<!ELEMENT prescript ( script+ )>
|
||||
<!ELEMENT postscript ( script+ )>
|
||||
|
||||
Reference in New Issue
Block a user