xml-to-csv-url
Convert NMAP's XML output to CSV file and print URL addresses for HTTP/HTTPS ports.
NOTE: OS Version Parsing is not working properly yet.
Features
- Create only CSV file.
- Print URLs with hostnames.
- Print URLs with IP addresses.
- Remove CSV headers from the output file.
Usage
.\xml2url.py -h
usage: xml2url.py [-h] [-f XML_FILE] [-o OUTPUT] [-n] [-pI] [-pH]
NMAP XML PARSER TO CREATE URLS
optional arguments:
-h, --help show this help message and exit
-f XML_FILE, --xml_file XML_FILE
Nmap XML output.
-o OUTPUT, --output OUTPUT
If you want to create an output, give the CSV
filename.
-n, --no_headers This flag removes the header from the CSV output File
-pI, --print_ip Print URLS with IP addresses.
-pH, --print_hostname
Print URLS with hostnames.
.\xml2url.py -f nmap.xml -o nmap_csv_output.csv
.\xml2url.py -f nmap.xml -o nmap_csv_output.csv -pI
.\xml2url.py -f nmap.xml -o nmap_csv_output.csv -pI -pH
Related
Here are some related projects