# README
cvebaser 
cvebaser is a tool for interacting with cvebase/cvebase.com
data, built in Go.
Install
cvebaser requires go1.15+ for installation.
GO111MODULE=on go get -u -v github.com/cvebase/cvebaser/cmd/cvebaser
Usage
Lint all files:
cvebaser lint -r <path to cvebase.com repo>
Lint files from a specific commit:
cvebaser lint -r <path to cvebase.com repo> -c <git commit hash>
Export all cvebase PoCs to json file:
cvebaser export -r <path to cvebase.com repo> -o pocs.json
License
# Functions
No description provided by the author
No description provided by the author
CVESubPath converts a CVE ID to cve relative path starting with year subdirectory.
DirExists checks if a path exists and is a directory.
Exists check if a file or directory exists.
No description provided by the author
ParseCVEMDFile reads markdown file contents containing YAML and markdown and returns CVE data struct.
ParseMDFile reads markdown file contents containing YAML and markdown and returns either CVE or Researcher data struct.
ParseResearcherMDFile reads markdown file contents containing YAML and markdown and returns Researcher data struct.
PathIsType returns either "cve" or "researcher" based on directory structure of given relative path to cve or researcher file.
No description provided by the author
SortUniqStrings sorts and removes duplicates of a string slice.
UniqStrings improves implementation of removeDuplicates avoids the excess work done by your use of append to remove elements.
WantPath attempts to repair a provided cve or researcher filepath for cases where the file was linted and moved in a later commit.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author