Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "3.2.0"
Variables ¶
This section is empty.
Functions ¶
func HelpPrompt ¶
func HelpPrompt(options kong.HelpOptions, ctx *kong.Context) error
Types ¶
type Config ¶
type Config struct { FileName string `help:"Input PE file name." name:"file" short:"f"` OutputFile string `help:"Output binary payload file name." name:"out" short:"o"` EncodeCount int `help:"Number of times to encode the generated reflective payload." name:"encode" short:"e" default:"1"` ObfuscationLimit int `help:"Maximum number of bytes for encoder obfuscation." name:"obfuscate-limit" short:"l" default:"5"` UseIAT bool `help:"Use IAT API resolver block instead of CRC API resolver block." name:"iat"` UseSyscalls bool `help:"Perform raw syscalls. (only x64)" name:"sys"` ScrapePeHeaders bool `help:"Scrape magic byte and DOS stub from PE." name:"scrape"` // IgnoreIntegrity bool `help:"Ignore PE file integrity check errors." name:"ignore"` Verbose bool `help:"Verbose mode." name:"verbose" short:"v"` Version kong.VersionFlag }
Main config struct for parsing the TOML file
func Parse ¶
ConfigureOptions accepts a flag set and augments it with agentgo-server specific flags. On success, an options structure is returned configured based on the selected flags.
func (*Config) PrintSummary ¶
func (cfg *Config) PrintSummary()
Click to show internal directories.
Click to hide internal directories.