Skip to content

Converts Nmap XML output to csv file, and other useful functions

Notifications You must be signed in to change notification settings

3v1lC0d3/Nmap-XML-to-CSV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

Nmap - xml2csv

Converts Nmap XML output to csv file, and other useful functions. Ignores hosts that are down and ports that are not open.

As featured in, Advanced Nmap - Scanning Large Scale Networks:

https://www.youtube.com/watch?v=okCNbKSdmDA

Usage

Convert Nmap output to csv file

python3 xml2csv.py -f nmap_scan.xml -csv nmap_scan.csv

Display scan information to the terminal

python3 xml2csv.py -f nmap_scan.xml -p

Display only IP addresses

python3 xml2csv.py -f nmap_scan.xml -ip

Display IP addresses/ports in URL friendly format

Displays in format http(s)://ipaddr:port if port is a possible web port

python3 xml2csv.py -f nmap_scan.xml -pw

Display least common open ports

Displays the 10 least common open ports

python3 xml2csv.py -f nmap_scan.xml -lc 10

Display most common open ports

Displays the 10 most common open ports

python3 xml2csv.py -f nmap_scan.xml -mc 10

Display only IP addresses with a specified open port

Displays only IP addresses where port 23 is open

python3 xml2csv.py -f nmap_scan.xml -fp 23

About

Converts Nmap XML output to csv file, and other useful functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%