Documentation ¶
Index ¶
- Variables
- func HostsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func HostsIOCCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func HostsIOCRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func HostsRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SelectHost(con *console.SliverConsoleClient) (*clientpb.Host, error)
- func SelectHostIOC(host *clientpb.Host, con *console.SliverConsoleClient) (*clientpb.IOC, error)
- func SessionsForHost(hostUUID string, con *console.SliverConsoleClient) []*clientpb.Session
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoHosts - No hosts in database ErrNoHosts = errors.New("no hosts") // ErrNoSelection - No selection made ErrNoSelection = errors.New("no selection") )
Functions ¶
func HostsCmd ¶
func HostsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
HostsCmd - Main hosts command
func HostsIOCCmd ¶
func HostsIOCCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
HostsIOCCmd - Remove a host from the database
func HostsIOCRmCmd ¶
func HostsIOCRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
HostsIOCRmCmd - Remove a host from the database
func HostsRmCmd ¶
func HostsRmCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
HostsRmCmd - Remove a host from the database
func SelectHost ¶
func SelectHost(con *console.SliverConsoleClient) (*clientpb.Host, error)
SelectHost - Interactively select a host from the database
func SelectHostIOC ¶
func SessionsForHost ¶
func SessionsForHost(hostUUID string, con *console.SliverConsoleClient) []*clientpb.Session
SessionsForHost - Find session for a given host by id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.