• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

docs/H10-Oct-2020-992835

scripts/H10-Oct-2020-8651

test-scans/H10-Oct-2020-3,7833,715

LICENSEH A D02-Oct-2020231 54

READMEH A D05-Nov-20151.9 KiB6450

ndiff.pyH A D02-Oct-202053.8 KiB1,5401,258

ndifftest.pyH A D22-May-201426.3 KiB808680

setup.pyH A D30-Dec-201911 KiB315235

README

1Ndiff
2
3Ndiff is a tool to aid in the comparison of Nmap scans. Specifically, it
4takes two Nmap XML output files and prints the differences between them.
5It is capable of showing changes in host states (up or down), port
6states (open, closed, etc.), script results, and changes in service and
7OS detection.
8
9To install, run (as root)
10	python setup.py install
11It's also possible to run the program from within the distribution
12without installing it.
13
14Use "ndiff --help" for usage instructions.
15
16Here 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
52Use -v or --verbose to see all hosts and ports, not just those that have
53changed.
54
55Ndiff started as a project by Michael Pattrick <mpattrick@rhinovirus.org>
56during the 2008 Google Summer of Code. Michael designed the program and
57led the discussion of its output formats. He wrote versions of the
58program in Perl and C++, but the summer ended shortly after it was
59decided to rewrite the program in Python for the sake of Windows
60compatibility. This Python version is written by David Fifield
61<david@bamsoftware.com>.
62
63Ndiff web site: https://nmap.org/ndiff/
64