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

Function For

session/session.go:26–31  ·  view source on GitHub ↗
(sh models.Shell, timeouts core.Timeouts)

Source from the content-addressed store, hash-verified

24}
25
26func For(sh models.Shell, timeouts core.Timeouts) (error, Session) {
27 if mgr := managers[sh.Type]; mgr != nil {
28 return mgr(sh, timeouts)
29 }
30 return nil, nil
31}

Callers 2

findSessionForFunction · 0.92
tunWorkerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected