mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-06 00:51:28 +00:00
fix azure apps
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,5 @@
|
|||||||
.vs/*
|
.vs/*
|
||||||
|
.vscode/*
|
||||||
winPEAS/winPEASexe/.vs/*
|
winPEAS/winPEASexe/.vs/*
|
||||||
v16/*
|
v16/*
|
||||||
winPEAS/winPEASexe/.vs/winPEAS/v16/*
|
winPEAS/winPEASexe/.vs/winPEAS/v16/*
|
||||||
@@ -24,6 +25,8 @@ __pycache__
|
|||||||
linPEAS/builder/__pycache__/*
|
linPEAS/builder/__pycache__/*
|
||||||
linPEAS/builder/src/__pycache__/*
|
linPEAS/builder/src/__pycache__/*
|
||||||
linPEAS/linpeas.sh
|
linPEAS/linpeas.sh
|
||||||
|
linPEAS/builder/linpeas_base_tmp.sh
|
||||||
|
build_lists/regexes.yaml
|
||||||
sh2bin
|
sh2bin
|
||||||
sh2bin/*
|
sh2bin/*
|
||||||
.dccache
|
.dccache
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
check_az_app(){
|
check_az_app(){
|
||||||
is_az_app="No"
|
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"
|
is_az_app="Yes"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user