config

package
v0.0.0-...-f54fa65 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "?"
)

Functions

func HelpPrompt

func HelpPrompt(options kong.HelpOptions, ctx *kong.Context) error

Types

type Options

type Options struct {
	Input        string `help:"Input binary path" name:"input" short:"i"`
	Output       string `help:"Encoded output binary name" name:"out" short:"o"`
	Arch         int    `help:"Binary architecture (32/64)" name:"arch" short:"a" default:"64"`
	EncCount     int    `help:"Number of times to encode the binary (increases overall size)" name:"enc" short:"c" default:"1"`
	ObsLevel     int    `help:"Maximum number of bytes for decoder obfuscation" name:"max" short:"M" default:"50"`
	PlainDecoder bool   `help:"Do not encode the decoder stub" name:"plain"`
	AsciiPayload bool   `help:"Generates a full ASCI printable payload (may take very long time to bruteforce)" name:"ascii"`
	Safe         bool   `help:"Preserve all register values (a.k.a. no clobber)" name:"safe" short:"S"`
	BadChars     string `help:"Don't use specified bad characters given in hex format (\\x00\\x01\\x02...)" name:"badchars"`
	Verbose      bool   `help:"Verbose mode" name:"verbose" short:"v"`
	Version      kong.VersionFlag
}

func ConfigureOptions

func ConfigureOptions() (*Options, error)

Jump to

Keyboard shortcuts

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