info

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

README

Info

Implements session information commands like info, print, whoami, etc.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(con *console.SliverClient) []*cobra.Command

Commands returns the “ command and its subcommands.

func GIDCmd

func GIDCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

GIDCmd - Get the active session's GID.

func InfoCmd

func InfoCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

InfoCmd - Display information about the active session.

func PIDCmd

func PIDCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

PIDCmd - Get the active session's PID.

func PingCmd

func PingCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

PingCmd - Send a round trip C2 message to an implant (does not use ICMP).

func PrintTokenOwner

func PrintTokenOwner(cto *sliverpb.CurrentTokenOwner, con *console.SliverClient)

func SliverCommands

func SliverCommands(con *console.SliverClient) []*cobra.Command

SliverCommands returns all info commands working on an active target.

func UIDCmd

func UIDCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

UIDCmd - Get the active session's UID.

func WhoamiCmd

func WhoamiCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

WhoamiCmd - Displays the current user of the active session.

Types

This section is empty.

Jump to

Keyboard shortcuts

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