Debian Codegraph @

ndiff/README

raw
1 Ndiff
2
3 Ndiff is a tool to aid in the comparison of Nmap scans. Specifically, it
4 takes two Nmap XML output files and prints the differences between them.
5 It is capable of showing changes in host states (up or down), port
6 states (open, closed, etc.), script results, and changes in service and
7 OS detection.
8
9 To install, run (as root)
10 python setup.py install
11 It's also possible to run the program from within the distribution
12 without installing it.
13
14 Use "ndiff --help" for usage instructions.
15
16 Here is a sample of the output:
17
18 $ ./ndiff test-scans/random-1.xml test-scans/random-2.xml
19 -Nmap 4.85BETA4 at 2009-03-24 17:34
20 +Nmap 4.85BETA4 at 2009-03-25 16:35
21
22 10.137.81.38:
23 OS details:
24 FreeBSD 6.2-RELEASE
25 Apple AirPort Extreme WAP v7.3.2
26 + APC Network Management Card (AOS 3.3.5)
27 + Apple iPod touch audio player (iPhone OS 2.1)
28
29 +10.181.218.66:
30 +Host is up.
31 +Not shown: 998 closed ports
32 +PORT STATE SERVICE VERSION
33 +222/tcp open rsh-spx
34 +8080/tcp filtered http-proxy
35
36 -bpdygf-130.example.com (10.188.226.230):
37 -Host is up.
38 -Not shown: 1000 filtered ports
39
40 ysqxnovik-508.example.com (10.253.52.142):
41 PORT STATE SERVICE VERSION
42 +1503/tcp closed imtc-mcs
43 -4567/tcp open tcpwrapped
44 -OS details:
45 - HP 4000M ProCurve switch (J4121A)
46 - Nortel 5530 Ethernet Routing Switch
47 - Nortel 5520 Ethernet Routing Switch
48 - Sun StorageTek 6140 NAS device
49 - FreeBSD 6.2-RELEASE
50
51
52 Use -v or --verbose to see all hosts and ports, not just those that have
53 changed.
54
55 Ndiff started as a project by Michael Pattrick <[email protected]>
56 during the 2008 Google Summer of Code. Michael designed the program and
57 led the discussion of its output formats. He wrote versions of the
58 program in Perl and C++, but the summer ended shortly after it was
59 decided to rewrite the program in Python for the sake of Windows
60 compatibility. This Python version is written by David Fifield
61 <[email protected]>.
62
63 Ndiff web site: https://nmap.org/ndiff/