Documentation
¶
Index ¶
- func CurlRemoteUsage(url string) string
- func ObjcopyPulse(path, platform, arch string) ([]byte, error)
- func PowershellRemoteUsage(powershellURL string) string
- func SRDIArtifact(path, platform, arch string, useobjcopy bool) ([]byte, error)
- type FormatInfo
- type FormatResult
- type Formatter
- func (f *Formatter) Convert(data []byte, format string) (*FormatResult, error)
- func (f *Formatter) GetFormatDescription(format string) string
- func (f *Formatter) GetFormatExtension(format string) string
- func (f *Formatter) GetFormatsSupportRemote() map[string]string
- func (f *Formatter) GetFormatsWithDescriptions() map[string]string
- func (f *Formatter) GetSupportedFormats() []string
- func (f *Formatter) IsSupported(format string) bool
- func (f *Formatter) IsSupportedRemote(format string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurlRemoteUsage ¶
func ObjcopyPulse ¶
ObjcopyPulse extracts shellcode from compiled artifact using objcopy
func PowershellRemoteUsage ¶
Types ¶
type FormatInfo ¶
type FormatResult ¶
type Formatter ¶
type Formatter struct {
SupportedFormats map[string]FormatInfo
}
func NewFormatter ¶
func NewFormatter() *Formatter
NewFormatter creates a new formatter with all supported formats
func (*Formatter) Convert ¶
func (f *Formatter) Convert(data []byte, format string) (*FormatResult, error)
Convert converts raw shellcode bytes to the specified format
func (*Formatter) GetFormatDescription ¶
GetFormatDescription returns the description for a specific format
func (*Formatter) GetFormatExtension ¶
GetFormatExtension returns the file extension for a specific format
func (*Formatter) GetFormatsSupportRemote ¶
func (*Formatter) GetFormatsWithDescriptions ¶
GetFormatsWithDescriptions returns a map of format names to descriptions
func (*Formatter) GetSupportedFormats ¶
GetSupportedFormats returns a list of all supported format names
func (*Formatter) IsSupported ¶
IsSupported checks if a format is supported
func (*Formatter) IsSupportedRemote ¶
Click to show internal directories.
Click to hide internal directories.