Code Monkey home page Code Monkey logo

cve_check_tool's Introduction

CVE_Check_Tool

这是一个用于查询组件CVE漏洞信息的Python脚本。它使用NIST NVD的RESTful API来获取CVE数据,并提供格式化的输出和导出到Excel功能。

依赖

  • Python 3.x

  • 以下Python库:

    • argparse

    • requests

    • prettytable

    • pandas

    • openpyxl

安装依赖

pip install -r requirements.txt

使用方法

运行脚本并提供以下参数:

python CVE_Check_Tool.py -p <产品名称> -v <产品版本> [-o <输出文件>]
  • -p--product:要查询的组件名称。

  • -v--version:要查询的组件版本。

  • -o--output(可选):指定导出到Excel文件的文件名。

如果未提供输出文件名,将默认使用 <产品名称>_<产品版本>_CVE.xlsx 作为文件名。

查询结果将显示在控制台,并可选择导出到Excel文件。

示例

查询OpenSSL 1.0.1g版本的CVE信息,并将结果导出到Excel文件:

 python CVE_Check_Tool.py -p nginx -v 0.6.4  -o cve_info.xlsx

image

声明

本脚本仅用于学习和演示目的,使用时请遵守相关法律法规和服务提供商的条款和条件。

cve_check_tool's People

Contributors

lihaq avatar

Stargazers

 avatar  avatar  avatar 98Kstar avatar  avatar hirak0 avatar Nymph avatar

Watchers

 avatar

Forkers

xiju2003

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.