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

Function trackFailure

cmd/shellz/run.go:108–115  ·  view source on GitHub ↗
(connect bool)

Source from the content-addressed store, hash-verified

106}
107
108func trackFailure(connect bool) {
109 atomic.AddUint64(&stats.Failed, 1)
110 if connect {
111 atomic.AddUint64(&stats.FailedConnect, 1)
112 } else {
113 atomic.AddUint64(&stats.FailedExec, 1)
114 }
115}
116
117func trackOutput(out []byte) {
118 if out != nil {

Callers 1

cmdWorkerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected