From 5c8c2d843afc38f6246c678ea41e81b1a88bcf17 Mon Sep 17 00:00:00 2001 From: MrTiz9 Date: Thu, 30 Jan 2020 15:08:26 +0100 Subject: nDPI now detect RCE injections via PCRE instead Intel Hyperscan - BUGGY, DOES NOT COMPILE --- src/lib/third_party/include/rce_injection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/third_party/include') 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 -- cgit v1.2.3