National Vulnerability Database API Client
git clone https://github.com/Calana2/National_Vulnerability_Database_Api-Client.git
cd National_Vulnerability_Database_Api-Client
chmod u+x install.sh
sudo ./install.sh
$ nvdapi
NVD API Client
Usage: nvdapi [options]
Options
-h, --help Print help
-id, --cve-id Returns a specific vulnerability identified by its unique Common Vulnerabilities and Exposures identifier
-keyword Returns CVEs where the word or phrase is found in the description
-cwe Returns CVEs that include a weakness identified by CWE-ID
-lcwe, --list-cwe Show the top 1000 CWE
-v, --verbose Show references (only for --cve-id)
-q, --quiet Show only CVE IDs (for --keyword and --cwe)
- The public rate limit (without an API key) is 5 requests in a rolling 30-second window; the rate limit with an API key is 50 requests in a rolling 30-second window. More information here: https://nvd.nist.gov/developers/request-an-api-key
- If you are going to use an API key, create a .env file and add the following line:
API_KEY="yourAPIKEY"This product uses data from the NVD API but is not endorsed or certified by the NVD.