From e98e04be1ec122094b9c9ec553a81c40bf35e644 Mon Sep 17 00:00:00 2001 From: carlospolop Date: Sun, 13 Sep 2020 16:19:55 -0400 Subject: [PATCH] linpeasv2.8.2 --- linPEAS/linpeas.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linPEAS/linpeas.sh b/linPEAS/linpeas.sh index f4b0460..18fbee6 100755 --- a/linPEAS/linpeas.sh +++ b/linPEAS/linpeas.sh @@ -37,7 +37,7 @@ ITALIC="${C}[3m" # --) FAST - Do not check 1min of procceses and su brute # --) SUPERFAST - FAST & do not search for special filaes in all the folders -if [ "`uname | grep 'Darwin'`" ] || [ "`/usr/bin/uname | grep 'Darwin'`" ]; then MACPEAS="1"; else MACPEAS=""; fi +if [ "`uname 2>/dev/null | grep 'Darwin'`" ] || [ "`/usr/bin/uname 2>/dev/null | grep 'Darwin'`" ]; then MACPEAS="1"; else MACPEAS=""; fi FAST="1" #By default stealth/fast mode SUPERFAST="" NOTEXPORT=""