unpacker

package
v0.0.0-...-8483bd9 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryRegion

type MemoryRegion struct {
	Address     uintptr
	Size        uint64
	Permissions uint8
	Content     []byte
}

type Module

type Module struct {
	Name        string
	Description string
	Version     string
	Author      string
	// contains filtered or unexported fields
}

func NewModule

func NewModule() *Module

func (*Module) Analyze

func (m *Module) Analyze(filePath string) (map[string]interface{}, error)

func (*Module) ExecuteCommand

func (m *Module) ExecuteCommand(command string, args []string) (interface{}, error)

func (*Module) GetInfo

func (m *Module) GetInfo() *module.ModuleInfo

func (*Module) Initialize

func (m *Module) Initialize() error

func (*Module) Scan

func (m *Module) Scan(pid int) (bool, error)

func (*Module) Unpack

func (m *Module) Unpack(pid int, outputPath string) (string, error)

type Unpacker

type Unpacker struct {
	Config      UnpackerConfig
	MemoryMaps  []MemoryRegion
	UnpackedBin []byte
}

func NewUnpacker

func NewUnpacker(config UnpackerConfig) *Unpacker

func (*Unpacker) AnalyzeUnpackedBinary

func (u *Unpacker) AnalyzeUnpackedBinary() (map[string]interface{}, error)

func (*Unpacker) ScanProcess

func (u *Unpacker) ScanProcess() error

type UnpackerConfig

type UnpackerConfig struct {
	TargetProcess int
	OutputPath    string
	Verbose       bool
}

Jump to

Keyboard shortcuts

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