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

Method executeGetKillDate

workflow/executor_server.go:222–229  ·  view source on GitHub ↗

--- Server Config Operations --- executeGetKillDate retrieves the beacon kill date

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

Source from the content-addressed store, hash-verified

220
221// executeGetKillDate retrieves the beacon kill date
222func (e *Executor) executeGetKillDate(ctx context.Context, client *csclient.Client) (string, error) {
223 e.logInfo("Getting kill date")
224 resp, err := client.GetKillDate(ctx)
225 if err != nil {
226 return "", fmt.Errorf("get kill date failed: %w", err)
227 }
228 return resp, nil
229}
230
231// executeGetC2Profile retrieves the Malleable C2 profile
232func (e *Executor) executeGetC2Profile(ctx context.Context, client *csclient.Client) (string, error) {

Callers 1

executeActionMethod · 0.95

Calls 1

logInfoMethod · 0.95

Tested by

no test coverage detected