Skip to content

Commit

Permalink
update azure apps
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop committed Dec 21, 2024
1 parent a3e3e97 commit d576055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linPEAS/builder/linpeas_parts/3_cloud/8_Azure_app_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
# Small linpeas: 0


API_VERSION="2021-12-13" #https://learn.microsoft.com/en-us/azure/virtual-machines/instance-metadata-service?tabs=linux#supported-api-versions
API_VERSION="2019-08-01" #https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Chttp

if [ "$is_az_app" = "Yes" ]; then
print_2title "Azure App Service Enumeration"
echo "I haven't tested this one, if it doesn't work, please send a PR fixing and adding functionality :)"

HEADER="secret:$IDENTITY_HEADER"
HEADER="X-IDENTITY-HEADER:$IDENTITY_HEADER"

az_req=""
if [ "$(command -v curl || echo -n '')" ]; then
Expand Down

0 comments on commit d576055

Please sign in to comment.