Improved detection of mod_evasive

This commit is contained in:
mboelen 2014-09-23 23:27:01 +02:00
parent c257882a24
commit 17a6aa3691
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@
Register --test-no HTTP-6640 --preqs-met ${PREQS_MET} --weight L --network NO --description "Determining existence of specific Apache modules"
if [ ${SKIPTEST} -eq 0 ]; then
# Check modules, module
CheckItem "apache_module" "/mod_evasive20.so"
CheckItem "apache_module" "/mod_evasive([0-9][0-9])?.so"
if [ ${ITEM_FOUND} -eq 1 ]; then
Display --indent 10 --text "mod_evasive: anti-DoS/brute force" --result FOUND --color GREEN
AddHP 3 3