find / -perm -4000 -type f 2>/dev/null | while read file; do
echo "Checking $file"
curl -s https://gtfobins.github.io/gtfobins/$(basename $file) | grep -i "suid"
done
 
 
Back to Top