Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2022-02-10 14:05:43 +0300
committerGitHub <noreply@github.com>2022-02-10 14:05:43 +0300
commit59d1d8acd80e4f905eb11b72ef60ab1be9c39ac5 (patch)
treec665307b507cfdfecad850077ce7280b24dda4f5
parent0830a745cce4374a61edb28a2298a2aef06764b7 (diff)
parent6c5ddb9cc295d826ded63b2fa2e25d307cc7839c (diff)
Merge pull request #1247 from devnull-hub-lab/patch-1
Update mod_security module version
-rw-r--r--include/tests_webservers2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_webservers b/include/tests_webservers
index 6e0a3b3d..e0ca5737 100644
--- a/include/tests_webservers
+++ b/include/tests_webservers
@@ -288,7 +288,7 @@
Register --test-no HTTP-6643 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Determining existence of specific Apache modules"
if [ ${SKIPTEST} -eq 0 ]; then
# Check modules, module
- if CheckItem "apache_module" "/mod_security2.so"; then
+ if CheckItem "apache_module" "/mod_security(2|3).so" ; then
Display --indent 10 --text "ModSecurity: web application firewall" --result "${STATUS_FOUND}" --color GREEN
AddHP 3 3
else