From ce5cb1ad9c1d3b34188d9b708dab6ba465e749b4 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Mon, 24 Feb 2025 00:21:09 +0100 Subject: [PATCH] fix --- winPEAS/winPEASexe/winPEAS/Info/CloudInfo/AzureInfo.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winPEAS/winPEASexe/winPEAS/Info/CloudInfo/AzureInfo.cs b/winPEAS/winPEASexe/winPEAS/Info/CloudInfo/AzureInfo.cs index 6c4386b..02b8fbd 100644 --- a/winPEAS/winPEASexe/winPEAS/Info/CloudInfo/AzureInfo.cs +++ b/winPEAS/winPEASexe/winPEAS/Info/CloudInfo/AzureInfo.cs @@ -54,10 +54,10 @@ namespace winPEAS.Info.CloudInfo Environment.GetEnvironmentVariable("IDENTITY_ENDPOINT"); endpoints = new List>() { - new Tuple("Management token", $"identity/oauth2/token?api-version={CONTAINER_API_VERSION}&resource=https://management.azure.com/", true), - new Tuple("Graph token", $"identity/oauth2/token?api-version={CONTAINER_API_VERSION}&resource=https://graph.microsoft.com/", true), - new Tuple("Vault token", $"identity/oauth2/token?api-version={CONTAINER_API_VERSION}&resource=https://vault.azure.net/", true), - new Tuple("Storage token", $"identity/oauth2/token?api-version={CONTAINER_API_VERSION}&resource=https://storage.azure.com/", true) + new Tuple("Management token", $"?api-version={CONTAINER_API_VERSION}&resource=https://management.azure.com/", true), + new Tuple("Graph token", $"?api-version={CONTAINER_API_VERSION}&resource=https://graph.microsoft.com/", true), + new Tuple("Vault token", $"?api-version={CONTAINER_API_VERSION}&resource=https://vault.azure.net/", true), + new Tuple("Storage token", $"?api-version={CONTAINER_API_VERSION}&resource=https://storage.azure.com/", true) }; foreach (var tuple in endpoints)