浏览代码

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 7 年之前
父节点
当前提交
ba8500144b
共有 1 个文件被更改,包括 3 次插入1 次删除
  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'
 	],