From 0a3b59f76471cbc9262299692a73a4b00c238390 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Tue, 22 Jun 2021 20:17:07 +0100 Subject: [PATCH] Updated filtering routes --- filterRoutes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/filterRoutes.js b/filterRoutes.js index fdc928a..6f237a7 100644 --- a/filterRoutes.js +++ b/filterRoutes.js @@ -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);