Documentation
¶
Index ¶
- func Base64EncodeStr(s string) string
- func CmdReturn(command string) ([]byte, error)
- func CopyFile(sourcePath string, destinationPath string) error
- func DecryptString(key []byte, secure string) (decoded string, err error)
- func DoesFileExist(path string) bool
- func GenerateKey() ([]byte, error)
- func GenerateSecureBytes(l int) ([]byte, error)
- func GenerateShellCodeFromFile(path string) (*bytes.Buffer, error)
- func GetCurrentProcArch() string
- func NewFileWithContent(path string, content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesFileExist ¶
check if a file exists returns true if file exists
func GenerateSecureBytes ¶
generate a secure []byte of length l
func NewFileWithContent ¶
create a new file containing content
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.