Documentation ¶
Index ¶
- func PublicKeyFile(file string) ssh.AuthMethod
- func Run(task structs.Task)
- func SSHBruteHost(host string, port int, creds []Credential, debug bool, command string, ...)
- func SSHLogin(host string, port int, cred Credential, debug bool, command string, ...)
- type Credential
- type SSHAuthenticator
- type SSHResult
- type SSHTestParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SSHBruteHost ¶
Types ¶
type Credential ¶
Credential Manages credential objects for authentication
type SSHAuthenticator ¶
type SSHAuthenticator struct {
// contains filtered or unexported fields
}
SSHAuthenticator Governs the lock of ssh authentication attempts
func (*SSHAuthenticator) Brute ¶
func (auth *SSHAuthenticator) Brute(port int, creds []Credential, debug bool, command string, source string, destination string)
type SSHResult ¶
type SSHResult struct { Status string `json:"status"` Success bool `json:"success"` Username string `json:"username"` Secret string `json:"secret"` Output string `json:"output"` Host string `json:"host"` CopyStatus string `json:"copy_status"` }
func SSHBruteForce ¶
type SSHTestParams ¶
Click to show internal directories.
Click to hide internal directories.