Skip to content

Latest commit

 

History

History
84 lines (55 loc) · 2.73 KB

README.md

File metadata and controls

84 lines (55 loc) · 2.73 KB

cve2csv

A Python module to fetch CVE data and save it to CSV.

Python Pandas

License: MIT GitHub issues GitHub stars

Table of Contents

Description

This module extracts CVE vulnerability information from the MITRE CVE database and saves the results to a CSV file. It performs web scraping to fetch CVE records based on keywords provided via the command line and converts the results into a pandas DataFrame for easy processing.

Installation

pip install -r requirements.txt

Use

python cve2csv.py

Help menu:

python cve2csv.py -h
usage: cve2csv.py [-h] [-o OUTPUT] [-d DELIMITER] [-e ENCODING] [-v | -q] keyword

Fetch CVE data from MITRE and save to CSV.

positional arguments:
  keyword                               Search keyword for CVE entries.

options:
  -h, --help                            show this help message and exit
  -o OUTPUT, --output OUTPUT            Output CSV file name.
  -d DELIMITER, --delimiter DELIMITER   CSV delimiter.
  -e ENCODING, --encoding ENCODING      CSV encoding.
  -v, --verbose                         Increase output verbosity.Use -v, -vv, or -vvv for more verbosity.
  -q, --quiet                           Suppress all output except errors.

Contributing

Contributions are welcome! If you have improvements, bug fixes, or new modules to add, feel free to submit a pull request.

License

The content of this repository is licensed under the BSD-3-Clause License.

Contact

Feel free to get in touch with me!

GitHub LinkedIn