Giter Site home page Giter Site logo

shadawck / mitrecve Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 6.0 8.58 MB

Get all cve corresponding to a specific keyword or a list of keywords from the mitre database (https://cve.mitre.org/)

License: MIT License

Python 93.24% Dockerfile 1.63% Makefile 5.13%
api cli cve cve-scanning cve-search dependencies mitre mitre-api mitre-attack security security-scanner security-tools

mitrecve's Issues

Name of API

Hi

Thanks for the nice work.
Just want to point out that the API name in Readme has been given as: MITRE_get_cve_detail()
Please update it to get_cve_detail()

Cheers!

Failure to execute

Having followed the install instructions this does not appear to work for me... all I get is the usage prompt below

root@host:~/mitrecve# mitrecve html5lib
usage:
mitrecve crawl [--verbose --detail ] [--format FORMAT]
mitrecve show
mitrecve ( -h | --help | --version )

This, I believe is the command shown in the guide.

Any ideas on how I might troubleshoot please?

Index error

Minimal reproducible error on the latest version:

from mitrecve import crawler

crawler.get_cve_detail("libstdc++6")

Traceback (most recent call last):
  File "test.py", line 3, in <module>
    crawler.get_cve_detail("libstdc++6")
  File "/home/anon/env/lib/python3.8/site-packages/mitrecve/crawler.py", line 172, in get_cve_detail
    ref_links = soup.select("#GeneratedTable > table > tr > td > ul")[0].find_all("a") 
IndexError: list index out of range

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.