aboutsummaryrefslogtreecommitdiff
path: root/src/lib/third_party
diff options
context:
space:
mode:
authorMrTiz9 <tiziano.marra@pm.me>2020-01-30 15:08:26 +0100
committerMrTiz9 <tiziano.marra@pm.me>2020-01-30 15:08:26 +0100
commit5c8c2d843afc38f6246c678ea41e81b1a88bcf17 (patch)
treeb2637201942fbd9c1d78e09d4f4aa5e27176cf11 /src/lib/third_party
parentea957687e1f9444baa69d0b2b041c1b8cf70b2f6 (diff)
nDPI now detect RCE injections via PCRE instead Intel Hyperscan - BUGGY, DOES NOT COMPILE
Diffstat (limited to 'src/lib/third_party')
-rw-r--r--src/lib/third_party/include/rce_injection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/third_party/include/rce_injection.h b/src/lib/third_party/include/rce_injection.h
index 80b6fc853..1febfc779 100644
--- a/src/lib/third_party/include/rce_injection.h
+++ b/src/lib/third_party/include/rce_injection.h
@@ -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 \ No newline at end of file
+#endif //HAVE_PCRE \ No newline at end of file