Recently I needed to write a script that could locate a folder on a system that had particular characteristics. I was looking for hidden folders that the logged on user had rights to read, write/append and execute on. ie, they can drop a binary into the folder and then run it.
This is the script I [...]