Browse Source

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.
Unknown 6 years ago
parent
commit
ba8500144b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      config.sample.js

+ 3 - 1
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'
 	],