1
mirror of https://github.com/carlospolop/PEASS-ng synced 2024-11-20 12:39:21 +01:00

Merge pull request #140 from hexcowboy/fix-docker-rootless-typo

fix docker rootless typo and remove all trailing spaces in linpeas
This commit is contained in:
Carlos Polop 2021-05-23 18:02:45 +02:00 committed by GitHub
commit 8418cf38c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1289,7 +1289,7 @@ if [ "`echo $CHECKS | grep Container`" ]; then
printf $Y"[+] "$GREEN"Vulnerable to CVE-2019-13139 ...$NC$VULN_CVE_2019_13139"$NC | sed -${E} "s,Yes,${C}[1;31;103m&${C}[0m,"
if [ "$inContainer" ]; then
checkDockerRootless
printf $Y"[+] "$GREEN"Rooless Docker? ................ $DOCKER_ROOTLESS\n"$NC | sed -${E} "s,No,${C}[1;31m&${C}[0m," | sed -${E} "s,Yes,${C}[1;32m&${C}[0m,"
printf $Y"[+] "$GREEN"Rootless Docker? ................ $DOCKER_ROOTLESS\n"$NC | sed -${E} "s,No,${C}[1;31m&${C}[0m," | sed -${E} "s,Yes,${C}[1;32m&${C}[0m,"
fi
fi