cnnvd-list-update

command module
v0.0.0-...-3e1336a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

cnnvd-list-update

cnnvd漏洞收集

  • go递归遍历树结构体
  • VulType是嵌套的树状型的,怎么存(存pre_id,value和id为重复值)
  • 如何写测试文档
  • CICD
  • docs
  • examples
  • dockerignore
  • Dockerfile
  • Makefile
  • README.md
  • 注释都改为中文
  • 选用一个日志库
  • 将write从fetch中分离出来
  • API接口只是各种方法调来调去,意义不是很大
  • 常量改成可配置的
  • 生成meta文件,包括各个信息的条数和时间信息,最新的和最旧的cnnvd编号
  • 整合数据
  • 可指定api
  • 可指定并发数,并发爬虫
  • 可指定输出文件
  • 第一次运行的时候的逻辑是什么
  • 可增量更新
  • 可自定义更新方式
  • 优雅的格式化年和月还有cnvd编号
  • 文件结构
  • 可自定义超时时间
  • 可以将日志输出到文件中
  • 对数据库进行加密
  • 支持mysql和boltdb
  • 设置的唯一索引不起作用
  • 如何把接口定义好
  • 适当使用泛型
  • 免责声明
  • 整理api.go 文件
  • 批量插入太多会出问题
  • 自动创建数据库cnnvd

Documentation

Overview

Copyright © 2023 Yaney yaneylily@gmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
Package cmd
Package cmd
cnnvd
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL