command

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 45 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 BindCommand added in v0.1.2

func BindCommand(cmds []*cobra.Command) func(con *repl.Console) []*cobra.Command

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