-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
root@kali:~/Desktop/ndiff-bug# cat base.xml
<nmaprun>
<host>
<status reason="echo-reply" reason_ttl="127" state="up" />
<address addr="8.8.8.8" addrtype="ipv4" />
<hostnames>
<hostname name="ns1.google.com" type="PTR" />
</hostnames>
<times rttvar="5000" srtt="1610" to="50000" />
</host>
<host>
<status state="up" reason="echo-reply" reason_ttl="127"/>
<address addr="8.8.8.8" addrtype="ipv4"/>
<hostnames>
<hostname name="ns2.google.com" type="PTR"/>
</hostnames>
<times srtt="2510" rttvar="5000" to="50000"/>
</host>
</nmaprun>
root@kali:~/Desktop/ndiff-bug# cat scan.xml
<nmaprun>
<host>
<status state="up" reason="echo-reply" reason_ttl="127"/>
<address addr="8.8.8.8" addrtype="ipv4"/>
<hostnames>
<hostname name="ns2.google.com" type="PTR"/>
</hostnames>
<times srtt="2510" rttvar="5000" to="50000"/>
</host>
</nmaprun>
root@kali:~/Desktop/ndiff-bug# ndiff base.xml scan.xml
-ns1.google.com (8.8.8.8):
+ns2.google.com (8.8.8.8):
-ns2.google.com (8.8.8.8):
-Host is up.It will be better to see only
-ns1.google.com (8.8.8.8):