amd64

package
v1.6.10 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Xor

func Xor(data []byte, key []byte) ([]byte, error)

Xor encodes an amd64 payload using the Metasploit x64/xor scheme.

func XorDynamic

func XorDynamic(data []byte, key []byte) ([]byte, error)

XorDynamic encodes an amd64 payload using the Metasploit x64/xor_dynamic scheme. If key includes a trailing key terminator + payload terminator (3 bytes) that satisfy the encoder constraints, those are used verbatim.

func XorDynamicKeyGen

func XorDynamicKeyGen() ([]byte, error)

XorDynamicKeyGen returns a random key suitable for the XOR dynamic encoder.

func XorKeyGen

func XorKeyGen() ([]byte, error)

XorKeyGen returns a random key suitable for the XOR encoder.

Types

This section is empty.

Jump to

Keyboard shortcuts

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