SHARE
TWEET

Untitled

a guest Jan 24th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2. import re
  3.  
  4.  
  5. for i in range(100):
  6.     word = str(i)
  7.     a = os.popen('whois -v %s.cl' % word).read()
  8.     name = re.findall(r'(Registrant.name:.*)',a)
  9.     creation_time = re.findall(r'(Creation.date:.*)',a)
  10.     expiration_time = re.findall(r'(Expiration.date:.*)',a)
  11.     if creation_time:
  12.         print(name[0])
  13.         print(creation_time[0])
  14.         print(expiration_time[0])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top