mirror of https://github.com/CIRCL/AIL-framework
cymruwhois uses dotted decimal format
parent
87a57e1f05
commit
f070ac2005
|
@ -81,7 +81,7 @@ if __name__ == "__main__":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
l = client.lookup(socket.inet_aton(ip), qType='IP')
|
l = client.lookup(ip, qType='IP')
|
||||||
except ipaddress.AddressValueError:
|
except ipaddress.AddressValueError:
|
||||||
continue
|
continue
|
||||||
cc = getattr(l, 'cc')
|
cc = getattr(l, 'cc')
|
||||||
|
|
Loading…
Reference in New Issue