mirror of
https://github.com/nmap/nmap.git
synced 2026-02-06 21:46:34 +00:00
Add the new <target> element to XML output.
This element is intended to report information about command-line target specifications. Now it's used with status="skipped" to indicate that a specification was ignored.
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
It represents to the topmost element of the output document.
|
||||
-->
|
||||
<!ELEMENT nmaprun (scaninfo*, verbose, debugging,
|
||||
( taskbegin | taskprogress | taskend |
|
||||
( target | taskbegin | taskprogress | taskend |
|
||||
prescript | postscript | host | output)*,
|
||||
runstats) >
|
||||
<!ATTLIST nmaprun
|
||||
@@ -103,6 +103,12 @@
|
||||
<!ELEMENT debugging EMPTY >
|
||||
<!ATTLIST debugging level %attr_numeric; #IMPLIED >
|
||||
|
||||
<!ELEMENT target EMPTY >
|
||||
<!ATTLIST target specification CDATA #REQUIRED
|
||||
status (skipped) #IMPLIED
|
||||
reason (invalid) #IMPLIED
|
||||
>
|
||||
|
||||
<!-- this element is written in timing.c:beginOrEndTask() -->
|
||||
<!ELEMENT taskbegin EMPTY >
|
||||
<!ATTLIST taskbegin
|
||||
|
||||
Reference in New Issue
Block a user