Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandLine ¶
type CommandLine struct {
// contains filtered or unexported fields
}
CommandLine type represents options read from command line arguments.
func (*CommandLine) Timeout ¶
func (c *CommandLine) Timeout() time.Duration
Timeout method returns a given server response timeout after EOF of input file.
type HealthCheckResult ¶
type HealthCheckResult struct { NumberOfUnreachableServices int Host string Results []SpecificPortHealthCheckResult Strategy string }
HealthCheckResult - An expected response of strategies (total result)
type HttpStatusStrategy ¶
type HttpStatusStrategy struct{}
HttpStatusStrategy - Http Statuscode Strategy
func (HttpStatusStrategy) Run ¶
func (p HttpStatusStrategy) Run(configuration c.TargetConfigurations) HealthCheckResult
Run - Function to execute the Http Statuscode check strategy
type PingStrategy ¶
type PingStrategy struct{}
PingStrategy - ICMP Ping Strategy
func (PingStrategy) Run ¶
func (p PingStrategy) Run(configuration c.TargetConfigurations) HealthCheckResult
Run - Function to execute the icmp ping strategy
type SpecificPortHealthCheckResult ¶
type SpecificPortHealthCheckResult struct { IsReachable bool Latency time.Duration Error error Host string Port uint64 Strategy string }
SpecificPortHealthCheckResult - An expected response of each specific port scan
type Strategy ¶
type Strategy interface {
Run(configuration c.TargetConfigurations) HealthCheckResult
}
Strategy - Interface for scanning strategies
type TelnetStrategy ¶
type TelnetStrategy struct{}
TelnetStrategy - Telnet Strategy
func (TelnetStrategy) Run ¶
func (t TelnetStrategy) Run(configuration c.TargetConfigurations) HealthCheckResult
Run - Function to execute the telnet scan strategy
Click to show internal directories.
Click to hide internal directories.