options

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SynFloodOptions

type SynFloodOptions struct {
	// Host is the public ip address or DNS of the target
	Host string
	// DstPort is the reachable port of the Host
	Port int
	// PayloadLength is the payload length in bytes for each SYN packet
	PayloadLength int
	// FloodType is the type of the attack type, usable values are syn, ack, synack
	FloodType string
	// FloodDurationSeconds is the duration of the attack with seconds. Defaults to -1 which means
	FloodDurationSeconds int64
	// BannerFilePath is the relative path to the banner file
	BannerFilePath string
	// VerboseLog is the verbosity of the logging library
	VerboseLog bool
}

SynFloodOptions contains frequent command line and application options.

func GetSynFloodOptions

func GetSynFloodOptions() *SynFloodOptions

GetSynFloodOptions returns the pointer of SynFloodOptions

Jump to

Keyboard shortcuts

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