Blacklist urls that don't make sense to scan

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-03-02 20:40:53 +02:00
parent e13a62af84
commit e9fd94e1a5
No known key found for this signature in database
GPG Key ID: A12750536B5E7010

View File

@ -53,6 +53,11 @@ BLACKLIST_PACKAGES = [
SCANDIR_BLACKLIST_URLS = [ SCANDIR_BLACKLIST_URLS = [
"mirror://rubygems/(.*)", # Not browsable "mirror://rubygems/(.*)", # Not browsable
"mirror://gentoo/(.*)", # Directory too big "mirror://gentoo/(.*)", # Directory too big
"https://dev.gentoo.org/(.*)", # There shouldn't be releases here
# Waste of time to go through
"https://crates.io/(.*)",
"https://api.nuget.org/(.*)",
"https://myget.org/(.*)",
] ]
BRUTEFORCE_BLACKLIST_PACKAGES = [ BRUTEFORCE_BLACKLIST_PACKAGES = [