CNVD dump used by vulnerability-lookup software
| cnvd_dump | ||
| dump | ||
| dump_json | ||
| sample_html | ||
| .gitignore | ||
| LICENSE | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
CNVD-Dump
Need to get the file from https://www.cnvd.org.cn/shareData/list?max=600&offset=0
You won't usually directly use this repository but use vulnerability-lookup.org to ingest this repository.
For an overview: https://vulnerability.circl.lu/recent#cnvd
Usage
$ (git::main) cnvd_downloader -h
usage: cnvd_downloader [-h] [--headfull] (--html HTML | --stored_state STORED_STATE) --storage STORAGE [--storage_json STORAGE_JSON]
CNVD downloader
options:
-h, --help show this help message and exit
--headfull Capture the list in a headfull browser (allows to enter login & password) - Only possible if you have a local Lookyloo instance.
--html HTML Path to the HTML file containing CNVD links
--stored_state STORED_STATE
Path to the stored state from a logged-in session (get it from a headfull capture)
--storage STORAGE Path to the storage directory for downloaded files
--storage_json STORAGE_JSON
Path to the storage directory of XML files converted to JSON
Example
cnvd_downloader --headfull --stored_state config/cnvd_storage_state.json --storage dump/ --storage_json dump_json/ --update_repo