Documentation
¶
Index ¶
Constants ¶
View Source
const ( DJB2 apiHashTechnique = "DJB2" SHA1 apiHashTechnique = "SHA1" SHA256 apiHashTechnique = "SHA256" SHA512 apiHashTechnique = "SHA512" EncKindAES encKind = "AES" EncKindXOR encKind = "XOR" EncKindBLF encKind = "blowfish" EncKindC20 encKind = "chacha20" CRT technique = "CRT" CRTx technique = "CRTx" ETWP technique = "Etwp" SYSCALL technique = "Syscall" SYSCALLTEST technique = "SyscallTest" NtCreateThreadEx technique = "NtCreateThreadEx" CreateFiber technique = "CreateFiber" CreateThread technique = "CreateThread" ProcessHollowing technique = "ProcessHollowing" EnumCalendarInfoA technique = "EnumCalendarInfoA" )
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."
Variables ¶
This section is empty.
Functions ¶
func BuildLoader ¶ added in v1.2.0
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
// Registry-Persistence handler
Persistence string
// Goversion filepath
VersionFilePath string
// PE filepath
PEFilePath string
// Builds with debug symbol
WithDebug bool
// Use API-hashing
UseAPIHashing bool
// API hashing algorithm
APIHashingType string
// Build type
BuildType string
}
func GetDefaultCLIOptions ¶
func GetDefaultCLIOptions() Options
Get default value for Options struct
Click to show internal directories.
Click to hide internal directories.