Created
May 31, 2021 18:40
-
-
Save traverseda/98392bf5284f8200b3a80c6083b2e555 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import whois | |
import string | |
import time | |
from itertools import combinations_with_replacement | |
from tqdm import tqdm | |
domains = list(combinations_with_replacement(string.ascii_lowercase+string.digits,3)) | |
domains.reverse() | |
pbar = tqdm(domains) | |
for i in pbar: | |
time.sleep(1) | |
i="".join(i) | |
pbar.set_description(i) | |
if not whois.query(f"{i}.ca"): | |
tqdm.write(f"{i}.ca") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment