From 55b36fb7df6c4005b4fb1e622764cc6d571041ce Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Wed, 29 Apr 2020 21:47:53 +0100 Subject: [PATCH] Update linpeas.sh --- linPEAS/linpeas.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linPEAS/linpeas.sh b/linPEAS/linpeas.sh index b847c07..00ad4c0 100755 --- a/linPEAS/linpeas.sh +++ b/linPEAS/linpeas.sh @@ -1401,10 +1401,10 @@ if [ "`echo $CHECKS | grep SofI`" ]; then if [ "$privatekeyfilesetc" ] || [ "$privatekeyfileshome" ] || [ "$privatekeyfilesroot" ] || [ "$privatekeyfilesmnt" ] ; then printf "Possible private SSH keys were found!\n" | sed "s,.*,${C}[1;31m&${C}[0m," - if [ "$privatekeyfilesetc" ]; then printf "$privatekeyfilesetc" | sed "s,.*,${C}[1;31m&${C}[0m,"; fi - if [ "$privatekeyfileshome" ]; then printf "$privatekeyfileshome" | sed "s,.*,${C}[1;31m&${C}[0m,"; fi - if [ "$privatekeyfilesroot" ]; then printf "$privatekeyfilesroot" | sed "s,.*,${C}[1;31m&${C}[0m,"; fi - if [ "$privatekeyfilesmnt" ]; then printf "$privatekeyfilesmnt" | sed "s,.*,${C}[1;31m&${C}[0m,"; fi + if [ "$privatekeyfilesetc" ]; then printf "$privatekeyfilesetc\n" | sed "s,.*,${C}[1;31m&${C}[0m,"; fi + if [ "$privatekeyfileshome" ]; then printf "$privatekeyfileshome\n" | sed "s,.*,${C}[1;31m&${C}[0m,"; fi + if [ "$privatekeyfilesroot" ]; then printf "$privatekeyfilesroot\n" | sed "s,.*,${C}[1;31m&${C}[0m,"; fi + if [ "$privatekeyfilesmnt" ]; then printf "$privatekeyfilesmnt\n" | sed "s,.*,${C}[1;31m&${C}[0m,"; fi fi if [ "$certsb4_grep" ] || [ "$certsbin" ]; then echo " --> Some certificates were found:"