More bot filtering
This commit is contained in:
parent
09b375f666
commit
8c3245d36d
@ -2,9 +2,12 @@ const express = require('express');
|
|||||||
|
|
||||||
const router = express.Router();
|
const router = express.Router();
|
||||||
router.all('(/*)?/wp-admin/', function (req, res) {});
|
router.all('(/*)?/wp-admin/', function (req, res) {});
|
||||||
router.all('*?/xmlrpc.php', function (req, res) {});
|
router.all(/.*\.php$/, function (req, res) {});
|
||||||
router.all('(/*)?/wp-includes/(*)?', function (req, res) {});
|
router.all('(/*)?/wp-includes/(*)?', function (req, res) {});
|
||||||
router.all('/.git/*?', function (req, res) {});
|
router.all('/.git/*?', function (req, res) {});
|
||||||
router.all('/wp-login.php', function (req, res) {});
|
router.all('/.env', function (req, res) {});
|
||||||
|
router.post('*', function (req, res) {});
|
||||||
|
router.put('*', function (req, res) {});
|
||||||
|
router.delete('*', function (req, res) {});
|
||||||
|
|
||||||
module.exports = router
|
module.exports = router
|
||||||
|
Loading…
Reference in New Issue
Block a user