sessions

package
v1.4.19 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: GPL-3.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoSessions - No sessions available
	ErrNoSessions = errors.New("no sessions")
	// ErrNoSelection - No selection made
	ErrNoSelection = errors.New("no selection")
)

Functions

func BackgroundCmd

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

BackgroundCmd - Background the active session

func KillCmd

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

KillCmd - Kill the active session (not to be confused with TerminateCmd)

func SelectSession

func SelectSession(onlyAlive bool, con *console.SliverConsoleClient) (*clientpb.Session, error)

SelectSession - Interactive menu for the user to select an session, optionally only display live sessions

func SessionsCmd

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

SessionsCmd - Display/interact with sessions

func SessionsPruneCmd

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

SessionsPruneCmd - Forcefully kill stale sessions

func SessionsReconfigCmd

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

SessionsReconfigCmd - Reconfigure metadata about a sessions

func UseCmd

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

UseCmd - 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