mirror of
https://github.com/carlospolop/PEASS-ng
synced 2025-02-17 21:41:25 +01:00
v2.1.5
This commit is contained in:
parent
fa7173fbdc
commit
914f7f515f
@ -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
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user