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

Method executeHashdump

workflow/executor_credentials.go:249–256  ·  view source on GitHub ↗

executeHashdump dumps password hashes

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

Source from the content-addressed store, hash-verified

247
248// executeHashdump dumps password hashes
249func (e *Executor) executeHashdump(ctx context.Context, client *csclient.Client, beaconID string) (string, error) {
250 resp, err := client.Hashdump(ctx, beaconID)
251 if err != nil {
252 return "", err
253 }
254
255 return e.waitForOutput(ctx, client, resp.TaskID)
256}
257
258// executeLogonPasswords dumps plaintext credentials and NTLM hashes
259func (e *Executor) executeLogonPasswords(ctx context.Context, client *csclient.Client, beaconID string) (string, error) {

Callers 1

executeActionMethod · 0.95

Calls 1

waitForOutputMethod · 0.95

Tested by

no test coverage detected