Extract web servers from an Nmap XML file
Project description
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:
Install & Run
To install it you just need to run:
pip 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 | --output
To run the parser:
ewsnmap.py <nmap_output.xml>
the script will generate a file output.txt
in ewsnmap-output
dir. If you want to set the output file and the output dir:
ewsnmap.py <nmap_output.xml> --output <output_csv_file> --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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ews_nmap-1.0.4.tar.gz
.
File metadata
- Download URL: ews_nmap-1.0.4.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f421ee75f511daf2fc3e11f215894502b6d42040ce47fae9aff8c45070cc12f |
|
MD5 | eaef4cae829cd911144e95640b699d33 |
|
BLAKE2b-256 | 1fb75bb4da88791d07fc338589a71e75a5d314264445fe0995149fb88ef7b73f |
File details
Details for the file ews_nmap-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: ews_nmap-1.0.4-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05583c2ae2c9cc17f4b7a152e36fe3282ea508e059fccf0fd36432228f7abeb1 |
|
MD5 | fea105744652e55bbab1b93052abd625 |
|
BLAKE2b-256 | c5c86e7bef0d95dacf1c0e2497c493d02affe8cb9fcb399dfc95cba699b10cd9 |