handlers

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPivotHandlers

func GetPivotHandlers() map[uint32]PivotHandler

GetPivotHandlers - Returns a map of pivot handlers

func GetSpecialHandlers

func GetSpecialHandlers() map[uint32]SpecialHandler

GetSpecialHandlers returns the specialHandlers map

func GetSystemHandlers

func GetSystemHandlers() map[uint32]RPCHandler

GetSystemHandlers - Returns a map of the linux system handlers

func GetSystemPivotHandlers

func GetSystemPivotHandlers() map[uint32]PivotHandler

GetSystemPivotHandlers - Returns a map of the linux system handlers

func GetTunnelHandlers

func GetTunnelHandlers() map[uint32]TunnelHandler

GetTunnelHandlers - Returns a map of tunnel handlers

Types

type PivotHandler

type PivotHandler func(*sliverpb.Envelope, *transports.Connection)

PivotHandler - Handler related to pivoting

type RPCHandler

type RPCHandler func([]byte, RPCResponse)

RPCHandler - Request handler

type RPCResponse

type RPCResponse func([]byte, error)

RPCResponse - Request/response callback

type SpecialHandler

type SpecialHandler func([]byte, *transports.Connection) error

SpecialHandler - Handlers that need to interact directly with the transport

type TunnelHandler

type TunnelHandler func(*sliverpb.Envelope, *transports.Connection)

TunnelHandler - Tunnel related functionality for duplex connections

Jump to

Keyboard shortcuts

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