Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.5 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.5 KB

CVE-Builder

Code Health

CVE Builder script that generates STIX formatted Exploit Targets.

The script will look at the first parameter as the CVE number and uses the ares module (https://github.com/mrsmn/ares), to provide data from https://cve.circl.lu/. This provides a quick and easy method of prototyping the core information from publicly available CVE information into a STIX package.

Full warning this script is still a work in progress and is by no means a one stop shop to build a fully featured exploit target in STIX. Your own mileage may vary.

Usage

From a terminal/command prompt you can use the following to print the STIX and save it as a file.

$ python cve-builder CVE-2015-5119

Or you can use it as a module within your own script.

from cve-builder import cveSearch

result = cveSearch("CVE-2015-5119")
print(cveSearch)

Example Output

An example output can be found in the Example file. This example uses CVE-2015-5119.

Dependencies

The following python libraries are required and can be installed with pip.

Installation on Ubuntu 15.10 (and older)

$ sudo pip install -r requirements.txt

License

See the LICENSE file for license rights and limitations (GPLv3).