From 569cee1c5eca3471608e280e9a5e4c66e370ef3e Mon Sep 17 00:00:00 2001 From: AverageMarcus Date: Tue, 13 Jul 2021 05:49:44 +0000 Subject: [PATCH] Updated blackhole to point to infinite redirect --- filterRoutes.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/filterRoutes.js b/filterRoutes.js index fdc928a..5d44766 100644 --- a/filterRoutes.js +++ b/filterRoutes.js @@ -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);