Created
November 17, 2017 21:34
-
-
Save Kagee/0779a7890c5277d7249227e39ad1f909 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
echo '-c utf-8 NNRI4O-NORID' | nc whois.norid.no 43 > whois2.txt | |
a_file = open('whois2.txt', encoding='utf-8') | |
s = a_file.read() | |
r = re.search('Domains(.*)', s) | |
r.group(1) | |
'' | |
r = re.search('Domains(..*)', s) | |
r.group(1) | |
'....................: aa.no aar <etc> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment