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

Method Exec

session/session.go:22–22  ·  view source on GitHub ↗
(cmd string)

Source from the content-addressed store, hash-verified

20type Session interface {
21 Type() string
22 Exec(cmd string) ([]byte, error)
23 Close()
24}
25

Callers 1

cmdWorkerFunction · 0.65

Implementers 5

KubeSessionsession/kube.go
SSHSessionsession/ssh.go
WinRMSessionsession/winrm.go
TelnetSessionsession/telnet.go
Pluginplugins/plugin.go

Calls

no outgoing calls

Tested by

no test coverage detected