Documentation ¶
Index ¶
- Variables
- func BeaconAndSessionIDCompleter(con *console.SliverClient) carapace.Action
- func Commands(con *console.SliverClient) []*cobra.Command
- func SelectSessionOrBeacon(con *console.SliverClient) (*clientpb.Session, *clientpb.Beacon, error)
- func SessionIDCompleter(con *console.SliverClient) carapace.Action
- func SessionOrBeaconByID(id string, con *console.SliverClient) (*clientpb.Session, *clientpb.Beacon, error)
- func UseBeaconCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func UseCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
- func UseSessionCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSelection = errors.New("no selection")
Functions ¶
func BeaconAndSessionIDCompleter ¶
func BeaconAndSessionIDCompleter(con *console.SliverClient) carapace.Action
BeaconAndSessionIDCompleter - BeaconAndSessionIDCompleter for beacon / session ids
func Commands ¶
func Commands(con *console.SliverClient) []*cobra.Command
Commands returns the “ command and its subcommands.
func SelectSessionOrBeacon ¶
SelectSessionOrBeacon - Select a session or beacon
func SessionIDCompleter ¶
func SessionIDCompleter(con *console.SliverClient) carapace.Action
SessionIDCompleter completes session IDs
func SessionOrBeaconByID ¶
func SessionOrBeaconByID(id string, con *console.SliverClient) (*clientpb.Session, *clientpb.Beacon, error)
SessionOrBeaconByID - Select a session or beacon by ID
func UseBeaconCmd ¶
func UseBeaconCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
UseBeaconCmd - Change the active beacon
func UseCmd ¶
func UseCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
UseCmd - Change the active session
func UseSessionCmd ¶
func UseSessionCmd(cmd *cobra.Command, con *console.SliverClient, args []string)
UseSessionCmd - Change the active session
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.