mirror of
https://github.com/carlospolop/PEASS-ng
synced 2025-02-17 21:41:25 +01:00
linpeasv2.5.6
This commit is contained in:
parent
574c4de5d7
commit
4906eecd20
@ -229,6 +229,7 @@ file="/tmp/linPE";RED='\033[0;31m';Y='\033[0;33m';B='\033[0;34m';NC='\033[0m';rm
|
|||||||
- [x] Capabilities
|
- [x] Capabilities
|
||||||
- [x] /etc/ld.so.conf.d/
|
- [x] /etc/ld.so.conf.d/
|
||||||
- [x] Users with capabilities
|
- [x] Users with capabilities
|
||||||
|
- [x] Files with ACLs
|
||||||
- [x] .sh scripts in PATH
|
- [x] .sh scripts in PATH
|
||||||
- [x] scripts in /etc/profile.d
|
- [x] scripts in /etc/profile.d
|
||||||
- [x] Hashes (passwd, group, shadow & master.passwd)
|
- [x] Hashes (passwd, group, shadow & master.passwd)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION="v2.5.5"
|
VERSION="v2.5.6"
|
||||||
ADVISORY="linpeas should be used for authorized penetration testing and/or educational purposes only. Any misuse of this software will not be the responsibility of the author or of any other collaborator. Use it at your own networks and/or with the network owner's permission."
|
ADVISORY="linpeas should be used for authorized penetration testing and/or educational purposes only. Any misuse of this software will not be the responsibility of the author or of any other collaborator. Use it at your own networks and/or with the network owner's permission."
|
||||||
|
|
||||||
|
|
||||||
@ -1908,6 +1908,10 @@ if [ "`echo $CHECKS | grep IntFiles`" ]; then
|
|||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
##-- 5IF) Files with ACLs
|
||||||
|
printf $Y"[+] "$GREEN"Files with ACLs\n"$NC
|
||||||
|
((getfacl -t -s -R -p /bin /etc /home /opt /root /sbin /usr 2>/dev/null) || echo_not_found "files with acls in searched folders" ) | sed "s,$sh_usrs,${C}[1;96m&${C}[0m," | sed "s,$nosh_usrs,${C}[1;34m&${C}[0m," | sed "s,$knw_usrs,${C}[1;32m&${C}[0m," | sed "s,$USER,${C}[1;31m&${C}[0m,"
|
||||||
|
echo ""
|
||||||
|
|
||||||
##-- 6IF) .sh files in PATH
|
##-- 6IF) .sh files in PATH
|
||||||
printf $Y"[+] "$GREEN".sh files in path\n"$NC
|
printf $Y"[+] "$GREEN".sh files in path\n"$NC
|
||||||
|
Loading…
Reference in New Issue
Block a user