Sucuri SiteCheck在使用iThemes Security Pro插件的域上失败

时间:2019-07-13 作者:John Doe

我在我的几个网站上安装了iThemes Security Pro插件。最近,我注意到我的Sucuri SiteCheck(自动和非自动)扫描都失败了,但我不知道为什么会这样。日志也不明确,告诉我:Unable to properly scan your site. Timeout reached.

下面是插件给我的原始日志。如果有人能告诉我问题出在哪里,我将不胜感激。我没有在插件或Apache级别启用防火墙,尽管我启用了ModSecurity。

但是,每当我尝试SiteCheck时,ModSecurity的日志都不会给我任何错误,所以看起来请求甚至没有到达Apache。

id               => 15729
module           => malware
type             => warning
code             => sucuri-system-error
timestamp        => 2019-07-13 09:06:55
init_timestamp   => 2019-07-13 09:06:48
remote_ip        => 10.20.30.40
user_id          => 1
url              => https://domain.com/wp-admin/admin-ajax.php
memory_current   => 21832592
memory_peak      => 21915880
data             => Array
    results   => Array
        BLACKLIST   => Array
            INFO   => Array
                0   => Array
                    0   => Domain clean by Google Safe Browsing: www.domain.com
                    1   => https://transparencyreport.google.com/safe-browsing/search?url=domain.com
                1   => Array
                    0   => Domain clean by Norton Safe Web: www.domain.com
                    1   => https://safeweb.norton.com/report/show?url=domain.com
                2   => Array
                    0   => Domain clean by McAfee: www.domain.com
                    1   => https://www.siteadvisor.com/sitereport.html?url=domain.com
                3   => Array
                    0   => Domain clean by Sucuri Labs: www.domain.com
                    1   => https://labs.sucuri.net/?blacklist=domain.com
                4   => Array
                    0   => Domain clean by ESET: www.domain.com
                    1   => https://labs.sucuri.net/?eset
                5   => Array
                    0   => Domain clean by PhishTank: www.domain.com
                    1   => https://www.phishtank.com
                6   => Array
                    0   => Domain clean by Yandex: www.domain.com
                    1   => https://www.yandex.com/infected?url=domain.com
                7   => Array
                    0   => Domain clean by Opera: www.domain.com
                    1   => https://www.opera.com
                8   => Array
                    0   => Domain clean by Spamhaus: www.domain.com
                    1   => http://www.spamhaus.org/query/domain/domain.com
        SCAN        => Array
            DOMAIN   => Array
                0   => www.domain.com
            INPUT    => Array
                0   => http://www.domain.com/
            IP       => Array
                0   => 10.20.30.40
            SITE     => Array
                0   => http://www.domain.com/
        SYSTEM      => Array
            ERROR   => Array
                0   => Unable to properly scan your site. Timeout reached
        VERSION     => Array
            DBDATE    => Array
                0   => 03 Jul 2019 15:05 UTC
            VERSION   => Array
                0   => 2.6
        cached      => [boolean] false

1 个回复
最合适的回答,由SO网友:John Doe 整理而成

我发现了问题。我的PHP已更新max_execution_time 设置被重置为30秒,这不足以让SiteCheck完全扫描站点。当我将执行时间增加到120秒以上时,问题得到了解决。

相关推荐

Testing Plugins for Multisite

我最近发布了一个WordPress插件,它在单个站点上非常有效。我被告知该插件在多站点安装上不能正常工作,我理解其中的一些原因。我已经更新了代码,现在需要一种方法来测试更新后的代码,然后才能转到实时客户的多站点安装。我有一个用于测试的WordPress安装程序的单站点安装,但需要在多站点安装上进行测试。根据我所能找到的唯一方法是在网络上至少有两个站点来安装整个多站点安装,以测试我的插件。设置WordPress的整个多站点安装是插件开发人员的唯一/首选方式,还是有更快的测试环境可用。