2019-05-11 09:19:25 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2019-05-27 05:31:57 +00:00
|
|
|
set -e -x
|
|
|
|
|
2019-05-11 09:19:25 +00:00
|
|
|
## Parse domains from URLhaus excluding popular domains
|
|
|
|
|
2019-05-28 00:29:02 +00:00
|
|
|
cat urlhaus.txt | \
|
2019-05-11 09:19:25 +00:00
|
|
|
# Exclude Umbrella Top 1M and well-known domains
|
|
|
|
# grep inverse match whole line
|
2019-05-12 02:59:52 +00:00
|
|
|
grep -Fx -vf urlhaus-top-domains.txt > malware-domains.txt
|