Documentation
¶
Index ¶
- func AESDecrypt(ciphertext []byte, iv []byte, key []byte) ([]byte, error)
- func AESEncrypt(plaintext []byte, iv []byte, key []byte) ([]byte, error)
- func AppendSlice(slice, slice2 []string) []string
- func AppendString(slice []string, str string) []string
- func CalcShellcode() []byte
- func CalculateSums(output_file string) (string, string, string, error)
- func ConvertBytes(dllBytes, functionHash, userData []byte) []byte
- func ConvertDllBytesToShellcode(dll_bytes []byte, func_name string, data string) ([]byte, error)
- func ConvertDllToShellcode(dll_file string, func_name string, data string) ([]byte, error)
- func Entropy(file string) (float64, error)
- func GenerateIV() ([]byte, error)
- func GetShellcodeFromFile(file string) ([]byte, error)
- func GetShellcodeFromUrl(sc_url string) ([]byte, error)
- func Md5(src string) string
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5Trimming(encrypt []byte) []byte
- func RandomInt(min, max int) int
- func RandomString(n int) string
- func Rc4Decrypt(ciphertext []byte, psk []byte) ([]byte, error)
- func Rc4Encrypt(plaintext []byte, psk []byte) ([]byte, error)
- func Sha1(src string) string
- func Sha256(src string) string
- func TripleDesDecrypt(data, key []byte) ([]byte, error)
- func TripleDesEncrypt(data, key []byte) ([]byte, error)
- func Xor(input, key []byte) (cipher []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendSlice ¶
func AppendString ¶
func CalcShellcode ¶
func CalcShellcode() []byte
func ConvertBytes ¶
func ConvertDllToShellcode ¶
func GenerateIV ¶
func GetShellcodeFromFile ¶
func GetShellcodeFromUrl ¶
func PKCS5Padding ¶
func PKCS5Trimming ¶
func TripleDesDecrypt ¶
func TripleDesEncrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.