Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a ip tracker in python

import os
import urllib2
import jsonwhile True:
ip=raw_input (“what is your target ip:”)
url = “http://ip-api.com/json/”
response = urllib2.urlopen (url +ip)
data = response.read()
values = json.loads(data)print(“IP:” + values [‘query’])
print(“City:” + values [‘city’])
print(“ISP:” + values [‘isp’])
print(“Country:” + values [‘country’])
print(“Region:” + values [‘region’])
print(“Time Zoen:” + values [‘timezone’])break
 
PREVIOUS NEXT
Tagged: #ip #tracker #python
ADD COMMENT
Topic
Name
4+9 =