fix: utilise static filter to block url
- https://old.reddit.com/r/uBlockOrigin/comments/73q6km/how_to_block_specific_url/
This commit is contained in:
parent
c6baf37019
commit
859dfd03c6
|
@ -96,10 +96,14 @@ grep -F -vf "urlhaus-top-domains.txt" > "malware-domains-online.txt"
|
|||
|
||||
## Parse malware URLs from popular domains
|
||||
cat "urlhaus.txt" | \
|
||||
grep -F -f "urlhaus-top-domains.txt" > "malware-url-top-domains.txt"
|
||||
grep -F -f "urlhaus-top-domains.txt" | \
|
||||
sed "s/^/||/g" | \
|
||||
sed "s/$/^\$all/g" > "malware-url-top-domains.txt"
|
||||
|
||||
cat "urlhaus-online.txt" | \
|
||||
grep -F -f "urlhaus-top-domains.txt" > "malware-url-top-domains-online.txt"
|
||||
grep -F -f "urlhaus-top-domains.txt" | \
|
||||
sed "s/^/||/g" | \
|
||||
sed "s/$/^\$all/g" > "malware-url-top-domains-online.txt"
|
||||
|
||||
|
||||
## Merge malware domains and URLs
|
||||
|
|
Loading…
Reference in New Issue