executeHashdump dumps password hashes
(ctx context.Context, client *csclient.Client, beaconID string)
| 247 | |
| 248 | // executeHashdump dumps password hashes |
| 249 | func (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 |
| 259 | func (e *Executor) executeLogonPasswords(ctx context.Context, client *csclient.Client, beaconID string) (string, error) { |
no test coverage detected