feat: add IE-compatible blocklist
- https://gitlab.com/curben/urlhaus-filter/-/issues/30
This commit is contained in:
parent
574e180986
commit
2b267b9991
19
README.md
19
README.md
|
@ -13,6 +13,7 @@ There are multiple formats available, refer to the appropriate section according
|
|||
- [Dnsmasq](#dnsmasq)
|
||||
- [BIND](#bind)
|
||||
- [Unbound](#unbound)
|
||||
- Internet Explorer -> [Tracking Protection List (IE)](#tracking-protection-list-ie)
|
||||
|
||||
Not sure which format to choose? See [Compatibility](https://gitlab.com/curben/urlhaus-filter/wikis/compatibility) page.
|
||||
|
||||
|
@ -248,6 +249,24 @@ printf '\n include: "/usr/local/etc/unbound/phishing-filter-unbound.conf"\n' >>
|
|||
|
||||
</details>
|
||||
|
||||
## Tracking Protection List (IE)
|
||||
|
||||
This blocklist includes domains only.
|
||||
|
||||
- https://curben.gitlab.io/phishing-filter-mirror/phishing-filter.tpl
|
||||
|
||||
<details>
|
||||
<summary>Mirrors</summary>
|
||||
|
||||
- https://cdn.statically.io/gl/curben/phishing-filter/master/dist/phishing-filter.tpl
|
||||
- https://glcdn.githack.com/curben/phishing-filter/raw/master/dist/phishing-filter.tpl
|
||||
- https://raw.githubusercontent.com/curbengh/phishing-filter/master/dist/phishing-filter.tpl
|
||||
- https://cdn.statically.io/gh/curbengh/phishing-filter/master/dist/phishing-filter.tpl
|
||||
- https://gitcdn.xyz/repo/curbengh/phishing-filter/master/dist/phishing-filter.tpl
|
||||
- https://cdn.jsdelivr.net/gh/curbengh/phishing-filter/dist/phishing-filter.tpl
|
||||
|
||||
</details>
|
||||
|
||||
## Issues
|
||||
|
||||
This blocklist operates by blocking the **whole** website, instead of specific webpages; exceptions are made on popular websites (e.g. `https://docs.google.com/`), in which webpages are specified instead (e.g. `https://docs.google.com/phishing-page`). Phishing webpages are only listed in [URL-based](#url-based) filter, popular websites are excluded from other filters.
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -200,6 +200,16 @@ sed '1 i\'"$COMMENT"'' | \
|
|||
sed "1s/Blocklist/Unbound Blocklist/" > "../dist/phishing-filter-unbound.conf"
|
||||
|
||||
|
||||
## IE blocklist
|
||||
COMMENT_IE="msFilterList\n$COMMENT\n: Expires=1\n#"
|
||||
|
||||
cat "../dist/phishing-filter-hosts.txt" | \
|
||||
grep -vE "^#" | \
|
||||
sed "s/^0\.0\.0\.0/-d/g" | \
|
||||
sed '1 i\'"$COMMENT_IE"'' | \
|
||||
sed "2s/Domains Blocklist/Hosts Blocklist (IE)/" > "../dist/phishing-filter.tpl"
|
||||
|
||||
|
||||
## Clean up artifacts
|
||||
rm "phishtank.csv" "top-1m-umbrella.zip" "top-1m-umbrella.txt" "top-1m-tranco.txt" "openphish-raw.txt"
|
||||
|
||||
|
|
Loading…
Reference in New Issue