From 914f7f515f3919ed187d2738141a5ef5acedd5be Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Wed, 30 Oct 2019 00:59:21 +0000 Subject: [PATCH] v2.1.5 --- linpeas.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linpeas.sh b/linpeas.sh index caae22a..22f8812 100755 --- a/linpeas.sh +++ b/linpeas.sh @@ -1,6 +1,6 @@ #!/bin/sh -VERSION="v2.1.4" +VERSION="v2.1.5" ########################################### #---------------) Colors (----------------# @@ -1361,7 +1361,7 @@ echo "" ##-- 25IF) Passwords files in home printf $Y"[+] "$GREEN"Finding *password* or *credential* files in home\n"$NC -(find /home /root -type f \( -name "*password*" -o -name "*credential*" sed "s,password\|credential,${C}[1;31m&${C}[0m,") || echo_not_found +(find /home /root -type f \( -name "*password*" -o -name "*credential*" \) 2>/dev/null | sed "s,password\|credential,${C}[1;31m&${C}[0m,") || echo_not_found if ! [ "$SUPERFAST" ]; then ##-- 26IF) Passwords inside files @@ -1370,4 +1370,4 @@ if ! [ "$SUPERFAST" ]; then grep -R -i "password.* = ['\"]\|define.*passw" /var/www /root /home 2>/dev/null | grep "\.php" | grep -v "function\|password.* = \"\"\|password.* = ''" | sed '/^.\{150\}./d' | sort | uniq | sed "s,password,${C}[1;31m&${C}[0m," grep -R -i "password" /etc 2>/dev/null | grep "conf" | grep -v ":#\|:/\*\|: \*" | sort | uniq | sed "s,password,${C}[1;31m&${C}[0m," echo "" -fi \ No newline at end of file +fi