]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
util/mime: add some extensions to exe list
authorEric Leblond <el@stamus-networks.com>
Mon, 20 Dec 2021 00:02:40 +0000 (01:02 +0100)
committerVictor Julien <vjulien@oisf.net>
Tue, 9 Aug 2022 08:54:17 +0000 (10:54 +0200)
src/util-decode-mime.c

index c928c661345070af04aede3b69cab7efe99094a6..1dd2ee4c144b7e25ff794b7bd4cd14e112d30134 100644 (file)
@@ -94,14 +94,8 @@ static const char *StateFlags[] = { "NONE",
         NULL };
 
 /* URL executable file extensions */
-static const char *UrlExeExts[] = { ".exe",
-        ".vbs",
-        ".bin",
-        ".cmd",
-        ".bat",
-        ".jar",
-        ".js",
-        NULL };
+static const char *UrlExeExts[] = { ".exe", ".vbs", ".bin", ".cmd", ".bat", ".jar", ".js", ".ps",
+    ".ps1", ".sh", ".run", ".hta", ".bin", ".elf", NULL };
 
 /**
  * \brief Function used to print character strings that are not null-terminated