Updated filtering routes

This commit is contained in:
Marcus Noble 2021-06-22 20:17:07 +01:00
parent 88e9ee5d33
commit 0a3b59f764
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ router.all(/.*\.aspx$/, blackHole);
router.all(/.*\.gz$/, blackHole);
router.all(/.*\.bz2$/, blackHole);
router.all(/.*\.tar$/, blackHole);
router.all(/.*\.sql$/, blackHole);
router.all('(/*)?/wp-includes/(*)?', blackHole);
router.all('/.git/*?', blackHole);
router.all('/.env', blackHole);
@ -19,7 +20,8 @@ router.all('/wp(2)?/', blackHole);
router.all('/backup/', blackHole);
router.all('/db-backup/', blackHole);
router.all('/db_backup/', blackHole);
router.all('/dbbackup/', blackHole);
router.all('/sql-backup/', blackHole);
router.all(/.*\/dbbackup\/.*/, blackHole);
router.all('/bak/', blackHole);
router.all(/.*\/mail\/config-.+\.xml/, blackHole);
router.post('*', blackHole);