From f426cc83518403a1d628f572e88f510fa044f532 Mon Sep 17 00:00:00 2001 From: Kali Date: Sat, 26 Dec 2020 11:25:03 -0500 Subject: [PATCH] linpeasv2.9.9 --- linPEAS/linpeas.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/linPEAS/linpeas.sh b/linPEAS/linpeas.sh index ad3b7d9..b4d50ce 100755 --- a/linPEAS/linpeas.sh +++ b/linPEAS/linpeas.sh @@ -2357,10 +2357,11 @@ if [ "`echo $CHECKS | grep SofI`" ]; then echo "" ##-- SI) vi swp files - printf $Y"[+] "$GREEN"Searching uncommon passwd files (splunk)\n"$NC - vimfiles=$(echo "$FIND_HOME\n$FIND_ETC\n$FIND_VAR\n$FIND_TMP\n$FIND_OPT\n$FIND_USR\n$FIND_MNT\n$FIND_SYSTEM\n$FIND_PRIVATE\n$FIND_APPLICATIONS" | grep -Ev "\.swp$|.viminfo") - if [ "$vimfiles" ]; then echo "Vim files wre found:"; fi + printf $Y"[+] "$GREEN"Searching vim files\n"$NC + vimfiles=$(echo "$FIND_HOME\n$FIND_ETC\n$FIND_VAR\n$FIND_TMP\n$FIND_OPT\n$FIND_USR\n$FIND_MNT\n$FIND_SYSTEM\n$FIND_PRIVATE\n$FIND_APPLICATIONS" | grep -E "\.swp$|\.viminfo$") + if [ "$vimfiles" ]; then echo "Vim files found:"; fi printf "$vimfiles\n" | sort | uniq | while read f; do + echo "$f" ls -l "$f" done echo ""