network

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: 17 Imported by: 4

README

client/command/network

Overview

Implements the 'network' command group for the Sliver client console. Handlers map Cobra invocations to network workflows such as ifconfig and netstat.

Go Files

  • commands.go – Registers network inspection commands for implants.
  • ifconfig.go – Retrieves and prints interface configuration details from the target.
  • netstat.go – Displays remote socket listings similar to netstat output.

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 IfconfigCmd

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

IfconfigCmd - Display network interfaces on the remote system

func NetstatCmd

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

NetstatCmd - Display active network connections on the remote system

func PrintIfconfig added in v1.5.0

func PrintIfconfig(ifconfig *sliverpb.Ifconfig, all bool, con *console.SliverClient)

PrintIfconfig - Print the ifconfig response

func PrintNetstat added in v1.5.0

func PrintNetstat(netstat *sliverpb.Netstat, implantPID int32, activeC2 string, numeric bool, con *console.SliverClient)

Types

This section is empty.

Jump to

Keyboard shortcuts

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