socks

package
v1.6.3 Latest Latest
Warning

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

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

README

client/command/socks

Overview

Implements the 'socks' command group for the Sliver client console. Handlers map Cobra invocations to socks workflows such as rootcommands, socks start, and socks stop.

Go Files

  • commands.go – Registers SOCKS proxy commands within the client console.
  • rootCommands.go – Provides shared root-level wiring for SOCKS commands used in multiple menus.
  • socks-start.go – Starts local SOCKS proxy listeners tied to implants.
  • socks-stop.go – Stops running SOCKS proxies and frees ports.
  • socks.go – Lists SOCKS proxies and prints their connection details.

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

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

Commands returns the “ command and its subcommands.

func SocksCmd

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

SocksCmd - Display information about tunneled port forward(s).

func SocksIDCompleter added in v1.6.0

func SocksIDCompleter(_ *console.SliverClient) carapace.Action

SocksIDCompleter completes IDs of remote of socks proxy servers.

func SocksStartCmd

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

SocksStartCmd - Add a new tunneled port forward.

func SocksStopCmd

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

SocksStopCmd - Remove an existing tunneled port forward.

Types

This section is empty.

Jump to

Keyboard shortcuts

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