Documentation
¶
Index ¶
- func ExecuteCommands(ctx context.Context, target string, config *telnetfern.PentestTelnetConfig, ...) (*telnetfern.ExecResult, error)
- func PerformAuthentication(target string, config *telnetfern.PentestTelnetConfig) (*telnetfern.AuthResult, error)
- func PerformAuthenticationWithContext(ctx context.Context, target string, config *telnetfern.PentestTelnetConfig) (*telnetfern.AuthResult, error)
- func RunPentest(ctx context.Context, config *telnetfern.PentestTelnetConfig) (*telnetfern.PentestTelnetReport, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCommands ¶
func ExecuteCommands(ctx context.Context, target string, config *telnetfern.PentestTelnetConfig, creds *execCredentials) (*telnetfern.ExecResult, error)
ExecuteCommands executes commands on the remote Telnet server using pre-validated credentials. The caller must supply credentials obtained from a prior AUTH phase — this function does not perform a credential spray itself; it opens a single connection and logs in with the supplied username/password before sending commands.
func PerformAuthentication ¶
func PerformAuthentication(target string, config *telnetfern.PentestTelnetConfig) (*telnetfern.AuthResult, error)
PerformAuthentication performs authentication attempts against Telnet service Returns both base server info and auth results
func PerformAuthenticationWithContext ¶
func PerformAuthenticationWithContext(ctx context.Context, target string, config *telnetfern.PentestTelnetConfig) (*telnetfern.AuthResult, error)
PerformAuthenticationWithContext performs authentication attempts against Telnet service with context Returns both base server info and auth results
func RunPentest ¶ added in v0.0.154
func RunPentest(ctx context.Context, config *telnetfern.PentestTelnetConfig) (*telnetfern.PentestTelnetReport, error)
RunPentest performs Telnet pentest operations for multiple targets.
Types ¶
This section is empty.