handlers

package
v1.15.16 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: GPL-3.0 Imports: 29 Imported by: 1

README

Handlers

Notes on naming: - generic refers to the handler's calling convention, it is called and returns a generic message format - _default.go implementations are pure Go, we compile this file for unsupported GOOS/GOARCH combinations

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 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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