nexxai / CryptoBlocker

A script to deploy File Server Resource Manager and associated scripts to block infected users
GNU General Public License v2.0
200 stars 73 forks source link

Enhancement / modification Excludelist.txt #67

Open scholtefrl opened 5 years ago

scholtefrl commented 5 years ago

First of all the script is great and giving us great protection on our servers, butt i ran into an issue for us where we would like to use Exclude.txt butt not whitelist all extensions on these specified file paths. So I modified the script that the file paths in Exclude.txt only use a particular filescreen with only an select number of extensions. I'm just starting powershelling and would like your opinion about my modifications.

You can view the code at my fork: https://github.com/scholtefrl/CryptoBlocker Lines 307 to 349

I pasted the code here butt it was not really readable