From 0085679cfe2400e2b8dc9863dd4405848d720f83 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Mon, 17 Aug 2020 15:11:41 +0100 Subject: [PATCH] Update linpeas.sh --- linPEAS/linpeas.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linPEAS/linpeas.sh b/linPEAS/linpeas.sh index 417e983..d5942c9 100755 --- a/linPEAS/linpeas.sh +++ b/linPEAS/linpeas.sh @@ -1157,7 +1157,7 @@ if [ "`echo $CHECKS | grep ProCronSrvcsTmrsSocks`" ]; then printf $Y"[+] "$GREEN"D-Bus Service Objects list\n"$NC printf $B"[i] "$Y"https://book.hacktricks.xyz/linux-unix/privilege-escalation#d-bus\n"$NC - dbuslist=$(busctl list) + dbuslist=$(busctl list 2>/dev/null) if [ "$dbuslist" ]; then busctl list | while read line; do echo "$line" | sed -E "s,$dbuslistG,${C}[1;32m&${C}[0m,g";