fix: stricter IPv4 matching
- avoid excluding domains with IPv4, e.g. static.21.101.69.159.clients.your-server.de
This commit is contained in:
parent
9fbb4b4686
commit
0a633e3c57
|
@ -199,7 +199,7 @@ sort | \
|
|||
sed '1 i\'"$COMMENT"'' > "../dist/phishing-filter-domains.txt"
|
||||
|
||||
cat "phishing-notop-domains.txt" | \
|
||||
grep -vE "([0-9]{1,3}[\.]){3}[0-9]{1,3}" > "phishing-notop-hosts.txt"
|
||||
grep -vE "^([0-9]{1,3}[\.]){3}[0-9]{1,3}$" > "phishing-notop-hosts.txt"
|
||||
|
||||
## Hosts file blocklist
|
||||
cat "phishing-notop-hosts.txt" | \
|
||||
|
|
Loading…
Reference in New Issue