mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 04:25:15 +00:00
Add support for prerule and postrule scripts to Ndiff.
This commit is contained in:
parent
bb07ca0b57
commit
98daa69d41
3 changed files with 92 additions and 7 deletions
|
|
@ -71,9 +71,12 @@ unchanged.
|
|||
version 0, which was rather different. -->
|
||||
<!ATTLIST nmapdiff version CDATA #IMPLIED>
|
||||
|
||||
<!ELEMENT scandiff (hostdiff | host)*>
|
||||
<!ELEMENT scandiff (prescript | hostdiff | host | postscript | (a, b?) | b)*>
|
||||
|
||||
|
||||
<!ELEMENT prescript (script* | (a, b?) | b)>
|
||||
<!ELEMENT postscript (script* | (a, b?) | b)>
|
||||
|
||||
<!ELEMENT hostdiff (host | (a, b?) | b)>
|
||||
|
||||
<!ELEMENT host (status | address | hostnames | ports | os | hostscript | a | b)*>
|
||||
|
|
@ -124,6 +127,6 @@ version 0, which was rather different. -->
|
|||
|
||||
<!ELEMENT hostscript (script | a | b)*>
|
||||
|
||||
<!ENTITY % diff-elem "(host | hostname | extraports* | port | state | service | script | os | osmatch* | hostscript)">
|
||||
<!ENTITY % diff-elem "(prescript | postscript | host | hostname | extraports* | port | state | service | script | os | osmatch* | hostscript)">
|
||||
<!ELEMENT a %diff-elem;>
|
||||
<!ELEMENT b %diff-elem;>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue