fix: more accurate static filter

- https://github.com/uBlockOrigin/uBlock-issues/issues/1116#issuecomment-654291153
This commit is contained in:
curben 2020-07-07 02:23:10 +01:00
parent 86e113e3c8
commit 6643bd060e
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 2 additions and 2 deletions

View File

@ -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