mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
Make Ndiff install as a Python module as well as script
Discussion: http://seclists.org/nmap-dev/2013/q4/19
This commit is contained in:
21
ndiff/scripts/ndiff
Executable file
21
ndiff/scripts/ndiff
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Ndiff
|
||||
#
|
||||
# This programs reads two Nmap XML files and displays a list of their
|
||||
# differences.
|
||||
#
|
||||
# Copyright 2008 Insecure.Com LLC
|
||||
# Ndiff is distributed under the same license as Nmap. See the file COPYING or
|
||||
# http://nmap.org/data/COPYING. See http://nmap.org/book/man-legal.html for more
|
||||
# details.
|
||||
#
|
||||
# David Fifield
|
||||
# based on a design by Michael Pattrick
|
||||
|
||||
import ndiff
|
||||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.excepthook = ndiff.excepthook
|
||||
sys.exit(ndiff.main())
|
||||
Reference in New Issue
Block a user