Remove support for .exe from script notifications

This commit is contained in:
JonnyWong16 2020-07-23 17:31:03 -07:00
commit 10b0726727
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -2963,9 +2963,9 @@ class SCRIPTS(Notifier):
def __init__(self, config=None): def __init__(self, config=None):
super(SCRIPTS, self).__init__(config=config) super(SCRIPTS, self).__init__(config=config)
self.script_exts = {'.bat': '', self.script_exts = {
'.bat': '',
'.cmd': '', '.cmd': '',
'.exe': '',
'.php': 'php', '.php': 'php',
'.pl': 'perl', '.pl': 'perl',
'.ps1': 'powershell -executionPolicy bypass -file', '.ps1': 'powershell -executionPolicy bypass -file',