Merge branch 'master' of https://github.com/carlospolop/PEASS-ng
This commit is contained in:
commit
62e4b071cd
4
.github/workflows/CI-master_tests.yml
vendored
4
.github/workflows/CI-master_tests.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
name: CI-master_test
|
name: CI-master_test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
@ -415,7 +415,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{steps.date.outputs.date}}
|
tag_name: ${{steps.date.outputs.date}}2
|
||||||
release_name: Release ${{ github.ref }}2 ${{steps.date.outputs.date}}
|
release_name: Release ${{ github.ref }}2 ${{steps.date.outputs.date}}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
@ -161,6 +161,10 @@ else
|
|||||||
echo_not_found "AppArmor"
|
echo_not_found "AppArmor"
|
||||||
fi
|
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
|
#-- SY) LinuxONE
|
||||||
print_list "is linuxONE? ................... "$NC
|
print_list "is linuxONE? ................... "$NC
|
||||||
( (uname -a | grep "s390x" >/dev/null 2>&1) && echo "Yes" || echo_not_found "s390x")
|
( (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
|
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},"
|
([ "$(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
|
#-- SY) AppArmor
|
||||||
print_list "User namespace? ................ "$NC
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user