Browse Source

File extension bans

`.nt` - turns out there's more Windows batch file extensions.
`.psm1` - PowerScript extension.
`.bash`, `.bsh`, `.csh`, `.bash_profile`, `.bashrc`, `.profile` - apparently those are valid bash script extensions.
`.reg` - overwrites Windows registry keys upon execution.
Shumatsu 6 years ago
parent
commit
df6d5459e0
1 changed files with 10 additions and 1 deletions
  1. 10 1
      config.sample.js

+ 10 - 1
config.sample.js

@@ -41,9 +41,18 @@ module.exports = {
 		'.com',
 		'.bat',
 		'.cmd',
+		'.nt',
 		'.scr',
 		'.ps1',
-		'.sh'
+		'.psm1',
+		'.sh',
+		'.bash',
+		'.bsh',
+		'.csh',
+		'.bash_profile',
+		'.bashrc',
+		'.profile',
+		'.reg'
 	],
 
 	// Uploads config