Python script for converting nmap reports into XLSX, a friendly fork of https://github.com/mrschyte/nmap-converter
sudo pip install python-libnmap
sudo pip install XlsxWriter
or
sudo pip install -r requirements.txt
usage: nmap-converter.py [-h] [-o XLSX] XML [XML ...]
positional arguments:
XML path to nmap xml report
optional arguments:
-h, --help show this help message and exit
-o XLSX, --output XLSX path to xlsx output
- Forcing use of Python 3.
- Fixed issues I encountered with 'script["output"]'. Implemented try/except to avoid fatal errors.
- Added 'PTR' column in 'Hosts' sheet, hostnames are stored as an array.
- Using XLSX instead of XLS, as XLS gave validation errors upon opening in Microsoft Office.