vpspushtest

This commit is contained in:
Benjamyn committed 2018-02-02 21:39:52 -05:00
1 parent 5091baf1ce
commit 7a10ba2c3d
1 file changed
+4 -6
+4 -6
View File
@@ -1,6 +1,3 @@
import subprocess
import re
import readline
import os
from ipwhois.net import Net
from ipwhois.asn import IPASN
@@ -11,6 +8,7 @@ obj = IPASN(net)
results = obj.lookup()
#pprint(results)
for key,value in results.iteritems():
print(a"\t"b)
if key == "asn_country_code":
print(value)
if key == "asn_cidr":
print(value)