exploit

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHTTPHealth

func CheckHTTPHealth() error

CheckHTTPHealth do health check

func CheckIfExploitFetched

func CheckIfExploitFetched(driver db.DB, osFamily string) (fetched bool, err error)

CheckIfExploitFetched checks if oval entries are in DB by family, release.

func CheckIfExploitFresh

func CheckIfExploitFresh(driver db.DB, osFamily string) (ok bool, err error)

CheckIfExploitFresh checks if oval entries are fresh enough

func ConvertToModels added in v0.6.2

func ConvertToModels(es []*exploitmodels.Exploit) (exploits []models.Exploit)

ConvertToModels converts gost model to vuls model

func FillWithExploit

func FillWithExploit(driver db.DB, r *models.ScanResult) (nExploitCve int, err error)

FillWithExploit fills exploit information that has in Exploit

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL