17 lines
458 B
Bash
17 lines
458 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Get a list of nameservers
|
||
|
|
||
|
rm -f nameservers
|
||
|
touch nameservers
|
||
|
[ -f nameservers.head ] && cat nameservers.head >> nameservers
|
||
|
curl https://public-dns.info/nameservers.txt | sort -R | head -64 >> nameservers
|
||
|
|
||
|
# Get top 1M subdomains
|
||
|
|
||
|
wget http://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip
|
||
|
unzip top-1m.csv.zip
|
||
|
sed 's|^[0-9]\+,||' top-1m.csv > subdomains/cisco-umbrella_popularity.cache.list
|
||
|
rm top-1m.csv top-1m.csv.zip
|
||
|
|