network

package
v1.0.9 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: 17 Imported by: 0

README

Network

Network related command implementations such as netstat and ifconfig

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 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

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

PrintIfconfig - Print the ifconfig response

func PrintNetstat

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