wireguard

package
v1.0.8 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: 21 Imported by: 0

README

WireGuard

This package implements commands related to WireGuard functionality such as wg-socks and wg-portfwd

NOTE: Listener code for WireGuard (and all other protocols) is located in the client/command/jobs package

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 PortfwdIDCompleter

func PortfwdIDCompleter(con *console.SliverClient) carapace.Action

PortfwdIDCompleter completes IDs of WireGuard remote portforwarders.

func SliverCommands

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

SliverCommands returns all Wireguard commands that can be used on an active target.

func SocksIDCompleter

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

SocksIDCompleter IDs of WireGuard socks servers.

func WGConfigCmd

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

WGConfigCmd - Generate a WireGuard client configuration.

func WGPortFwdAddCmd

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

WGPortFwdAddCmd - Add a new WireGuard port forward.

func WGPortFwdListCmd

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

WGPortFwdListCmd - List WireGuard port forwards.

func WGPortFwdRmCmd

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

WGPortFwdRmCmd - Remove a WireGuard port forward.

func WGSocksListCmd

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

WGSocksListCmd - List WireGuard SOCKS proxies.

func WGSocksStartCmd

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

WGSocksStartCmd - Start a WireGuard reverse SOCKS proxy.

func WGSocksStopCmd

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

WGSocksStopCmd - Stop a WireGuard SOCKS proxy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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