Updated blackhole to point to infinite redirect
This commit is contained in:
parent
88e9ee5d33
commit
569cee1c5e
@ -1,6 +1,8 @@
|
||||
const express = require('express');
|
||||
const router = express.Router();
|
||||
const blackHole = function (req, res) {};
|
||||
const blackHole = function (req, res) {
|
||||
res.redirect("https://crawler-test.com/redirects/infinite_redirect");
|
||||
};
|
||||
|
||||
router.all('(/*)?/wp-admin/', blackHole);
|
||||
router.all(/.*\.php$/, blackHole);
|
||||
@ -22,6 +24,7 @@ router.all('/db_backup/', blackHole);
|
||||
router.all('/dbbackup/', blackHole);
|
||||
router.all('/bak/', blackHole);
|
||||
router.all(/.*\/mail\/config-.+\.xml/, blackHole);
|
||||
router.all(/archive\.zip/, blackHole);
|
||||
router.post('*', blackHole);
|
||||
router.put('*', blackHole);
|
||||
router.delete('*', blackHole);
|
||||
|
Loading…
Reference in New Issue
Block a user