coffloader

package
v0.0.0-...-744ef3f Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackCoffArgs

func PackCoffArgs(args []CoffArg) ([]string, error)

PackCoffArgs converts CoffArg values to the lighthouse wire format.

func ParseCOFFArgs

func ParseCOFFArgs(env []string) ([]string, error)

ParseCOFFArgs extracts the space-delimited args= entry from an env list. Provided for compatibility with existing tests.

func RunLinuxCOFF

func RunLinuxCOFF(payload []byte, export string, args []CoffArg) (string, error)

RunLinuxCOFF executes an x86_64 ELF BOF payload on Linux using the Beacon arg format.

Types

type CoffArg

type CoffArg struct {
	WireType string
	Value    any
}

CoffArg represents a single BOF/COFF argument with its wire type.

Jump to

Keyboard shortcuts

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