vulnsearch

An application for local searching of CVE data.

vulnsearch

A fast, offline-capable replacement for other CVE search tools.

Screenshots

home

search

System requirements

  • Go ~> 1.22
  • SQLite ~> 3.33
  • Roughly 300MB of disk space

Getting started

# Build and install application
go get -u github.com/t-richards/vulnsearch

# Show help documentation
vulnsearch help

# Create and/or update local SQLite database
vulnsearch migrate

# Download data archives from nvd.nist.gov; <5 seconds if NVD is having a good day.
vulnsearch fetch

# Load data from compressed archives into local database; <5 minutes on a fast machine with SSD.
vulnsearch load

# Optimize the local database after import; <5 seconds on a fast machine with SSD.
vulnsearch optimize

# Run web interface, visit http://localhost:5000/
vulnsearch

Overrides

This application's database and cache file location are configurable via the environment. By default, all files are placed in os.UserCacheDir().

# Set custom path to the sqlite database file
VULNSEARCH_DB_PATH=/tmp/foo.sqlite3

# Set custom path to the data directory
VULNSEARCH_DATA_PATH=/opt/some/dir

Contributing

  1. Fork it ( https://github.com/t-richards/vulnsearch/fork )
  2. Create your feature branch ( git checkout -b my-new-feature )
  3. Commit your changes ( git commit -am 'Add some feature' )
  4. Push to the branch ( git push origin my-new-feature )
  5. Create a new Pull Request

Hacking

# Build and run the application
go run main.go

# Enable sourcemaps
DEBUG=1 go run main.go

License

This software is available as open source under the terms of the MIT License.

Repository

vulnsearch

Owner
Statistic
  • 9
  • 3
  • 0
  • 0
  • 5
  • about 1 month ago
  • February 2, 2017
License

MIT License

Links
Synced at

Mon, 22 Apr 2024 16:47:09 GMT

Languages