pivots

package
v1.6.5 Latest Latest
Warning

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

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

README

client/command/pivots

Overview

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

Go Files

  • commands.go – Declares the pivots command family and ties start/stop operations together.
  • details.go – Prints detailed information about a specific pivot chain.
  • graph.go – Renders pivot relationships as ASCII graphs for situational awareness.
  • helpers.go – Supplies shared RPC helpers and completions used across pivot commands.
  • pivots.go – Lists pivot sessions and summarizes their status.
  • start.go – Initiates new pivot listeners or routes for the active target.
  • stop.go – Stops running pivots and cleans up resources on the implant.

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 PivotDetailsCmd added in v1.5.0

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

PivotDetailsCmd - Display pivots for all sessions

func PivotIDCompleter added in v1.6.0

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

PivotIDCompleter completes pivot listeners' IDs.

func PivotTypeToString added in v1.5.0

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

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

PivotsGraphCmd - Display pivots for all sessions.

func PrintPivotListenerDetails added in v1.5.0

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

PrintPivotListenerDetails - Print details of a single pivot listener

func PrintPivotListeners added in v1.5.0

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

PrintPivotListeners - Print a table of pivot listeners.

func SelectPivotListener added in v1.5.0

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

SelectPivotListener - Interactive menu to select a pivot listener.

func StartNamedPipeListenerCmd added in v1.5.0

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

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

func StartTCPListenerCmd added in v1.5.0

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

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

func StopPivotListenerCmd added in v1.5.0

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