I have bunch of wordpress sites that are hosted in shared hosting environment. As with every wordpress site there are "uploads" directory. I would like to search for potentially malicious files that are within those folders regularly but i dont want to ofcourse do it one by one.
So question is how can i search all "uploads" directories for a file with extension ".php"
find . -type d -iname "uploads"
gets me all the "uploads" folders in my root directory but i also want to search within those director