nessusDatabase

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2016 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Overview

Package nessusDatabase is used to connect to databases for state and result storage.

This package is a supporting package for nessusCreator and nessusResults which handle the file to launched scan pipeline and the result retriever / processing functionality.

Package nessusDatabase is used to connect to databases for state and result storage.

This package is a supporting package for nessusCreator and nessusResults which handle the file to launched scan pipeline and the result retriever / processing functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToMySQLDatabase

func ConnectToMySQLDatabase(username, password, database, server string, tlsInfo *TLSCertificates, secure bool) (*sql.DB, error)

ConnectToMySQLDatabase generates a secure or insecure TCP MySQL database connection on port 3306

func ConnectToSQLite

func ConnectToSQLite(SQLiteDBName string) (*sql.DB, error)

ConnectToSQLite generates a file connection to an SQLite3 database.

Types

type TLSCertificates

type TLSCertificates struct {
	BasePath               string
	CACertRelativePath     string
	ClientCertRelativePath string
	ClientKeyRelativePath  string
}

TLSCertificates contains information about where TLS information for a MySQL connection are stored

Jump to

Keyboard shortcuts

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