command

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindBuiltinCommands added in v0.0.3

func BindBuiltinCommands(con *repl.Console, root *cobra.Command) *cobra.Command

func BindClientsCommands

func BindClientsCommands(con *repl.Console) console.Commands

func BindCommonCommands added in v0.1.0

func BindCommonCommands(bind BindFunc)

func BindImplantCommands

func BindImplantCommands(con *repl.Console) console.Commands

func ConsoleRunnerCmd added in v0.0.2

func ConsoleRunnerCmd(con *repl.Console, cmd *cobra.Command) (pre, post func(cmd *cobra.Command, args []string) error)

func ImplantCmd added in v0.0.2

func ImplantCmd(con *repl.Console) *cobra.Command

func RegisterClientFunc added in v0.0.3

func RegisterClientFunc(con *repl.Console)

func RegisterImplantFunc added in v0.0.2

func RegisterImplantFunc(con *repl.Console)

Types

type BindFunc added in v0.1.0

type BindFunc func(group string, cmds ...func(con *repl.Console) []*cobra.Command)

func MakeBind added in v0.1.0

func MakeBind(cmd *cobra.Command, con *repl.Console) BindFunc

Jump to

Keyboard shortcuts

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