Documentation
¶
Index ¶
- Constants
- func AppendInputPayload(multipleOf int, payload []byte) ([]byte, error)
- func GenerateIpv4Output(shellcode []byte) error
- func GenerateIpv6Output(shellcode []byte) error
- func GenerateMacOutput(shellcode []byte) error
- func GenerateRandomBytes(size int) []byte
- func GenerateUuidOutput(shellcode []byte) error
- func PrintDecodeFunctionality(decodeType int)
- func PrintHexData(name string, data []byte)
- func Rc4EncryptionViSystemFunc032(rc4Key, payloadData []byte) ([]byte, error)
- func ReadPayloadFile(fileInput string) ([]byte, error)
- func SimpleEncryption(plainTextData, key, iv []byte) ([]byte, error)
- func WritePayloadFile(fileInput string, payloadData []byte) error
Constants ¶
const ( UUIDFuscation = 0x444 AESEncryption = 0x555 RC4Encryption = 0x666 IPv6Fuscation = 0x111 IPv4Fuscation = 0x222 MACFuscation = 0x333 RC4KeySize = 16 AESKeySize = 32 AESIVSize = 16 )
Constants to help identify user input
Variables ¶
This section is empty.
Functions ¶
func AppendInputPayload ¶ added in v1.0.1
AppendInputPayload appends payload to make its size a multiple of the given value.
func GenerateIpv4Output ¶
GenerateIpv4Output generates the IPv4 output representation of the shellcode
func GenerateIpv6Output ¶
GenerateIpv6Output generates the IPv6 output representation of the shellcode
func GenerateMacOutput ¶
GenerateMacOutput generates the MAC output representation of the shellcode
func GenerateRandomBytes ¶
GenerateRandomBytes generates random bytes of the given size
func GenerateUuidOutput ¶
GenerateUuidOutput generates the UUID output representation of the shellcode
func PrintDecodeFunctionality ¶
func PrintDecodeFunctionality(decodeType int)
PrintDecodeFunctionality prints the decryption/deobfuscation function as a string to the screen
func PrintHexData ¶
PrintHexData prints the input buffer as a hex char array (C syntax)
func Rc4EncryptionViSystemFunc032 ¶
Rc4EncryptionViSystemFunc032 performs the RC4 encryption
func ReadPayloadFile ¶
ReadPayloadFile reads a file from disk
func SimpleEncryption ¶
SimpleEncryption is a wrapper function for AES encryption that makes things easier
func WritePayloadFile ¶
WritePayloadFile writes a file to disk
Types ¶
This section is empty.