github.com/azure/agentbaker v0.0.0-20260903233000-9f93a4da93e4
PowerShell -EncodedCommand payload (33 chars decoded) at offset 0xf991imports encoding/json
SHA-2567e6dab928a2db453a453a883c6d09adaafe8881e3d3f72bbf8cfb2a56d1b6f35
MaleculeMdTh
Evidence
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license.
3
4package datamodel
5
6import (
7 "encoding/json"
8 "strings"
9 "testing"
10
11 "github.com/Azure/go-autorest/autorest/to"
12 "github.com/stretchr/testify/assert"
13)
14
15const (
16 // scaleSetPriorityRegular is the default ScaleSet Priority.
17 ScaleSetPriorityReg …
45:385… nt.azure.microsoft.fakecustomcloud/","activeDirectoryEndpoint":"https://login.microsoftonline.microsoft.fakecustomcloud/","keyVaultEndpoint":"https://vault.cloudapi.microsoft.fakecustomcloud/","graphEndpoint":"https://graph.cloudap …
46:15… = properties.GetCustomEnvironmentJSON(false)
47 if err != nil {
48 t.Error(err)
49 }
50
⋯7 lines
2049:67… rned: %s", err)
2050 }
2051
2052 unmarshalled := WindowsProfile{}
2053 if err = json.Unmarshal(jsonBytes, &unmarshalled); err != nil {
2054 t.Fatalf("Expected JSON unmarshal to not return an error, but returned: %s", err)
2055 }
2622:3… Enabled: &b,
2623 Config: map[string]string{
2624 "workspaceGuid": "MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAw",
2625 "workspaceKey": "NEQrdnlkNS9qU2NCbXNBd1pPRi8wR09CUTVrdUZRYzlKVmFXK0hsbko1OGN5ZVBKY3dUcGtzK3JWbXZnY1hHbW15dWpMRE5FVlBpVDhwQjI3NGE5WWc9PQ==",
2626 },
2627 },
⋯4 lines
No evidence locations were recorded for this file. Raw result