MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Handle

Method Handle

internal/bridge/module_tapping.go:26–31  ·  view source on GitHub ↗
(ctx ModuleContext, sessionID string, taskID uint32, _ *implantpb.Spite)

Source from the content-addressed store, hash-verified

24func (m *TappingOffModule) Name() string { return "tapping_off" }
25
26func (m *TappingOffModule) Handle(ctx ModuleContext, sessionID string, taskID uint32, _ *implantpb.Spite) {
27 ctx.TappingDel(sessionID)
28 log.Infof("[bridge] tapping deactivated for session %s", sessionID)
29 ctx.SendSpite(sessionID, taskID, execSpite("tapping stopped"))
30 ctx.Tasks.Complete(sessionID, taskID)
31}

Callers

nothing calls this directly

Calls 2

execSpiteFunction · 0.85
CompleteMethod · 0.45

Tested by

no test coverage detected