Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

PREVIOUS NEXT
Code Example
Python :: configure your keyboards 
Python :: proxy pool for scrapy 
Python :: generate 50 characters long for django 
Python :: pandas Timedelta to postgres 
Python :: santhal paragana 
Python :: directory corrente python 
Python :: python enforcing class variables in subclass 
Python :: max(X_train, key=len).split() 
Python :: sphinx select code ' 
Python :: taggablemanager serializer django 
Python :: python regex words with apostrophe in middle 
Shell :: uninstall libreoffice ubuntu 
Shell :: ubuntu restart sound 
Shell :: stop apache server 
Shell :: ubuntu uninstall redis 
Shell :: check react version 
Shell :: how to update git on windows 
Shell :: kill app at port 
Shell :: kill a port process in ubuntu 
Shell :: remove remote origin 
Shell :: serial number linux 
Shell :: pip install tqdm 
Shell :: m1 pod install 
Shell :: uninstall postgres brew 
Shell :: upgrade plotly version 
Shell :: install docker compose homebrew 
Shell :: how to update laravel installer 
Shell :: cannot be loaded because running scripts is disabled on this system. 
Shell :: ubuntu du sort by dir size 
Shell :: ubuntu composer uninstall 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =