Help us shape the future of Go! Take the 2026 Go Developer Survey

mutant

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchConfig

func PatchConfig(req *PatchConfigRequest) ([]byte, error)

PatchConfig patches a pre-compiled template binary with runtime config by invoking malefic-mutant patch-config.

func Sigforge

func Sigforge(req *SigforgeRequest) ([]byte, error)

Sigforge manipulates PE file signatures using malefic-mutant sigforge tool

func Srdi

func Srdi(req *SrdiRequest) ([]byte, error)

Srdi converts DLL to shellcode using malefic-mutant srdi tool

func Strip

func Strip(req *StripRequest) ([]byte, error)

Strip removes paths from binary files using malefic-mutant strip tool

Types

type PatchConfigRequest

type PatchConfigRequest struct {
	TemplateBin []byte
	ImplantYaml []byte
	Output      string
}

type SigforgeRequest

type SigforgeRequest struct {
	Operation string // extract, copy, inject, remove, check
	SourceBin []byte // source PE file
	TargetBin []byte // target PE file (for copy operation)
	Signature []byte // signature data (for inject operation)
}

SigforgeRequest represents the parameters for the Sigforge tool

type SrdiRequest

type SrdiRequest struct {
	Bin          []byte
	Arch         string // x86 or x64
	FunctionName string
	Platform     string // win
	Type         string // link or malefic
	Userdata     []byte
}

SrdiRequest represents the parameters for the SRDI tool

type StripRequest

type StripRequest struct {
	Bin         []byte
	CustomPaths []string
}

StripRequest represents the parameters for the Strip tool

Jump to

Keyboard shortcuts

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