nmapvulners2csv
Table of Contents
Getting Started
Run nmap with enabled script Vulners and save xml output, for example:
nmap -sV --script vulners -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 nmapvulners2csv
Run without installing
Prerequisites
Install dependencies by using the following command:
pip install -r requirements.txt
chmod +x nmapvulners2csv/nmapvulners2csv.py
Usage: nmapvulners2csv.py NMAP_XML_FILE <flags>
optional flags: --output | --descr
To run the converter:
nmapvulners2csv.py <nmap_output.xml>
the script will generate a file output.csv in output dir. If you want to set the output file:
nmapvulners2csv.py <nmap_output.xml> --output <output_csv_file> --dir <output_directory>
For multiple data:
for i in `ls -1 vulners*`; do python nmapvulners2csv.py $i ${i%%.xml}.csv ; done
Evidences Description
nmapvulners2csv does not generate descriptions for vulnerabilities. You can add --descr flag to add descriptions in CSV. The script scrapes description information from Vulners site. The command is more time-expensive and send several HTTP requests against Vulners website. Not tested for IP ban and network issues.
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
nmapvulners2csv is proudly developed @SecSI by:
License
Distributed under Apache 2 License. See LICENSE for more information.
Release files for nmapvulners2csv 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nmapvulners2csv-1.1.0.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nmapvulners2csv-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.6 kB
Release files / nmapvulners2csv-1.1.0.tar.gz
| Download URL | nmapvulners2csv-1.1.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a514a3b4216193374035aaf5e644b1958c893a64e30334db63de68930c2fb9f3
|
|
BLAKE2b-256 checksum How to use checksums |
faba7ab9f027251d090ece4bc4e2746b25a08e0d25c76c276ba737a2ab8d43b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.0 Linux/6.11.0-1018-azure
|
Release files / nmapvulners2csv-1.1.0-py3-none-any.whl
| Download URL | nmapvulners2csv-1.1.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da8172bd62c2950f9d17297ae67704b9a78b71edff1e338d763e55eca9399324
|
|
BLAKE2b-256 checksum How to use checksums |
50cdccbfe8b9057acdbaca144b048e74209b518f14c95200167a83123aab025b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.0 Linux/6.11.0-1018-azure
|