Skip to content

tod36/IP_target

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

import os import urllib.request as urllib2 import json

while True: ip = 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("Timezone:" + values["timezone"]) break

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published