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: 18 Imported by: 3

README

Handlers

WARNING: Methods in this package can be invoked by an implant without user-interaction (e.g. they're publicly invoke-able)

The handlers package contains backend APIs that can be directly invoked by a remote implant without a corresponding protobuf request.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandlers added in v1.5.0

func GetHandlers() map[uint32]ServerHandler

GetHandlers - Returns a map of server-side msg handlers

func GetNonPivotHandlers added in v1.5.0

func GetNonPivotHandlers() map[uint32]ServerHandler

GetNonPivotHandlers - Server handlers for pivot connections, its important to avoid a pivot handler from calling a pivot handler and causing a recursive call stack

func MustMarshal added in v1.5.0

func MustMarshal(msg proto.Message) []byte

MustMarshal - Marshals or returns an empty byte array

Types

type ServerHandler added in v1.5.0

type ServerHandler func(*core.ImplantConnection, []byte) *sliverpb.Envelope

Jump to

Keyboard shortcuts

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