Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Analyze ¶
type Analyze struct {
RequireOpenPorts bool `yaml:"require-open-ports" mapstructure:"require-open-ports"`
}
type Config ¶
type Config struct { Scripts Scripts `yaml:"scripts" mapstructure:"scripts"` Wordlists Wordlists `yaml:"wordlists" mapstructure:"wordlists"` Blacklist Blacklist `yaml:"blacklist" mapstructure:"blacklist"` Discover Discover `yaml:"discover" mapstructure:"discover"` Analyze Analyze `yaml:"analyze" mapstructure:"analyze"` Hosts Hosts `yaml:"hosts" mapstructure:"hosts"` }
func (*Config) GetScripts ¶
type Hosts ¶
type Hosts struct { NmapXMLGlob string `yaml:"nmap-xml-glob" mapstructure:"nmap-xml-glob"` IgnoreServices []IgnoreService `yaml:"ignore-services" mapstructure:"ignore-services"` }
type IgnoreService ¶
type IgnoreService struct { Name string `yaml:"name" mapstructure:"name"` Ports string `yaml:"ports" mapstructure:"ports"` Flag string `yaml:"flag" mapstructure:"flag"` // This is so we can add a flag saying that this was ignored to make people aware that ports were ignored }
Don't know what this should be called, if anyone has any better names, go for it
func (IgnoreService) ShouldIgnore ¶
func (s IgnoreService) ShouldIgnore(service string, port int) bool
type Script ¶
type Script struct { Args string `yaml:"args" mapstructure:"args"` Script string `yaml:"script" mapstructure:"script"` Order int `yaml:"order" mapstructure:"order"` Count int `yaml:"count" mapstructure:"count"` Enabled bool `yaml:"enabled" mapstructure:"enabled"` TotalRuns int `yaml:"-" mapstructure:"-"` }
Click to show internal directories.
Click to hide internal directories.