Update README.md

This commit is contained in:
NetsecExplained 2020-02-07 18:54:43 -07:00 committed by GitHub
parent e00f472673
commit 5f7388cf2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,33 +1,33 @@
# Nmap-XML-Parser
# Nmap - xml2csv
Converts Nmap XML output to csv file, and other useful functions. Ignores hosts that are down and ports that are not open.
## Usage
### Convert Nmap output to csv file
`python3 nmap_xml_parser.py -f nmap_scan.xml -csv nmap_scan.csv`
`python3 xml2csv.py -f nmap_scan.xml -csv nmap_scan.csv`
### Display scan information to the terminal
`python3 nmap_xml_parser.py -f nmap_scan.xml -p`
`python3 xml2csv.py -f nmap_scan.xml -p`
### Display only IP addresses
`python3 nmap_xml_parser.py -f nmap_scan.xml -ip`
`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 nmap_xml_parser.py -f nmap_scan.xml -pw`
`python3 xml2csv.py -f nmap_scan.xml -pw`
### Display least common open ports
> Displays the 10 least common open ports
`python3 nmap_xml_parser.py -f nmap_scan.xml -lc 10`
`python3 xml2csv.py -f nmap_scan.xml -lc 10`
### Display most common open ports
> Displays the 10 most common open ports
`python3 nmap_xml_parser.py -f nmap_scan.xml -mc 10`
`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 nmap_xml_parser.py -f nmap_scan.xml -fp 23`
`python3 xml2csv.py -f nmap_scan.xml -fp 23`