Skip to content

Instantly share code, notes, and snippets.

@sulaimanzai
Forked from michaellcader/subdomain_wordlist.md
Created December 16, 2020 21:54
Show Gist options
  • Select an option

  • Save sulaimanzai/bd491839916c4bfb793764a79c4ef9ef to your computer and use it in GitHub Desktop.

Select an option

Save sulaimanzai/bd491839916c4bfb793764a79c4ef9ef to your computer and use it in GitHub Desktop.
Subdomain Wordlist

🚨🔺15 Million Subdomain Wordlist🔻 🧱🔨👀

cmd@fb:/tmp|wc -l 15m_sub_wordlist.txt
 15677820 15m_sub_wordlist.txt

⏳🔺33 Million Subdomain Wordlist🔻🧱🔨👀

cmd@fb:/tmp|❯ wc -l 33m-subdomain-wordlist.txt
 33927885 33m-subdomain-wordlist.txt

11m_sub_wordlist.txt Download Link

cmd@fb:~/Desktop|⇒  wc -l 11m_sub_wordlist.txt
11466866 11m_sub_wordlist.txt

11m_sub_wordlist.txt 137 MB

image

Subdomain Brute Force

cat 11m_sub_wordlist.txt | subgen -d "bing.com"> not_resolve_subdomain.txt
echo "bing.com">bing.txt
comb -s="." 11m_sub_wordlist.txt bing.txt > not_resolve_subdomain.txt
cat not_resolve_subdomain.txt | zdns A --threads 100000 --name-servers=1.1.1.1 | jq -r "select(.data.answers[0].name) | .name" |tee resolve_subdomain.txt

Aiodnsbrute

sudo pip3 install aiodnsbrute
aiodnsbrute yahoo.com -w /tmp/11m_sub_wordlist.txt -o csv -t 100000 -r resolver.txt

resolver.txt=>1.1.1.1

cat yahoo.com.csv |cut -d, -f1|grep tesla.com>yahoo.com.txt

ZDNS Too Many open files Error Solution

ulimit -n 100000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment