From 6643bd060ef61d5de7364fdbcf1cc43b2faa0842 Mon Sep 17 00:00:00 2001 From: curben <2809763-curben@users.noreply.gitlab.com> Date: Tue, 7 Jul 2020 02:23:10 +0100 Subject: [PATCH] fix: more accurate static filter - https://github.com/uBlockOrigin/uBlock-issues/issues/1116#issuecomment-654291153 --- script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.sh b/script.sh index a9197033..f17bb8ad 100644 --- a/script.sh +++ b/script.sh @@ -98,12 +98,12 @@ grep -F -vf "urlhaus-top-domains.txt" > "malware-domains-online.txt" cat "urlhaus.txt" | \ grep -F -f "urlhaus-top-domains.txt" | \ sed "s/^/||/g" | \ -sed "s/$/^\$all/g" > "malware-url-top-domains.txt" +sed "s/$/\$all/g" > "malware-url-top-domains.txt" cat "urlhaus-online.txt" | \ grep -F -f "urlhaus-top-domains.txt" | \ sed "s/^/||/g" | \ -sed "s/$/^\$all/g" > "malware-url-top-domains-online.txt" +sed "s/$/\$all/g" > "malware-url-top-domains-online.txt" ## Merge malware domains and URLs