MCPcopy Create free account
hub / github.com/evilsocket/shellz / TelnetSession

Struct TelnetSession

session/telnet.go:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type TelnetSession struct {
20 sync.Mutex
21 host string
22 client *telnet.Conn
23 timeouts core.Timeouts
24}
25
26func NewTelnet(sh models.Shell, timeouts core.Timeouts) (error, Session) {
27 var err error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected