From 7c61009f33ccd330468d87bf26699ba3596eda7c Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Fri, 18 Jun 2021 12:41:23 +0200 Subject: [PATCH] fix --- linPEAS/README.md | 1 + linPEAS/builder/linpeas_base.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/linPEAS/README.md b/linPEAS/README.md index f634fcc..071f083 100755 --- a/linPEAS/README.md +++ b/linPEAS/README.md @@ -1,4 +1,5 @@ # LinPEAS - Linux Privilege Escalation Awesome Script +[![CI-linpeas_prod](https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite/actions/workflows/CI-linpeas_prod.yml/badge.svg)](https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite/actions/workflows/CI-linpeas_prod.yml) ![](https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite/raw/master/linPEAS/images/linpeas.png) diff --git a/linPEAS/builder/linpeas_base.sh b/linPEAS/builder/linpeas_base.sh index 8ed343a..0489ce5 100755 --- a/linPEAS/builder/linpeas_base.sh +++ b/linPEAS/builder/linpeas_base.sh @@ -2628,7 +2628,7 @@ if [ "`echo $CHECKS | grep IntFiles`" ]; then ##-- IF) Readable files belonging to root and not world readable if ! [ "$IAMROOT" ]; then print_2title "Readable files belonging to root and readable by me but not world readable" - timeout 150 (find / -type f -user root ! -perm -o=r 2>/dev/null | grep -v "\.journal" | while read f; do if [ -r "$f" ]; then ls -l "$f" 2>/dev/null | sed -${E} "s,/.*,${SED_RED},"; fi; done) || echo_not_found + (timeout 150 find / -type f -user root ! -perm -o=r 2>/dev/null | grep -v "\.journal" | while read f; do if [ -r "$f" ]; then ls -l "$f" 2>/dev/null | sed -${E} "s,/.*,${SED_RED},"; fi; done) || echo_not_found echo "" fi