Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save umueller459/7a7c236a900f00b379ca7b37ba69567e to your computer and use it in GitHub Desktop.
Save umueller459/7a7c236a900f00b379ca7b37ba69567e to your computer and use it in GitHub Desktop.
Check Free 3 Letter Domains
#!/usr/bin/env bash
array=( a b c d e f g h i j k l m n o p q r s t u v w x y z )
for a in "${array[@]}"
do
for b in "${array[@]}"
do
for c in "${array[@]}"
do
domain="$a$b$c.de"
echo $domain
nslookup $domain|grep NXDOMAIN >> free.txt
done
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment