Skip to content

Commit ce5cb1a

Browse files
committed
fix
1 parent 30586c0 commit ce5cb1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

winPEAS/winPEASexe/winPEAS/Info/CloudInfo/AzureInfo.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public override Dictionary<string, List<EndpointData>> EndpointDataList()
5454
Environment.GetEnvironmentVariable("IDENTITY_ENDPOINT");
5555
endpoints = new List<Tuple<string, string, bool>>()
5656
{
57-
new Tuple<string, string, bool>("Management token", $"identity/oauth2/token?api-version={CONTAINER_API_VERSION}&resource=https://management.azure.com/", true),
58-
new Tuple<string, string, bool>("Graph token", $"identity/oauth2/token?api-version={CONTAINER_API_VERSION}&resource=https://graph.microsoft.com/", true),
59-
new Tuple<string, string, bool>("Vault token", $"identity/oauth2/token?api-version={CONTAINER_API_VERSION}&resource=https://vault.azure.net/", true),
60-
new Tuple<string, string, bool>("Storage token", $"identity/oauth2/token?api-version={CONTAINER_API_VERSION}&resource=https://storage.azure.com/", true)
57+
new Tuple<string, string, bool>("Management token", $"?api-version={CONTAINER_API_VERSION}&resource=https://management.azure.com/", true),
58+
new Tuple<string, string, bool>("Graph token", $"?api-version={CONTAINER_API_VERSION}&resource=https://graph.microsoft.com/", true),
59+
new Tuple<string, string, bool>("Vault token", $"?api-version={CONTAINER_API_VERSION}&resource=https://vault.azure.net/", true),
60+
new Tuple<string, string, bool>("Storage token", $"?api-version={CONTAINER_API_VERSION}&resource=https://storage.azure.com/", true)
6161
};
6262

6363
foreach (var tuple in endpoints)

0 commit comments

Comments
 (0)