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>2016-08-10 08:13:33 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-08-10 08:13:33 +0300
commit0115695d618260107b93ec6b711b399c2f8a6a92 (patch)
tree9bb39595ca300ff57aebcf9c9445953d34d7a1db /include/tests_php
parent621e732797ac5760a4cce3803cbaf21203cda86d (diff)
Removed unneeded field for warnings and suggestions
Diffstat (limited to 'include/tests_php')
-rw-r--r--include/tests_php4
1 files 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