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

Function execSpite

internal/bridge/commands.go:163–173  ·  view source on GitHub ↗

execSpite builds a simple ExecResponse Spite for error messages.

(message string)

Source from the content-addressed store, hash-verified

161
162// execSpite builds a simple ExecResponse Spite for error messages.
163func execSpite(message string) *implantpb.Spite {
164 return &implantpb.Spite{
165 Name: consts.ModuleExecute,
166 Body: &implantpb.Spite_ExecResponse{
167 ExecResponse: &implantpb.ExecResponse{
168 Stdout: []byte(message),
169 End: true,
170 },
171 },
172 }
173}

Callers 6

HandleMethod · 0.85
HandleMethod · 0.85
HandleMethod · 0.85
HandleMethod · 0.85
HandleMethod · 0.85
HandleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected