Scan symlinks on web server directory structure recursively to find if any symlinks exist. I used it to discover if a shared web hosting server was compromised/ rooted using the symlink attack. Read about the attack in the link below.
Note: Don’t forget to change the path.
1 |
find /home*/*/public_html -type l -exec ls -l {} \; | grep "\-> /$" |