info

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: GPL-3.0 Imports: 14 Imported by: 1

README

client/command/info

Overview

Implements the 'info' command group for the Sliver client console. Handlers map Cobra invocations to info workflows such as ping.

Go Files

  • commands.go – Registers information-oriented commands and binds them into the console.
  • info.go – Queries detailed session or beacon metadata and prints rich status tables.
  • ping.go – Sends ping requests to implants to test connectivity and round-trip latency.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands added in v1.6.0

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 added in v1.5.11

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

func SliverCommands added in v1.6.0

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