Skip to content

Instantly share code, notes, and snippets.

@casaval
Forked from rudolfschmidt/free-3-letter-domains.sh
Created February 1, 2022 18:12
Show Gist options
  • Save casaval/38110af9fab8d487ba30e3b8d953591b to your computer and use it in GitHub Desktop.
Save casaval/38110af9fab8d487ba30e3b8d953591b 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