| 开发者 | yoshiromoriyama |
|---|---|
| 更新时间 | 2026年9月13日 10:27 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-json/ receive a 401 Unauthorized response./xmlrpc.php cannot be used to log in, post, or brute-force credentials.wp-login.php.401 Unauthorized for unauthenticated REST API requests.xmlrpc_enabled), which closes the login, publishing, and brute-force paths. WordPress still answers /xmlrpc.php for its own unauthenticated introspection methods such as system.listMethods; blocking the file outright is a job for the web server.takumi-private-gate folder to /wp-content/plugins/, or install it directly from the Plugins screen.Only if you fail to log in more times than the configured threshold (5 by default). wp-login.php itself is never blocked, since it's the only way to authenticate.
Yes. Since the entire site requires authentication, no unauthenticated client (including search engine crawlers and feed readers) can access any content.
By default, Takumi Private Gate intentionally shows a generic "incorrect username or password" message instead of revealing that the IP is locked out. This keeps an attacker running a brute-force attempt from learning that their requests are being blocked outright. This can be changed on the Private Gate screen.
No. An email is only sent when an IP actually crosses the failed-attempt threshold and gets locked out, not on every failed attempt. This can be turned off on the Private Gate screen.
No. Only the most recent 1000 login attempts are kept; older entries are pruned automatically.
Yes. Add your own IP address (or a CIDR range covering it) to the whitelist on the Private Gate screen. Whitelisted IPs bypass the site-wide lockdown, the REST API/XML-RPC blocking, and the failed-login lockout.
Go to your own Users > Profile screen, find the "Takumi Private Gate: Two-Factor Authentication (2FA)" section, add the displayed key to an authenticator app, enter the 6-digit code it shows, then click "Update Profile" at the bottom of the page. To turn 2FA off later, tick the box in that same section and click "Update Profile" again. No QR code is generated by the plugin, since that would mean sending your secret to a third-party image service; the manual-entry key works with every authenticator app.
The file still exists and WordPress still answers its unauthenticated introspection methods (for example system.listMethods), but every method that requires authentication is refused, so it cannot be used to log in, publish, or brute-force credentials. If you want the file itself to return 403 or 404, block it in your web server configuration -- a plugin runs too late in the request to do that.
Yes. If you network-activate the plugin, each site gets its own settings and login-log table, including sites created after activation. Two-factor authentication is tied to the user account and applies network-wide.
authenticate filter. They now count like any other failed login, and Application Password authentication is refused while an IP is locked out.wp_options forever. They now expire and a daily cleanup event removes them./xmlrpc.php stop responding entirely.