mirror of https://github.com/CISOfy/lynis.git
[PHP-2376] Log to discovered item to report instead of logfile
This commit is contained in:
parent
aeb08cb80a
commit
d02cb095da
|
@ -226,7 +226,7 @@
|
|||
FIND=`egrep -i 'allow_url_fopen.*(off|no|0)' ${PHPINIFILE} | grep -v '^;'`
|
||||
if [ "${FIND}" = "" ]; then
|
||||
Display --indent 4 --text "- Checking allow_url_fopen option" --result "${STATUS_ON}" --color YELLOW
|
||||
Report "Result: allow_url_fopen option is turned on, which can be used for riskful downloads via PHP"
|
||||
LogText "Result: allow_url_fopen option is turned on, which can be used for riskful downloads via PHP"
|
||||
ReportSuggestion ${TEST_NO} "Change the allow_url_fopen line to: allow_url_fopen = Off, to disable downloads via PHP"
|
||||
AddHP 0 1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue