urlhaus-filter/utils/malware-domains.sh

11 lines
239 B
Bash
Raw Normal View History

#!/bin/sh
set -e -x
## Parse domains from URLhaus excluding popular domains
cat urlhaus.txt | \
# Exclude Umbrella Top 1M and well-known domains
# grep inverse match whole line
grep -Fx -vf urlhaus-top-domains.txt > malware-domains.txt