Skip to main content

SuperParseNmap is a command line utility that parses nmap XML into CSV or Excel format.

Project description

SuperParseNmap: Yet Another (super!) Nmap Parser

Package PyPI - Status Upload Python Package PyPI Latest Release PyPI - License
Compatibility PyPI - Python Version

Table of Contents

Introduction

SuperParseNmap is a command line utility that generates files containing open port summaries from nmap XML.

  • Supported outputs are CSV and Excel. Excel will contain additional sheets split grouped by port number and containing correlated IP addresses.
  • Additional option for outputting IP address lists to flat files grouped by port for importing into command-line interface security tools.

Where to get it

The source code is currently hosted on GitHub at: https://github.com/jfarl/superparsenmap

Recommended Installation

Binary installers for the latest released version are available at the Python Package Index (PyPI)

# PyPI
pip3 install superparsenmap

pip Installation From Source

In the superparsenmap directory (same one where you found this file after cloning the git repo), execute:

> python3 -m build
> pip3 install dist/superparsenmap-1.x.x.tar.gz
> pip3 show superparsenmap # Check the install location and ensure it's registered in your $PATH/PATH
> superparsenmap --help

Manual Usage

In the superparsenmap directory (same one where you found this file after cloning the git repo), execute:

# Build the project first
python3 -m build

Then,

python3 superparsenmap.py

or

python3 -m superparsenmap

Usage Examples:

To run the script with minimum required options:

superparsenmap -i nmap_results.xml

To specify an output file:

superparsenmap -i nmap_results.xml -o hosts --excel

To overwrite the output file if it already exists:

superparsenmap -i nmap_results.xml -o output_result --overwrite

To generate a directory of text files grouped by ports:

superparsenmap -i nmap_results.xml --txt

To display help for available operations:

superparsenmap --help

License

This project is licensed under the GNU General Public License (GNU GPL). See license.txt

Python Version Support

This project requires Python 3. It does not support Python 2.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superparsenmap-1.2.1.tar.gz (43.5 kB view hashes)

Uploaded Source

Built Distribution

superparsenmap-1.2.1-py3-none-any.whl (31.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page