From ba8500144bfca9df29a24755c6551c9aa06a666e Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 6 Mar 2018 22:29:40 +0100 Subject: [PATCH] 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. --- config.sample.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' ],