Documentation
¶
Index ¶
- func ConnectToDbSocket() net.Conn
- func CountRowsReturned(result string) int
- func Entry()
- func GetCveNum() string
- func GetCveNums() argsArray
- func GetDbQuery() string
- func GetGui() bool
- func GetOss() argsArray
- func GetSoftware() string
- func GetTableName() string
- func GetTotalTimeToFix(result string) uint16
- func GetTotalVulnerabilityScore(result string, rowsCount int) float32
- func InitCliArgs()
- func MarkAsSolved(cveName string)
- func QueryDbCve(conn net.Conn, cveNum string) string
- func QueryDbMultiCve(cves []string) []string
- func QueryDbMultiOs(oss []string) []string
- func QueryDbOS(conn net.Conn, os string) string
- func SetCveNum(cve string)
- func SetCveNums(cves []string)
- func SetSoftware(os string)
- func SetSoftwares(oss []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToDbSocket ¶
return the connection the database socket
func CountRowsReturned ¶
get the amount of rows returned by the query
func GetCveNums ¶
func GetCveNums() argsArray
func GetDbQuery ¶
func GetDbQuery() string
below are getters for cli args because they are private variables
func GetSoftware ¶
func GetSoftware() string
func GetTableName ¶
func GetTableName() string
func GetTotalTimeToFix ¶
gets the total time to fix of all vulnerabilities returned by the query
func GetTotalVulnerabilityScore ¶
get the total cvss score of all vulnerabilities returned by the query
func MarkAsSolved ¶
func MarkAsSolved(cveName string)
func QueryDbCve ¶
takes cve number and returns vulnerability score and time to fix
func QueryDbMultiCve ¶
func QueryDbMultiOs ¶
func SetCveNums ¶
func SetCveNums(cves []string)
func SetSoftware ¶
func SetSoftware(os string)
Below are setters for certain variables that are command line arguments, this is the easiest way to get the gui to work without too much refactoring
func SetSoftwares ¶
func SetSoftwares(oss []string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.