Filter more routes

This commit is contained in:
Marcus Noble 2021-06-21 04:22:36 +01:00
parent 2380008894
commit 88e9ee5d33

View File

@ -6,6 +6,8 @@ router.all('(/*)?/wp-admin/', blackHole);
router.all(/.*\.php$/, blackHole); router.all(/.*\.php$/, blackHole);
router.all(/.*\.aspx$/, blackHole); router.all(/.*\.aspx$/, blackHole);
router.all(/.*\.gz$/, blackHole); router.all(/.*\.gz$/, blackHole);
router.all(/.*\.bz2$/, blackHole);
router.all(/.*\.tar$/, blackHole);
router.all('(/*)?/wp-includes/(*)?', blackHole); router.all('(/*)?/wp-includes/(*)?', blackHole);
router.all('/.git/*?', blackHole); router.all('/.git/*?', blackHole);
router.all('/.env', blackHole); router.all('/.env', blackHole);
@ -15,6 +17,9 @@ router.all('/admin(/.*)?', blackHole)
router.all('/wordpress/', blackHole); router.all('/wordpress/', blackHole);
router.all('/wp(2)?/', blackHole); router.all('/wp(2)?/', blackHole);
router.all('/backup/', blackHole); router.all('/backup/', blackHole);
router.all('/db-backup/', blackHole);
router.all('/db_backup/', blackHole);
router.all('/dbbackup/', blackHole);
router.all('/bak/', blackHole); router.all('/bak/', blackHole);
router.all(/.*\/mail\/config-.+\.xml/, blackHole); router.all(/.*\/mail\/config-.+\.xml/, blackHole);
router.post('*', blackHole); router.post('*', blackHole);