aboutsummaryrefslogtreecommitdiff
path: root/config.sample.js
diff options
context:
space:
mode:
authorUnknown <[email protected]>2018-03-06 22:29:40 +0100
committerUnknown <[email protected]>2018-03-06 22:29:40 +0100
commitba8500144bfca9df29a24755c6551c9aa06a666e (patch)
treed965514597061e3c8d042da0b839a1dcf0ee1012 /config.sample.js
parentWhoops (diff)
downloadhost.fuwn.me-ba8500144bfca9df29a24755c6551c9aa06a666e.tar.xz
host.fuwn.me-ba8500144bfca9df29a24755c6551c9aa06a666e.zip
Ban of .com and .ps1 uploads
It seems that COM files can still be run in Windows, and they behave like any other executable. PS1 files are scripts, so I put them on the list.
Diffstat (limited to 'config.sample.js')
-rw-r--r--config.sample.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.sample.js b/config.sample.js
index cf8ee4a..85a3726 100644
--- a/config.sample.js
+++ b/config.sample.js
@@ -36,9 +36,11 @@ module.exports = {
// Add file extensions here which should be blocked
blockedExtensions: [
'.exe',
+ '.msi',
+ '.com',
'.bat',
'.cmd',
- '.msi',
+ '.ps1',
'.sh'
],