[WordPress] 外掛分享: Blackhole for Bad Bots

WordPress 外掛 Blackhole for Bad Bots 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Blackhole for Bad Bots」是 2016-02-17 上架。
  • 目前有 30000 個安裝啟用數。
  • 上一次更新是 2025-03-25,距離現在已有 39 天。
  • 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6.20 以上。
  • 有 146 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

specialk |

外掛標籤

bots | honeypot | security | anti-spam | blackhole |

內容簡介

添加您自己的虛擬黑洞陷阱來捕捉壞的機器人。

掰掰壞機器人⋯

壞機器人是最糟糕的。他們會做各種討厭的事情並浪費伺服器資源。 Blackhole外掛有助於阻止壞機器人並為合法訪客節省寶貴的資源。

它是如何運作的?

首先,外掛會在頁面頁腳中添加一個隱藏的觸發連結。然後,您可以在robot.txt文件中添加一行代碼以禁止所有機器人跟隨隱藏的連結。 然後,忽略或不遵守規則的機器人將爬行該連結並掉入陷阱中。一旦落入陷阱,壞機器人就會被拒絕進一步訪問您的WordPress網站。

我稱之為“一次性”規則:機器人有一次機會遵守您網站的robots.txt規則。 如果未能遵守,將立即被驅逐出境。最好的部分是,Blackhole僅影響壞機器人:人類用戶從未看到隱藏的連結,良好的機器人首先遵守robots.txt規則。 雙贏!🙂

使用緩存外掛? 請查看安裝說明中的重要信息。

功能

易於設置
乾淨的代碼
專注和模塊化
輕量級,快速和靈活
使用WordPress API構建
與其他安全外掛兼容
輕鬆重置壞機器人列表
輕鬆從列表中刪除任何機器人
定期更新且“未來證明”
黑洞連結包括“nofollow”屬性
外掛選項可通過設置屏幕進行配置
在幕後靜默工作以保護您的網站
白名單所有主要搜索引擎以永遠不要封鎖
著重於靈活性,性能和安全性
帶有WHOIS查找的電子郵件警報封鎖機器人
通過幫助選項卡提供完整的內聯文檔
提供設置以將任何IP地址列入白名單
自定義顯示給壞機器人的消息😉
一鍵恢復插件的默認選項
不使用或要求任何.htaccess規則

Blackhole for Bad Bots會保護您的網站免受壞機器人,垃圾郵件發送者,刮取者,掃描器和其他自動化威脅。

不使用WordPress嗎? 請查看Blackhole的獨立PHP版本!

查看Blackhole Pro 並升級到高級功能!

白名單

默認情況下,此外掛不會阻止任何主要搜索引擎(用戶代理):

AOL.com
Baidu
Bingbot/MSN
DuckDuckGo
Googlebot
Teoma
Yahoo!
Yandex

這些搜索引擎(以及它們的無數變化)通過用戶代理列入白名單。許多其他“有用”的機器人也是如此。即使他們違反了您的robots.txt規則,他們仍然允許完全訪問您的網站。此列表可以在外掛設置中自定義。有關所有列入白名單機器人的完整列表,請訪問外掛設置中的幫助選項卡(在“白名單設置”下方)。

隱私

使用者數據:此外掛自動阻擋壞機器人。當壞機器人掉入陷阱時,其IP地址,用戶代理和其他請求數據將存儲在WP數據庫中。此外,此外掛不收集其他用戶數據。在任何時候,管理員都可以通過外掛設置刪除所有保存的數據。

服務:此外掛不連接到任何第三方位置或服務。

Cookies:

原文外掛簡介

✨ Trap bad bots in a virtual black hole

Important: Do NOT use this plugin on sites with caching. Learn more »
👾 Bye bye bad bots..
Bad bots are the worst. They do all sorts of nasty stuff and waste server resources. The Blackhole plugin helps to stop bad bots and save precious resources for legit visitors.
👾 How does it work?
First the plugin adds a hidden trigger link to the footer of your pages. You then add a line to your robots.txt file that forbids all bots from following the hidden link. Bots that then ignore or disobey your robots rules will crawl the link and fall into the trap. Once trapped, bad bots are denied further access to your WordPress site.
I call it the “one-strike” rule: bots have one chance to obey your site’s robots.txt rule. Failure to comply results in immediate banishment. The best part is that the Blackhole only affects bad bots: human users never see the hidden link, and good bots obey the robots rules in the first place. Win-win! 🙂

✨ Add a blackhole trap to help stop bad bots

Important: Do NOT use this plugin on sites with caching. Learn more »
👾 Features

Easy to set up
Squeaky clean code
Focused and modular
Lightweight, fast and flexible
Built with the WordPress API
Works with other security plugins
Easy to reset the list of bad bots
Easy to delete any bot from the list
Regularly updated and “future proof”
Blackhole link includes “nofollow” attribute
Plugin options configurable via settings screen
Works silently behind the scenes to protect your site
Whitelists all major search engines to never block
Focused on flexibility, performance, and security
Email alerts with WHOIS lookup for blocked bots
Complete inline documentation via the Help tab
Provides setting to whitelist any IP addresses
Customize the message displayed to bad bots 😉
One-click restore the plugin default options
Does NOT use or require any .htaccess rules

Blackhole for Bad Bots protects your site against bad bots, spammers, scrapers, scanners, and other automated threats.
Not using WordPress? Check out the standalone PHP version of Blackhole!
Check out Blackhole Pro and level up with advanced features!
👾 Whitelist
By default, this plugin does NOT block any of the major search engines (user agents):

AOL.com
Baidu
Bingbot/MSN
DuckDuckGo
Googlebot
Teoma
Yahoo!
Yandex

These search engines (and all of their myriad variations) are whitelisted via user agent. So are a bunch of other “useful” bots. They always are allowed full access to your site, even if they disobey your robots.txt rules. This list can be customized in the plugin settings. For a complete list of whitelisted bots, visit the Help tab in the plugin settings (under “Whitelist Settings”).
👾 Privacy
User Data: This plugin automatically blocks bad bots. When bad bots fall into the trap, their IP address, user agent, and other request data are stored in the WP database. No other user data is collected by this plugin. At any time, the administrator may delete all saved data via the plugin settings.
Services: This plugin does not connect to any third-party locations or services.
Cookies: This plugin does not set any cookies.
Credit: Header Image Courtesy NASA/JPL-Caltech.
Blackhole for Bad Bots is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.
👾 Support development
I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:

The Tao of WordPress
Digging into WordPress
.htaccess made easy
WordPress Themes In Depth
Wizard’s SQL Recipes for WordPress

And/or purchase one of my premium WordPress plugins:

BBQ Pro – Super fast WordPress firewall
Blackhole Pro – Automatically block bad bots
Banhammer Pro – Monitor traffic and ban the bad guys
GA Google Analytics Pro – Connect WordPress to Google Analytics
Head Meta Pro – Ultimate Meta Tags for WordPress
Simple Ajax Chat Pro – Unlimited chat rooms
USP Pro – Unlimited front-end forms

Links, tweets and likes also appreciated. Thank you! 🙂

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Blackhole for Bad Bots」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.5 | 1.6 | 1.7 | 1.8 | 1.9 | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 2.6 | 2.7 | 2.8 | 2.9 | 3.0 | 3.1 | 3.2 | 3.3 | 3.4 | 3.5 | 3.6 | 3.7 | 1.7.1 | 1.9.1 | 1.9.2 | 2.9.1 | 3.3.1 | 3.3.2 | 3.3.3 | 3.3.4 | 3.3.5 | 3.4.1 | 3.6.1 | 3.7.1 | 3.7.2 | 3.7.3 | 3.7.4 | trunk |

延伸相關外掛(你可能也想知道)

  • Akismet Anti-spam: Spam Protection 》Akismet會檢查您的評論和聯繫表單提交,將它們與全球垃圾郵件數據庫進行比對,以防止站點發佈惡意內容。您可以在部落格的“評論”管理畫面中檢查評論垃圾郵件的...。
  • Antispam Bee 》用 Antispam Bee 保障你的 WordPress 博客或網站免受評論垃圾郵件的困擾。這個外掛可以有效地阻止垃圾評論和引用,不需要驗證碼,也不會將個人信息發送給第三...。
  • Honeypot for Contact Form 7 — Protect Contact Form 7 spam with ease! [100% FREE Anti-Spam Plugin] 》這個簡單的外掛模組增強了優秀的Contact Form 7 (CF7) 外掛,加入基本的蜜罐反垃圾功能,以防止垃圾機器人,而無需使用醜陋的 captcha 碼。, 蜜罐的基本原理...。
  • WP Armour – Honeypot Anti Spam 》此插件使用蜜罐反垃圾郵件技術來阻止垃圾郵件提交。對用戶沒有驗證碼或額外驗證字段的麻煩。只讓垃圾郵件機器人經歷我們的反垃圾郵件過濾器的困擾。, , 以下...。
  • Spam protection, Anti-Spam, FireWall by CleanTalk 》Forms spam filter, Plugin extends spam protection for Gravity Forms. It filters spam submissions for each form created with Gravity Forms., MemberP...。
  • Gravity Forms Zero Spam 》這個 Gravity Forms 的外掛使用不會打擾使用者的防 spam 措施來封鎖垃圾郵件。您不需要進行任何設定或組態,只需要啟用這個外掛!, Gravity Forms 蜜罐欄位沒...。
  • reCaptcha by BestWebSoft 》reCaptcha 外掛是一個有效的安全解決方案,保護你的 WordPress 網站表單免於遭受垃圾郵件攻擊,同時讓真實使用者更容易通過驗證。它可以用在登入、註冊、密碼...。
  • Email Encoder – Protect Email Addresses and Phone Numbers 》專門為電子郵件地址設計的全站保護外掛,可防止垃圾郵件機器人、電子郵件收割機和其他機器人攻擊。無需任何配置。, 此外,使用我們集成的[eeb_protect_conten...。
  • Titan Anti-spam & Security 》ime for new hacking patterns and malicious IP addresses, to block attacks., [PRO] We provide 24/7 technical support., [PRO] Protect your website fr...。
  • hCaptcha for WP 》hCaptcha 是 reCAPTCHA 的替代方案,以保護使用者的隱私為主要考量。, 需要阻擋機器人?hCaptcha 提供更佳的防止垃圾訊息和濫用的保護性措施,同時保護使用者...。
  • Anti-Spam: Spam Protection | Block Spam Users, Comments, Forms 》Antispam 外掛。, 快速連結:升級 | 支援 | 贊助, 遏止垃圾電子郵件、垃圾評論、垃圾註冊、垃圾機器人和惡意網絡騷擾。透過這款維護完善的成熟外掛,執行診斷...。
  • CloudSecure WP Security 》管理画面とログインURLをサイバー攻撃から守る、安心の国産・日本語対応プラグインです。, かんたんな設定を行うだけで、不正アクセスや不正ログインからあな...。
  • Maspik – Ultimate Spam Protection 》您的聯繫表格是否一直被垃圾郵件騷擾?, MASPIK可以幫助您阻止Elementor + CF7表單 +WordPress評論和註冊(以及Gravityforms + Wpforms + Woocommerce評論和...。
  • WP Mailto Links – Protect Email Addresses 》這個外掛可以安全地保護和編碼電子郵件地址,以防止垃圾郵件機器人、亂發郵件和其他機器人。此外,它很容易使用,不需要進行任何配置即可使用。, 功能, , 全...。
  • WP Captcha 》wp captcha是一個驗證訪客是否為人類,而不是垃圾機器人的外掛。captcha外掛是保護您的WordPress網站表單免受垃圾郵件的最佳安全解決方案。它可用於登錄、註...。

文章
Filter
Apply Filters
Mastodon