Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConnAddr is a string constant specifying where the job creator connects to. ConnAddr = "localhost" // ConnPort is a string constant specifying the port the job creator runs on ConnPort = 7777 // ConnType specifies the connection type for the job creator (usually just TCP) ConnType = "tcp" )
Variables ¶
This section is empty.
Functions ¶
func FatalErrorCheck ¶
func FatalErrorCheck(err error)
FatalErrorCheck exits the program with exit code 1 if there is an error.
func GetHeader ¶
GetHeader returns the header portion of the JobProtocol query ex: JOB EQN 2+2 the header portion is JOB EQN
func GetJobNames ¶
func GetJobNames() []string
GetJobNames is an array of job names for the C&C to use
func GetTCPPorts ¶
func GetTCPPorts() []int
GetTCPPorts port is an array of TCP ports to be used in the TCP flood
func GetUDPPorts ¶
func GetUDPPorts() []int
GetUDPPorts is an array of UDP ports to be used in the UDP flood
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.