A fast, offline-capable replacement for other CVE search tools.
# 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
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
- Fork it ( https://github.com/t-richards/vulnsearch/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
# Build and run the application
go run main.go
# Enable sourcemaps
DEBUG=1 go run main.go
This software is available as open source under the terms of the MIT License.