diff --git a/src/script.sh b/src/script.sh index 8b645540..db40e746 100644 --- a/src/script.sh +++ b/src/script.sh @@ -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" | \