Issue with SucuriScanHardening::htaccess()
-
In SucuriScanHardening::htaccess() line 233 of sucuri-scanner/src/hardening.lib.php
$folder = str_replace(get_home_path(), '', $folder);
If get_home_path() returns a single ‘/’ it will replace the directory separator in the $folder path, which may trigger an exception down the road :
ErrorException: is_readable(): open_basedir restriction in effect
This was tested in version 1.9.8
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.