Update linpeas.sh

This commit is contained in:
Carlos Polop 2021-03-07 23:26:14 +00:00 committed by GitHub
parent e49e1e5f6d
commit 1bad2745e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2954,7 +2954,7 @@ if [ "`echo $CHECKS | grep IntFiles`" ]; then
##-- IF) All hidden files ##-- IF) All hidden files
printf $Y"[+] "$GREEN"All hidden files (not in /sys/ or the ones listed in the previous check) (limit 70)\n"$NC printf $Y"[+] "$GREEN"All hidden files (not in /sys/ or the ones listed in the previous check) (limit 70)\n"$NC
find / -type f -iname ".*" ! -path "/sys/*" ! -path "/System/*" -path "/private/var/*" -exec ls -l {} \; 2>/dev/null | grep -v "_history$|\.recently-used.xbel|\.lesshst|.sudo_as_admin_successful|\.profile|\.bashrc|\.plan|\.htpasswd|.gitconfig|\.git-credentials|\.rhosts|\.gitignore|.npmignore|\.listing|\.ignore|\.uuid|.depend|.placeholder|.gitkeep|.keep" | head -n 70 find / -type f -iname ".*" ! -path "/sys/*" ! -path "/System/*" ! -path "/private/var/*" -exec ls -l {} \; 2>/dev/null | grep -v "_history$|\.recently-used.xbel|\.lesshst|.sudo_as_admin_successful|\.profile|\.bashrc|\.plan|\.htpasswd|.gitconfig|\.git-credentials|\.rhosts|\.gitignore|.npmignore|\.listing|\.ignore|\.uuid|.depend|.placeholder|.gitkeep|.keep" | head -n 70
echo "" echo ""
##-- IF) Readable files in /tmp, /var/tmp, bachups ##-- IF) Readable files in /tmp, /var/tmp, bachups