globals

package module
v0.0.0-...-c49762d Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: GPL-3.0 Imports: 6 Imported by: 3

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

func GetHeader(result string) (string, error)

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

func MACString

func MACString() (string, error)

MACString gets the default gateway mac address because I couldn't get ARP to work on time

Types

This section is empty.

Jump to

Keyboard shortcuts

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