aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShumatsu <[email protected]>2018-05-21 23:13:39 +0200
committerGitHub <[email protected]>2018-05-21 23:13:39 +0200
commitdf6d5459e038ef8edfb480e1d09cac25fa2c3ac6 (patch)
treef7778c89b8ba0935406ade30c682bb632d0edc3b
parentMerge pull request #118 from NadyaNayme/no-thumb-deletion (diff)
downloadhost.fuwn.me-df6d5459e038ef8edfb480e1d09cac25fa2c3ac6.tar.xz
host.fuwn.me-df6d5459e038ef8edfb480e1d09cac25fa2c3ac6.zip
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.
-rw-r--r--config.sample.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/config.sample.js b/config.sample.js
index 6672883..d8d38b6 100644
--- a/config.sample.js
+++ b/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