Created
December 19, 2019 13:11
-
-
Save cvasqxz/154e656a62da9989924d3ef4891811a8 to your computer and use it in GitHub Desktop.
Nic.cl domain WHOIS scanner
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 unidecode | |
import os | |
for j in range(1000): | |
word = str(j) | |
a = os.popen('whois %s.cl' % word).read() | |
if 'no entries found' in a: | |
print('%s.cl\t\t-\t\tdisponible' % word) | |
else: | |
b = a.split('\n') | |
print('%s.cl\t\t-\t\t%s' % (word, b[13].split(': ')[-1])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment