Documentation
¶
Index ¶
- Variables
- func BackgroundCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func KillCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SelectSession(onlyAlive bool, con *console.SliverConsoleClient) (*clientpb.Session, error)
- func SessionsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SessionsPruneCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SessionsReconfigCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func UseCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
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 ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.