Skip to main content

ews-nmap

ews-nmap

Extract Web Servers from Nmap

Table of Contents

Overview

ews-nmap (Extract Web Servers from Nmap) is a simple script that allows you to easily find all web servers from the XML output of Nmap. The script performs a simple scraping of the informations in the XML file and identifies HTTP/S services.

Getting Started

Run nmap and save XML output, for example:

nmap -sV -oX <nmap_output.xml>  

Example

The output of the tool is like the following: Execution example

Install & Run

To install it you just need to run:

pipx install ews-nmap

Run without installing

Prerequisites

Install dependencies by using the following command:

pip install -r requirements.txt
chmod +x ewsnmap/ewsnmap.py
Usage: ewsnmap.py NMAP_XML_FILE <flags>
  optional flags:        --output_dir | --txtout | --csvout
  

To run the parser:

ewsnmap.py <nmap_output.xml>   

the script will generate a file output.txt and a file output.csv in ewsnmap-output dir. If you want to set the output file and the output dir:

ewsnmap.py <nmap_output.xml>  --csvout <output_csv_file> --txtout <output_txt_file> --output_dir <output_directory>

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Credits

ews-nmap is proudly developed @SecSI by:

License

Distributed under Apache 2 License. See LICENSE for more information.

Metadata

Release files for ews-nmap 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ews-nmap 1.0.6
File Size Uploaded Provenance Actions
ews_nmap-1.0.6.tar.gz 7.1 kB Without provenance Details for ews_nmap-1.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ews-nmap 1.0.6
File Interpreter ABI Platform Actions
ews_nmap-1.0.6-py3-none-any.whl Python 3 none any Details for ews_nmap-1.0.6-py3-none-any.whl

Total release size: 15.3 kB

Release files / ews_nmap-1.0.6.tar.gz

Download URL ews_nmap-1.0.6.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
135c8ee9ebd83d0e498b7ba6affa9fddb318c7d6401832feac7ad5850c381384
BLAKE2b-256 checksum
How to use checksums
3e02bdbad1226039cffd8f737b386a851ec0ec78209f0ea1de111f07a651cefd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1018-azure

Release files / ews_nmap-1.0.6-py3-none-any.whl

Download URL ews_nmap-1.0.6-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d058b7b8dd62504d025edf293438c137cd7bc1f0e27c640ba506ef2231afe4fe
BLAKE2b-256 checksum
How to use checksums
4d5ee9c5c458f18a15baa745649aa0d6b9f01351fd861663f029b3096c8b57a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1018-azure

Security for ews-nmap 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page