Skip to content

danielfeitopin/cve2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fetch CVE data and save to CSV

Topics

Resources

License

Stars

Watchers

Forks

Languages