shellcode

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type I386

type I386 struct {
	// contains filtered or unexported fields
}

I386 is a shellcode interface for 32-bit intel processors

func NewI386

func NewI386() *I386

NewI386 returns a pointer to a I386 type

func (*I386) LinuxShell

func (i386 *I386) LinuxShell() ([]byte, error)

LinuxShell is a method for JIT compiling shellcode that executes /bin/sh

type X8664

type X8664 struct {
	// contains filtered or unexported fields
}

X8664 is a shellcode interface for 64-bit intel processors

func NewX8664

func NewX8664() *X8664

NewX8664 returns a pointer to a shellcode X8664 type

func (*X8664) LinuxMemFdExec

func (x8664 *X8664) LinuxMemFdExec(payload []byte) ([]byte, error)

LinuxMemFdExec constructs a payload to run the supplied executable in an anonymous file descriptor

func (*X8664) LinuxShell

func (x8664 *X8664) LinuxShell() ([]byte, error)

LinuxShell is a method for JIT compiling x86-64 shellcode that executes /bin/sh

Jump to

Keyboard shortcuts

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