MCPcopy Create free account
hub / github.com/Xenov-X/csbot / executeGetC2Profile

Method executeGetC2Profile

workflow/executor_server.go:232–239  ·  view source on GitHub ↗

executeGetC2Profile retrieves the Malleable C2 profile

(ctx context.Context, client *csclient.Client)

Source from the content-addressed store, hash-verified

230
231// executeGetC2Profile retrieves the Malleable C2 profile
232func (e *Executor) executeGetC2Profile(ctx context.Context, client *csclient.Client) (string, error) {
233 e.logInfo("Getting C2 profile")
234 resp, err := client.GetC2Profile(ctx)
235 if err != nil {
236 return "", fmt.Errorf("get c2 profile failed: %w", err)
237 }
238 return resp, nil
239}
240
241// executeGetSystemInfo retrieves team server system information
242func (e *Executor) executeGetSystemInfo(ctx context.Context, client *csclient.Client) (string, error) {

Callers 1

executeActionMethod · 0.95

Calls 1

logInfoMethod · 0.95

Tested by

no test coverage detected