modulescommon

package
v0.0.0-...-9d62925 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModOutput

type ModOutput struct {
	AgentKey   string //Holds the name of the agent
	ModuleName string //Name of the module
	OutputType string //Type out output like Link
	Output     []byte //Output
}

ModOutput is a simple struct for what output modules should send back

type ModuleCom

type ModuleCom struct {
	AgentKey   string //Holds the name of the agent
	Server     bool   //Does the data have a corresponding server portion?
	Download   bool   //Getting the module
	Kill       bool   //Used if the module is finished
	ModuleName string //Name of the module
	ModuleType string //Type of module
	FileType   string //Platform it will run on
	Data       []byte //Data
}

ModuleCom -> Data that needs to be sent back to the server side of a module should be structured as so

Jump to

Keyboard shortcuts

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