From a3e3e9799b81a9cc5a2103efae9c9e98e9b14f52 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Sat, 21 Dec 2024 15:12:59 +0100 Subject: [PATCH] fix azure apps --- .gitignore | 3 +++ linPEAS/builder/linpeas_parts/functions/check_az_app.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4fec82fa..30db5d18 100755 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .vs/* +.vscode/* winPEAS/winPEASexe/.vs/* v16/* winPEAS/winPEASexe/.vs/winPEAS/v16/* @@ -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 diff --git a/linPEAS/builder/linpeas_parts/functions/check_az_app.sh b/linPEAS/builder/linpeas_parts/functions/check_az_app.sh index f716d653..e307ae94 100644 --- a/linPEAS/builder/linpeas_parts/functions/check_az_app.sh +++ b/linPEAS/builder/linpeas_parts/functions/check_az_app.sh @@ -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 } \ No newline at end of file