pivots

package
v1.0.6 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

Pivots

Pivot related command implementations, pivots are specifically for pivoting C2 traffic (not to be confused with port forwarding)

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 PivotDetailsCmd

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

PivotDetailsCmd - Display pivots for all sessions

func PivotIDCompleter

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

PivotIDCompleter completes pivot listeners' IDs.

func PivotTypeToString

func PivotTypeToString(pivotType sliverpb.PivotType) string

PivotTypeToString - Convert a pivot type to a human string.

func PivotsCmd

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

PivotsCmd - Display pivots for all sessions.

func PivotsGraphCmd

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

PivotsGraphCmd - Display pivots for all sessions.

func PrintPivotListenerDetails

func PrintPivotListenerDetails(listener *sliverpb.PivotListener, con *console.SliverClient)

PrintPivotListenerDetails - Print details of a single pivot listener

func PrintPivotListeners

func PrintPivotListeners(pivotListeners []*sliverpb.PivotListener, con *console.SliverClient)

PrintPivotListeners - Print a table of pivot listeners.

func SelectPivotListener

func SelectPivotListener(listeners []*sliverpb.PivotListener, con *console.SliverClient) (*sliverpb.PivotListener, error)

SelectPivotListener - Interactive menu to select a pivot listener.

func StartNamedPipeListenerCmd

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

StartNamedPipeListenerCmd - Start a TCP pivot listener on the remote system.

func StartTCPListenerCmd

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

StartTCPListenerCmd - Start a TCP pivot listener on the remote system.

func StopPivotListenerCmd

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

StopPivotListenerCmd - Start a TCP pivot listener on the remote system

Types

This section is empty.

Jump to

Keyboard shortcuts

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