/nmap-xml-to-csv

edit of materaj/nmap-parser-xml-to-csv

Primary LanguagePython

Script for parsing nmap xml output to csv format

This script is originate by Didier Stevens, modified by Sumedt Jitpukdebodin then copied and modified by myself @Freakazoidile

Version

  • 0.1 - Change some display and fix the bug of parser multiple ports and hosts
  • 0.2 - Rearrange columns and add end time column into output csv.
  • 0.3 - Change some things as it was kind of wonky before.

How to use

  1. Normal usage for display result ./nmap-xml-script-output-modify.py test.xml
  2. Change default delimiter(;) to , ./nmap-xml-script-output-modify.py test.xml -s ', '
  3. Output to test.csv ./nmap-xml-script-output-modify.py test.xml -s ', ' -o test.csv