Skip to content

Commit

Permalink
fix azure apps
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop committed Dec 21, 2024
1 parent 2a71da4 commit a3e3e97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vs/*
.vscode/*
winPEAS/winPEASexe/.vs/*
v16/*
winPEAS/winPEASexe/.vs/winPEAS/v16/*
Expand All @@ -24,6 +25,8 @@ __pycache__
linPEAS/builder/__pycache__/*
linPEAS/builder/src/__pycache__/*
linPEAS/linpeas.sh
linPEAS/builder/linpeas_base_tmp.sh
build_lists/regexes.yaml
sh2bin
sh2bin/*
.dccache
Expand Down
2 changes: 1 addition & 1 deletion linPEAS/builder/linpeas_parts/functions/check_az_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
check_az_app(){
is_az_app="No"

if [ -d "/opt/microsoft" ] && env | grep -q "IDENTITY_ENDPOINT"; then
if [ -d "/opt/microsoft" ] && env | grep -iq "azure"; then
is_az_app="Yes"
fi
}

0 comments on commit a3e3e97

Please sign in to comment.