From ba8500144bfca9df29a24755c6551c9aa06a666e Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 6 Mar 2018 22:29:40 +0100 Subject: [PATCH 1/2] 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' ], From 56e2f3ff5c77996cc5ab5f8c5becbb8fd2ec2f63 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 9 Mar 2018 21:27:09 +0100 Subject: [PATCH 2/2] Adding .jar and .scr files JAR - java and friends' executable. SCR - Windows script executable, commonly used in "screenshot" trick. --- config.sample.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.sample.js b/config.sample.js index 85a3726..c5a9d15 100644 --- a/config.sample.js +++ b/config.sample.js @@ -35,11 +35,13 @@ module.exports = { // Add file extensions here which should be blocked blockedExtensions: [ + '.jar', '.exe', '.msi', '.com', '.bat', '.cmd', + '.scr', '.ps1', '.sh' ],