Documentation ¶
Index ¶
- Variables
- func BeaconAndSessionIDCompleter(prefix string, args []string, con *console.SliverConsoleClient) (results []string)
- func SelectSessionOrBeacon(con *console.SliverConsoleClient) (*clientpb.Session, *clientpb.Beacon, error)
- func SessionOrBeaconByID(id string, con *console.SliverConsoleClient) (*clientpb.Session, *clientpb.Beacon, error)
- func UseBeaconCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func UseCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func UseSessionCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
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.
Click to show internal directories.
Click to hide internal directories.