From 98e2318838c82c70109f1205fa24c2784214447f Mon Sep 17 00:00:00 2001 From: z0ug <33007420+z0ug@users.noreply.github.com> Date: Sat, 20 Aug 2022 20:01:18 +0200 Subject: [PATCH] Update 1_system_information.sh --- linPEAS/builder/linpeas_parts/1_system_information.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linPEAS/builder/linpeas_parts/1_system_information.sh b/linPEAS/builder/linpeas_parts/1_system_information.sh index 3ee061f..eab5ca5 100644 --- a/linPEAS/builder/linpeas_parts/1_system_information.sh +++ b/linPEAS/builder/linpeas_parts/1_system_information.sh @@ -32,7 +32,7 @@ fi #-- SY) CVE-2021-3560 polkitVersion=$(systemctl status polkit.service 2>/dev/null | grep version | cut -d " " -f 9) -if [ "$(apt list --installed 2>/dev/null | grep polkit | grep -c 0.105-26)" -ge 1 ] || [ "$(yum list installed 2>/dev/null | grep polkit | grep -c 0.117-2)" -ge 1]; then +if [ "$(apt list --installed 2>/dev/null | grep polkit | grep -c 0.105-26)" -ge 1 ] || [ "$(yum list installed 2>/dev/null | grep polkit | grep -c 0.117-2)" -ge 1 ]; then echo "Vulnerable to CVE-2021-3560" | sed -${E} "s,.*,${SED_RED_YELLOW}," echo "" fi