glebarez / nMap_Merger

Merge multiple nMap xml files into one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is this?

Ever needed to merge results of several nmap scans into one, cute and browseable page? This tool does just that!

What will I get as output?

Below is screenshots of what you will get (All credits go to https://github.com/honze-net/nmap-bootstrap-xsl) scanme screenshot 1 scanme screenshot 2 scanme screenshot 3

Cool! Now, how to use it?

NOTE: Nmap output must be in XML format (nmap -oX flag)

and this script requires python3!

usage: nMapMerge.py [-h] [-f FILE] [-d DIR] [-q]

optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE parse FILE
--d DIR, --dir DIR parse all xml in directory
--q, --quiet don't print status messages to stdout
-t, --target target file to generate, default: nmapMerged.xml

Examples

Merge all XML files from a directory nmap_out into a single file singleReport.xml

python3 nMapMerge.py -d nmap_out -t singleReport.xml

now, open that XML in your browser (Chrome might fail, but Firefox always works!)

About

Merge multiple nMap xml files into one


Languages

Language:Python 100.0%