Documentation
¶
Index ¶
- func ExecuteCommands(host string, port int, username, password string, commands []string, ...) ([]*sshfern.CommandExecution, error)
- func PerformAuthentication(target string, config *sshfern.PentestSshConfig) (*sshfern.PentestSshDetails, error)
- func PerformAuthenticationWithContext(ctx context.Context, target string, config *sshfern.PentestSshConfig) (*sshfern.PentestSshDetails, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCommands ¶
func ExecuteCommands(host string, port int, username, password string, commands []string, timeout int) ([]*sshfern.CommandExecution, error)
ExecuteCommands executes commands on the remote SSH server using valid credentials This function requires successful authentication first
func PerformAuthentication ¶
func PerformAuthentication(target string, config *sshfern.PentestSshConfig) (*sshfern.PentestSshDetails, error)
PerformAuthentication performs authentication attempts against SSH service Returns both base server info and auth results
func PerformAuthenticationWithContext ¶
func PerformAuthenticationWithContext(ctx context.Context, target string, config *sshfern.PentestSshConfig) (*sshfern.PentestSshDetails, error)
PerformAuthenticationWithContext performs authentication attempts against SSH service with context Returns both base server info and auth results
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.