-4

最近我开始在我的网站上看到很多用户,并且用户名/电子邮件看起来像是垃圾邮件。我也有验证码。到底是怎么回事?

kathleenfentonzry   tiotelisco1977+fenton8995@outlook.com<br>

kristofertroywtq    selfraledig1988+troy7366@outlook.com<br>

mindyrichifnngaeeqe bosspesepe1985+rich1855@outlook.com<br>

如果我能以某种方式阻止这种情况,请告诉我。

谢谢

4

4 回答 4

1
function custom_url_rewrite_outbound(&$path, &$options, $original_path) {
    if (preg_match('|^admin(?![^/])(.*)|', $path, $matches)) {
        $path = 'user'. $matches[1];
    }
}

function custom_url_rewrite_inbound(&$result, $path, $path_language) {
    if (preg_match('|^backend(?![^/])(.*)|', $path, $matches)) {
        $result = 'member'. $matches[1];
    }
    if (preg_match('|^admin(?![^/])(.*)|', $path, $matches)) {
        $result = '404'. $matches[1];
    }
}

在您的 settings.php 文件中包含上述代码。这会将您网站上包含“用户”的路径替换为“成员”。这阻止了我的垃圾邮件。

于 2013-08-06T14:34:59.163 回答
1

我使用一个名为 Spambot ( https://drupal.org/project/spambot ) 的模块来防止在我的 D6 站点上注册垃圾邮件用户。它会根据 IP、用户名和电子邮件,针对http://www.stopforumspam.com上的垃圾邮件数据库检查所有新用户注册。这已经阻止了我过去收到的 99.9% 的垃圾邮件注册。

于 2013-08-06T15:45:03.540 回答
0

我们的网站也有同样的问题,即验证码被殴打。我使用访问规则来阻止某些我认为是垃圾邮件帐户的电子邮件地址。如果这没有帮助,我们接下来使用的是Mollom来阻止垃圾邮件内容。Mollom 不会帮助处理垃圾邮件帐户,但它会阻止网站被垃圾邮件淹没。

于 2013-08-06T04:18:36.050 回答
-3

在注册页面添加重新验证码!

于 2013-08-05T04:49:57.310 回答