Skip to main content

Extract web servers from an Nmap XML file

Project description

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.

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

ews_nmap-1.0.6.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ews_nmap-1.0.6-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file ews_nmap-1.0.6.tar.gz.

File metadata

  • Download URL: ews_nmap-1.0.6.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1018-azure

File hashes

Hashes for ews_nmap-1.0.6.tar.gz
Algorithm Hash digest
SHA256 135c8ee9ebd83d0e498b7ba6affa9fddb318c7d6401832feac7ad5850c381384
MD5 9c0ca48d0a4c4ba75dbf3f38a1c8367b
BLAKE2b-256 3e02bdbad1226039cffd8f737b386a851ec0ec78209f0ea1de111f07a651cefd

See more details on using hashes here.

File details

Details for the file ews_nmap-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: ews_nmap-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1018-azure

File hashes

Hashes for ews_nmap-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d058b7b8dd62504d025edf293438c137cd7bc1f0e27c640ba506ef2231afe4fe
MD5 c0bb3abf5854678424b04cdc028938b3
BLAKE2b-256 4d5ee9c5c458f18a15baa745649aa0d6b9f01351fd861663f029b3096c8b57a7

See more details on using hashes here.

Supported by

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