hosts

package
v1.15.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: GPL-3.0 Imports: 14 Imported by: 1

README

Hosts

Command to access and manage host information.

Documentation

Index

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 SelectHostIOC(host *clientpb.Host, con *console.SliverConsoleClient) (*clientpb.IOC, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL