Documentation
¶
Overview ¶
Package spike provides the main Spike application structure and functionality. It attaches the scanner and reporter components to run the scanning process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClosingScanner = errors.New("error while closing scanner")
View Source
var ErrFailedScanner = errors.New("error while running scanner")
Functions ¶
func NewREPLShell ¶
Types ¶
type Option ¶
type Option func(s *Scanner)
func OptionWithConfig ¶
OptionWithConfig sets the config.
func OptionWithDBPath ¶
OptionWithDBPath sets the database path.
func OptionWithInputDomains ¶
OptionWithInputDomains sets the input domains.
func OptionWithScanMode ¶
OptionWithScanMode sets the scan mode.
func OptionWithSkipTimedOut ¶ added in v0.7.5
OptionWithSkipTimedOut sets the skip timed out scan option.
type Scanner ¶
type Scanner struct {
InputDomains []string // domains to scan
DBPath string // path to the sqlite database
Config *config.Config // configuration for the scan
ScanMode ScanMode // DomainScanMode or DbScanMode
DoSkipScanTimedOutTools bool // skip timed out tools
}
func NewScanner ¶
Click to show internal directories.
Click to hide internal directories.