mirror of
https://github.com/nmap/nmap.git
synced 2026-09-14 08:26:58 +00:00
Add "hosthint" element to XML.
This feature allows programs consuming XML output to know when a target has been found to be "up" before all scan phases are completed. This is helpful for allocating storage, communicating scan progress, or estimating total scan duration. Closes #1858.
This commit is contained in:
parent
c978ba14ca
commit
6ed754b438
5 changed files with 26 additions and 0 deletions
|
|
@ -150,6 +150,9 @@
|
|||
comment CDATA #IMPLIED
|
||||
>
|
||||
|
||||
<!-- these elements are written by scan_engine.c:ultrascan_host_pspec_update() -->
|
||||
<!ELEMENT hosthint (status,address,hostnames)* >
|
||||
|
||||
<!-- these elements are written by output.c:write_xml_initial_hostinfo() -->
|
||||
<!ELEMENT status EMPTY >
|
||||
<!ATTLIST status state %host_states; #REQUIRED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue