package module
Version: v0.0.0-...-a8a90e7 Latest Latest

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

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



Shellcode library as a Go package.

go build

./shellcode -a arm -b 32 -o linux

2019/01/08 03:15:40 {Os:linux Arch:arm Bit:32 Name:reverse_tcp_shell Function:0x4a7720}

2019/01/08 03:15:40 {Os:linux Arch:arm Bit:32 Name:reverse_tcp_stager Function:0x4a7bd0}

2019/01/08 03:15:40 {Os:linux Arch:arm Bit:32 Name:user_shellcode Function:0x4a8080}

Read more about the project here:




This section is empty.


This section is empty.


func CopyFile

func CopyFile(src, dst string) (int64, error)

CopyFile - copies a file

func DirExists

func DirExists(dirname string) bool

DirExists - returns true iff a directory exists

func Generate

func Generate(os api.Os, arch api.Arch, name string, params api.Parameters) ([]byte, error)

Generate - makes a shellcode from a registered template module

func WalkMatch

func WalkMatch(root, pattern string) ([]string, error)

WalkMatch - returns all files matching a pattern recursively


type Repo

type Repo struct {
	Directory string

Repo - Shellcode Repository, directory-backed

func NewRepo

func NewRepo(dirName string) *Repo

NewRepo - create a new Repo object, if dirName is provided, directory structure will be created if it doesn't exist

func (*Repo) Lookup

func (r *Repo) Lookup(os api.Os, arch api.Arch, pattern string) ([]byte, error)

Lookup - fetches a completed shellcode from the filesystem


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL