use

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: GPL-3.0 Imports: 14 Imported by: 2

README

Use

This package implements the use command, which is used to select active sessions/beacons.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoSelection = errors.New("no selection")
)

Functions

func BeaconAndSessionIDCompleter

func BeaconAndSessionIDCompleter(prefix string, args []string, con *console.SliverConsoleClient) (results []string)

BeaconAndSessionIDCompleter - BeaconAndSessionIDCompleter for beacon / session ids

func SelectSessionOrBeacon

func SelectSessionOrBeacon(con *console.SliverConsoleClient) (*clientpb.Session, *clientpb.Beacon, error)

SelectSessionOrBeacon - Select a session or beacon

func SessionOrBeaconByID

func SessionOrBeaconByID(id string, con *console.SliverConsoleClient) (*clientpb.Session, *clientpb.Beacon, error)

SessionOrBeaconByID - Select a session or beacon by ID

func UseBeaconCmd

func UseBeaconCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

UseBeaconCmd - Change the active beacon

func UseCmd

func UseCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

UseCmd - Change the active session

func UseSessionCmd

func UseSessionCmd(ctx *grumble.Context, con *console.SliverConsoleClient)

UseSessionCmd - Change the active session

Types

This section is empty.

Jump to

Keyboard shortcuts

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