commands

package
v0.0.0-...-5725443 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Deafen

func Deafen(c *grumble.Context) error

func DeleteAllCommands

func DeleteAllCommands(c *grumble.Context)

func GetNamesFromDir

func GetNamesFromDir(directory string) []string

get a list of file names from a directory stripping extension

func InsertIntoSlice

func InsertIntoSlice(a []string, index int, value string) []string

insert value into a at index

func ListAll

func ListAll(c *grumble.Context) error

func ListBeacons

func ListBeacons(c *grumble.Context) error

func ListListeners

func ListListeners(c *grumble.Context) error

func ListSessions

func ListSessions(c *grumble.Context) error

func ListTasks

func ListTasks(c *grumble.Context) error

func ListenHttp

func ListenHttp(c *grumble.Context) error

entry point for starting HTTP listener. Called by `listen http`

func RegisterMainCommands

func RegisterMainCommands(app *grumble.App)

func RegisterNewCommands

func RegisterNewCommands(c *grumble.Context, agentid string)

func Respawn

func Respawn(c *grumble.Context) error

func SendTask

func SendTask(agentid string, task string, taskData string) error

func SessionInfo

func SessionInfo(agentid string, c *grumble.Context) error

func SpawnHTTP

func SpawnHTTP(c *grumble.Context) error

func Use

func Use(c *grumble.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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