telnet

package
v0.0.191 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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

RunPentest performs Telnet pentest operations for multiple targets.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL