Giter Site home page Giter Site logo

searchcve's Introduction

searchcve

Web scrapping tool written in python3, using regex, to get CVEs, Source and URLs.

Generates a CSV file in the current directory.

Dependencies

  • requests must be installed.

pip install requests should do this job :)

Example of usage

python3 searchcve.py https://us-cert.cisa.gov/ncas/alerts/aa21-209a
python3 searchcve.py https://www.kennasecurity.com/blog/top-vulnerabilities-of-the-decade/
python3 searchcve.py https://arstechnica.com/gadgets/2021/07/feds-list-the-top-30-most-exploited-vulnerabilities-many-are-years-old/
python3 searchcve.py https://nvd.nist.gov/ 

On Linux

./searchcve.py https://us-cert.cisa.gov/ncas/alerts/aa21-209a
./searchcve.py https://nvd.nist.gov/ 

image

image

Work in progress

Command line tool, will use the NIST API to get resources.

usage: searchcve_api.py [-h] [-c CVE] [-k KEYWORD] [-u URL] [-i INPUT_FILE]

optional arguments:
  -h, --help            show this help message and exit
  -c CVE, --cve CVE     Choose CVE e.g. CVE-2020-1472
  -k KEYWORD, --keyword KEYWORD
                        Choose keyword e.g. microsoft
  -u URL, --url URL     Choose URL e.g. https://nvd.nist.gov/
  -i INPUT_FILE, --input-file INPUT_FILE
                        Choose the path to input file e.g. test.csv
python3 searchcve_api.py -u https://nvd.nist.gov/

This will call python3 searchcve.py https://nvd.nist.gov/

python3 searchcve_api.py -c CVE-2020-1467

image

This will make this API call https://services.nvd.nist.gov/rest/json/cve/1.0/CVE-2020-1467

python3 searchcve_api.py -k microsoft

This will make this API call https://services.nvd.nist.gov/rest/json/cves/1.0?keyword=microsoft

searchcve's People

Contributors

stanfrbd avatar

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.