From 0115695d618260107b93ec6b711b399c2f8a6a92 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Wed, 10 Aug 2016 07:13:33 +0200 Subject: [PATCH] Removed unneeded field for warnings and suggestions --- include/tests_php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tests_php b/include/tests_php index fae6041a..7e65f248 100644 --- a/include/tests_php +++ b/include/tests_php @@ -156,7 +156,7 @@ FIND=`egrep -i 'register_globals.*(on|yes|1)' ${PHPINIFILE} | grep -v '^;'` if [ ! "${FIND}" = "" ]; then Display --indent 4 --text "- Checking register_globals option" --result "${STATUS_WARNING}" --color RED - ReportWarning ${TEST_NO} "M" "PHP option register_globals option is turned on, which can be a risk for variable value overwriting" + ReportWarning ${TEST_NO} "PHP option register_globals option is turned on, which can be a risk for variable value overwriting" ReportSuggestion ${TEST_NO} "Change the register_globals line to: register_globals = Off" LogText "Result: register_globals option is turned on, which can be a risk for variable value overwriting." AddHP 1 2 @@ -180,7 +180,7 @@ FIND=`egrep -i 'expose_php.*(off|no|0)' ${PHPINIFILE} | grep -v '^;'` if [ "${FIND}" = "" ]; then Display --indent 4 --text "- Checking expose_php option" --result "${STATUS_ON}" --color RED - ReportWarning ${TEST_NO} "M" "PHP option expose_php is possibly turned on, which can reveal useful information for attackers." + ReportWarning ${TEST_NO} "PHP option expose_php is possibly turned on, which can reveal useful information for attackers." ReportSuggestion ${TEST_NO} "Change the expose_php line to: expose_php = Off" Report "Result: expose_php option is turned on, which can expose useful information for an attacker" AddHP 1 2