cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EncKindAES encKind = "AES"
	EncKindXOR encKind = "XOR"
	EncKindBLF encKind = "blowfish"
	EncKindC20 encKind = "chacha20"

	CRT              technique = "CRT"
	SYSCALL          technique = "Syscall"
	CreateThread     technique = "CreateThread"
	ProcessHollowing technique = "ProcessHollowing"
)
View Source
const ASCII_ART = `` /* 1162-byte string literal not displayed */
View Source
const MYPH_TMP_DIR = "/tmp/myph-out"
View Source
const MYPH_TMP_WITH_PAYLOAD = "/tmp/myph-out/payload.exe"

Variables

This section is empty.

Functions

func GetParser

func GetParser(opts *Options) *cobra.Command

func RandBytes

func RandBytes(length int) []byte

Generate a random list of bytes

Types

type Options

type Options struct {

	// Shellcode encryption method
	Encryption encKind

	// Encryption key (if needed)
	Key string

	// Shellcode path
	ShellcodePath string

	// OutName path
	OutName string

	// os compilation target
	OS string

	// Arch compilation target
	Arch string

	// target process name to inject
	Target string

	// Shellcode loading method
	Technique string

	// Sleep time before running execution
	SleepTime uint
}

func GetDefaultCLIOptions

func GetDefaultCLIOptions() Options

Get default value for Options struct

Jump to

Keyboard shortcuts

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