Giter Club home page Giter Club logo

cve_server's Introduction

CVEServer

Simple REST-style web service for the CVE searching.

Requirements

Getting Started

Install the CVE Server

You must have running ruby, git, mongodb and nginx in your local machine.

curl --ssl -s https://raw.githubusercontent.com/SpiderLabs/cve_server/master/scripts/install.sh | bash -

Using the API

Additional Information

Other installation method

  1. Clone our repository.
git clone https://github.com/SpiderLabs/cve_server.git
  1. Install the ruby dependencies.
bundle install
  1. Download the raw data from the National Vulnerability Database. The supported NVD reports are XML 2.0 (by default) and JSON 1.0 files.
./bin/nvd_downloader

or

./bin/nvd_downloader -f json
  1. Configure your database.
vi config/database.yml
  1. Create and populate the database for you environment.
RACK_ENV=development ./bin/seed

or

RACK_ENV=development ./bin/seed -f json

The -f flag with the json option will populate the database using the experimental JSON reports from NVD and it renames the score key to base_score in the cvss (v2) field, it also includes the cvssv3 information and some changes for the links in the references field.

  1. Start the server.
RACK_ENV=development puma

License

CVEServer is released under the MIT License

cve_server's People

Contributors

karmatr0n avatar pwnbus avatar agorasecurity avatar garrettvd avatar jakobu5 avatar jnahorny avatar

Watchers

James Cloos avatar  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.