From df6d5459e038ef8edfb480e1d09cac25fa2c3ac6 Mon Sep 17 00:00:00 2001 From: Shumatsu Date: Mon, 21 May 2018 23:13:39 +0200 Subject: [PATCH] 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. --- config.sample.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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