nDPI now detect RCE injections via PCRE instead Intel Hyperscan - BUGGY, DOES NOT COMPILE

This commit is contained in:
MrTiz9
2020-01-30 15:08:26 +01:00
parent ea957687e1
commit 5c8c2d843a
3 changed files with 63 additions and 61 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
#ifdef HAVE_HYPERSCAN
#ifdef HAVE_PCRE
#ifndef NDPI_RCE_H
#define NDPI_RCE_H
@@ -8,7 +8,7 @@
#define N_RCE_REGEX 7
/* Compiled regex */
static struct hs *comp_rx[N_RCE_REGEX];
static struct pcre_struct *comp_rx[N_RCE_REGEX];
static unsigned int initialized_comp_rx = 0;
@@ -610,4 +610,4 @@ static const char *pwsh_commands[] = {
"-PSConsoleFile"
};
#endif
#endif //HAVE_PCRE