Documentation ¶
Index ¶
- Variables
- func BackgroundCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func CloseSessionCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func InteractiveCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func PrintSessions(sessions map[string]*clientpb.Session, filter string, ...)
- 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 ShortSessionID(id string) string
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 CloseSessionCmd ¶ added in v1.5.0
func CloseSessionCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
CloseSessionCmd - Close an interactive session but do not kill the remote process
func InteractiveCmd ¶ added in v1.5.0
func InteractiveCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
InteractiveCmd - Beacon only command to open an interactive session
func PrintSessions ¶ added in v1.5.0
func PrintSessions(sessions map[string]*clientpb.Session, filter string, filterRegex *regexp.Regexp, con *console.SliverConsoleClient)
PrintSessions - Print the current sessions
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 ShortSessionID ¶ added in v1.5.0
ShortSessionID - Shorten the session ID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.