English | 中文
This is a database about CNVD. This repository has been coding with ThinkPHP5.1, Which is a LTS version.
Warning: This repo is developing, so DON'T use it on the Product Environment.
It's not supported the composer install because it's developing. But I wanna to support it on the not far future.
And now ,you can install it by git.
git clone https://github.com/DongyunLee/vulnerability_db.git cnvd_vdb
cd cnvd_vdb
comopser install
If you don't have all of these require items,you will have an error from composer.
Or not , look about next !
By the way, The Index
module will be the list of the data what you have been imported.
and the Fetch
module will help you import the xml from CNVD.
Before that, look about this document,
it's the official document of ThinkPHP v5.1 to teach you how to rewrite the url to deploy this site.
AND THE WebRoot need point to the public
sub-dictionary
Get XML from CNVD
-
Visit the CNVD and Login it.
-
visit the page and get the id of link, eg:
the id is 571.
-
run this command in your Route Dir -- which current file in:
php think down The_ID_you_have_been_got_in_step_2
The default Apache URL is :
The default Nginx URL is: