mirror of
https://github.com/carlospolop/PEASS-ng
synced 2024-11-24 01:26:22 +01:00
Update linpeas.sh
This commit is contained in:
parent
638a6bfc0a
commit
f5005667a5
@ -1704,7 +1704,7 @@ if [ "`echo $CHECKS | grep IntFiles`" ]; then
|
||||
##-- 3IF) Misconfigured /etc/ld.so.conf.d/
|
||||
printf $Y"[+] "$GREEN"Writable folders configured in /etc/ld.so.conf.d/\n"$NC
|
||||
printf $B"[i] "$Y"https://book.hacktricks.xyz/linux-unix/privilege-escalation#etc-ld-so-conf-d\n"$NC
|
||||
(cat /etc/ld.so.conf.d/* 2>/dev/null | grep -v "#" | sed "s,$ldsoconfdG,${C}[1;32m&${C}[0m," | sed "s,$writeVB,${C}[1;31;103m&${C}[0m,") || echo_not_found
|
||||
(cat /etc/ld.so.conf.d/* 2>/dev/null | grep -v "#" | sed "s,$ldsoconfdG,${C}[1;32m&${C}[0m," | sed "s,$Wfolders,${C}[1;31;103m&${C}[0m,g") || echo_not_found
|
||||
echo ""
|
||||
|
||||
##-- 4IF) Capabilities
|
||||
|
Loading…
Reference in New Issue
Block a user