Documentation
¶
Index ¶
- Variables
- func CopyFile(src string, dst string) error
- func ExecCommand(command string, params []string) string
- func OpensshKeyCheck(key []byte) bool
- func PpkKeyCheck(key []byte) bool
- func ReadKey(keyPath string) []byte
- func Win32CryptUnprotectData(cipherText string, entropy bool) string
- type DATA_BLOB
- type ExtractCredentialsNamePass
- type ExtractCredentialsResult
- type NamePass
- type UrlNamePass
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ExecCommand ¶
Silent cmd exec. When using this function, the user will not see the CMD window
func Win32CryptUnprotectData ¶
Function for decrypting data that has been encrypted with CryptProtectData from win cryptapi
Types ¶
type DATA_BLOB ¶
type DATA_BLOB struct {
// contains filtered or unexported fields
}
WinAPI data blob structure
func (*DATA_BLOB) ToByteArray ¶
Transform WinApi data blob to byte array
type ExtractCredentialsNamePass ¶
Structure for extracted credentials that contains status flag and data array
type ExtractCredentialsResult ¶
type ExtractCredentialsResult struct { Success bool Data []UrlNamePass }
Structure for extracted credentials that contains status flag and data array
type UrlNamePass ¶
Structure for extracted credentials that contains a target url, login and password
Click to show internal directories.
Click to hide internal directories.