mirror of https://github.com/CISOfy/lynis.git
[HTTP-6642] Test disabled
This commit is contained in:
parent
79cd9f0ff8
commit
c88a2678f6
|
@ -330,20 +330,21 @@
|
|||
#
|
||||
# Test : HTTP-6642
|
||||
# Description : Search for special Apache modules: Spamhaus
|
||||
if [ ${APACHE_INSTALLED} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
Register --test-no HTTP-6642 --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_spamhaus.so"
|
||||
if [ ${ITEM_FOUND} -eq 1 ]; then
|
||||
Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result FOUND --color GREEN
|
||||
AddHP 3 3
|
||||
else
|
||||
Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result "NOT FOUND" --color WHITE
|
||||
AddHP 2 3
|
||||
ReportSuggestion ${TEST_NO} "Install Apache mod_spamhaus to guard webserver against spammers"
|
||||
fi
|
||||
fi
|
||||
# Notes : This test is outdated
|
||||
#if [ ${APACHE_INSTALLED} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
#Register --test-no HTTP-6642 --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_spamhaus.so"
|
||||
# if [ ${ITEM_FOUND} -eq 1 ]; then
|
||||
# Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result FOUND --color GREEN
|
||||
# AddHP 3 3
|
||||
# else
|
||||
# Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result "NOT FOUND" --color WHITE
|
||||
# AddHP 2 3
|
||||
# ReportSuggestion ${TEST_NO} "Install Apache mod_spamhaus to guard webserver against spammers"
|
||||
# fi
|
||||
#fi
|
||||
#
|
||||
#################################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue