bt

package
v0.0.0-...-3422e01 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ERROR - constant for an error
	ERROR = iota
	// ELF - constant for ELF binary format
	ELF = iota
	// MACHO - constant for Mach-O binary format
	MACHO = iota
	// FAT - constant for FAT/Mach-O binary format
	FAT = iota
	// PE - constant for PE binary format
	PE = iota
	// MIN_CAVE_SIZE - the smallest a code cave can be
	MIN_CAVE_SIZE = 94
)

Variables

This section is empty.

Functions

func BinTriage

func BinTriage(sourceFile string) error

BinTriage - function to get some struct info on a binary

func BinaryMagic

func BinaryMagic(filename string) (int, error)

BinaryMagic - Identifies the Binary Format of a file by looking at its magic number

func ElfBinTriage

func ElfBinTriage(sourceFile string) error

ElfBinTriage - Inject shellcode into an ELF binary

func FatBinTriage

func FatBinTriage(sourceFile string) error

FatBinTriage - Get more info on a Mach-O binary

func MachoBinTriage

func MachoBinTriage(sourceFile string) error

MachoBinTriage - Get more info on a Mach-O binary

func PeBinTriage

func PeBinTriage(sourceFile string) error

PeBinTriage - get more info on a PE binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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