MCPcopy Create free account
hub / github.com/BishopFox/cloudfox / Receiver

Method Receiver

aws/lambda.go:250–261  ·  view source on GitHub ↗
(receiver chan Lambda, receiverDone chan bool)

Source from the content-addressed store, hash-verified

248}
249
250func (m *LambdasModule) Receiver(receiver chan Lambda, receiverDone chan bool) {
251 defer close(receiverDone)
252 for {
253 select {
254 case data := <-receiver:
255 m.Lambdas = append(m.Lambdas, data)
256 case <-receiverDone:
257 receiverDone <- true
258 return
259 }
260 }
261}
262
263func (m *LambdasModule) writeLoot(outputDirectory string, verbosity int) {
264 path := filepath.Join(outputDirectory, "loot")

Callers 1

PrintLambdasMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected