mirror of
https://github.com/nmap/nmap.git
synced 2026-02-01 19:19:09 +00:00
Include service detection information in Ndiff output. Change the output format
from 21/tcp is open, was filtered. 23/tcp is open, was filtered. 80/tcp is open, was filtered. 8701/tcp is filtered, was open. to -21/tcp filtered +21/tcp open ftp Netgear broadband router ftpd 1.0 -23/tcp filtered +23/tcp open telnet Netgear broadband router admin telnetd -80/tcp filtered +80/tcp open http Embedded Allegro RomPager webserver 4.07 UPnP/1.0 (ZyXEL ZyWALL 2) -8701/tcp open unknown +8701/tcp filtered
This commit is contained in:
@@ -135,8 +135,25 @@ The port identified by the portid and protocol attributes changed state
|
||||
from that given by the a-state attribute to that given by the b-state
|
||||
attribute.
|
||||
-->
|
||||
<!ELEMENT port-state-change EMPTY>
|
||||
<!ELEMENT port-state-change (a-service, b-service)?>
|
||||
<!ATTLIST port-state-change portid CDATA #REQUIRED
|
||||
protocol %protocol; #REQUIRED
|
||||
a-state %port-state; #REQUIRED
|
||||
b-state %port-state; #REQUIRED>
|
||||
|
||||
<!--
|
||||
The service of a port from the A scan.
|
||||
-->
|
||||
<!ELEMENT a-service EMPTY>
|
||||
<!ATTLIST a-service name CDATA #IMPLIED
|
||||
product CDATA #IMPLIED
|
||||
version CDATA #IMPLIED
|
||||
extrainfo CDATA #IMPLIED>
|
||||
<!--
|
||||
Likewise for the B scan.
|
||||
-->
|
||||
<!ELEMENT b-service EMPTY>
|
||||
<!ATTLIST b-service name CDATA #IMPLIED
|
||||
product CDATA #IMPLIED
|
||||
version CDATA #IMPLIED
|
||||
extrainfo CDATA #IMPLIED>
|
||||
|
||||
Reference in New Issue
Block a user