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

Function trackOutput

cmd/shellz/run.go:117–121  ·  view source on GitHub ↗
(out []byte)

Source from the content-addressed store, hash-verified

115}
116
117func trackOutput(out []byte) {
118 if out != nil {
119 atomic.AddUint64(&stats.Output, uint64(len(out)))
120 }
121}
122
123func findSessionFor(sh models.Shell) (err error, sess session.Session) {
124 // first try one of the default handlers

Callers 1

cmdWorkerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected