From 8912bd2b9c597d146b3676444c8299fc18eaa637 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Thu, 13 Apr 2023 16:12:10 +0200 Subject: [PATCH 1/3] Update CI-master_tests.yml --- .github/workflows/CI-master_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI-master_tests.yml b/.github/workflows/CI-master_tests.yml index 480e420..3d45c76 100644 --- a/.github/workflows/CI-master_tests.yml +++ b/.github/workflows/CI-master_tests.yml @@ -1,7 +1,7 @@ name: CI-master_test on: - pull_request: + push: branches: - master From ff96d02125896abbd84828f79f425e2b3c87fb07 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Thu, 13 Apr 2023 16:38:23 +0200 Subject: [PATCH 2/3] Update CI-master_tests.yml --- .github/workflows/CI-master_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI-master_tests.yml b/.github/workflows/CI-master_tests.yml index 3d45c76..e0dbd47 100644 --- a/.github/workflows/CI-master_tests.yml +++ b/.github/workflows/CI-master_tests.yml @@ -415,7 +415,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{steps.date.outputs.date}} + tag_name: ${{steps.date.outputs.date}}2 release_name: Release ${{ github.ref }}2 ${{steps.date.outputs.date}} draft: false prerelease: false From 4ba0f6b6c26728a93a81d55942866340596ea90c Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Thu, 13 Apr 2023 20:30:33 +0200 Subject: [PATCH 3/3] Update 1_system_information.sh --- linPEAS/builder/linpeas_parts/1_system_information.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linPEAS/builder/linpeas_parts/1_system_information.sh b/linPEAS/builder/linpeas_parts/1_system_information.sh index c0eb806..3894fe8 100644 --- a/linPEAS/builder/linpeas_parts/1_system_information.sh +++ b/linPEAS/builder/linpeas_parts/1_system_information.sh @@ -161,6 +161,10 @@ else echo_not_found "AppArmor" fi +#-- SY) AppArmor2 +print_list "AppArmor profile? .............. "$NC +(cat /proc/self/attr/current 2>/dev/null || echo "unconfined") | sed "s,unconfined,${SED_RED}," | sed "s,kernel,${SED_GREEN}," + #-- SY) LinuxONE print_list "is linuxONE? ................... "$NC ( (uname -a | grep "s390x" >/dev/null 2>&1) && echo "Yes" || echo_not_found "s390x") @@ -185,10 +189,6 @@ print_list "SELinux enabled? ............... "$NC print_list "Seccomp enabled? ............... "$NC ([ "$(grep Seccomp /proc/self/status 2>/dev/null | grep -v 0)" ] && echo "enabled" || echo "disabled") | sed "s,disabled,${SED_RED}," | sed "s,enabled,${SED_GREEN}," -#-- SY) AppArmor -print_list "AppArmor profile? .............. "$NC -(cat /proc/self/attr/current 2>/dev/null || echo "unconfined") | sed "s,unconfined,${SED_RED}," | sed "s,kernel,${SED_GREEN}," - #-- SY) AppArmor print_list "User namespace? ................ "$NC if [ "$(cat /proc/self/uid_map 2>/dev/null)" ]; then echo "enabled" | sed "s,enabled,${SED_GREEN},"; else echo "disabled" | sed "s,disabled,${SED_RED},"; fi