Hi all. After getting hit with phishing attacks left and right, we need to implement some kind of script to search the servers for specific files and notify admin via email of their existence.
I'm sure that someone must have done this already, and I don't want to re-invent the wheel.
If it hasn't been done, can anyone point me in the right direction.
I thought of using the find command, and then outputting the results to a text file which would then get emailed. The only problem is that I would need to exclude certain directories and I'm not sure how to do that.
I'm sure that someone must have done this already, and I don't want to re-invent the wheel.
If it hasn't been done, can anyone point me in the right direction.
I thought of using the find command, and then outputting the results to a text file which would then get emailed. The only problem is that I would need to exclude certain directories and I'm not sure how to do that.