Skip to content

Commit

Permalink
Update 1_system_information.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop authored Feb 1, 2022
1 parent 77cc22a commit db89a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linPEAS/builder/linpeas_parts/1_system_information.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ else echo_not_found "sudo"
fi
echo ""

#-- SY) CVE-2021-4021
#-- SY) CVE-2021-4024
if [ `command -v pkexec` ] && stat -c '%a' $(which pkexec) | grep -q 4755 && (stat -c '%y' $(which pkexec) | grep -qvE "2[0-9][2-9][3-9]-|2022-[0-1][2-9]-0[0-9]|2022-01-[2-3][0-9]|2022-01-1[2-9]" ) ; then
echo "Vulnerable to CVE-2021-4021" | sed -${E} "s,.*,${SED_RED_YELLOW},"
echo "Vulnerable to CVE-2021-4024 (polkit privesc)" | sed -${E} "s,.*,${SED_RED_YELLOW},"
fi

#--SY) USBCreator
Expand Down

0 comments on commit db89a77

Please sign in to comment.