Herkese merhaba değerli THT ailesi bu konumda sizlere Python programlama dili ile herhangi
bir ip adresi üzerinden bilgi toplayan küçük bir program yaptım umarım beğenirsiniz
Kod:
import json
import requests
print("""
._____________ _________
| \______ \ / _____/ ____ _____ ____ ____ ___________
| || ___/ \_____ \_/ ___\\__ \ / \ / \_/ __ \_ __ \
| || | / \ \___ / __ \| | \ | \ ___/| | \/
|___||____| /_______ /\___ >____ /___| /___| /\___ >__|
\/ \/ \/ \/ \/ \/
==========================
| DeathWarrior01 |
| TÜRK HACK TEAM |
==========================
""")
def ıp_bulma():
try:
ıp = str(input("Ip: "))
url = ("http://ip-api.com/json/{0}".format(ıp))
response1 = requests.get(url).content
response2 = json.loads(response1)
print("""
===============
| Sonuçlar |
===============
""")
print("")
print("İp:", response2["query"])
print("Durum:", response2["status"])
print("Ülke:", response2["country"])
print("Ülke Kodu:", response2["countryCode"])
print("Bölge:", response2["region"])
print("Bölge Adı:", response2["regionName"])
print("Şehir:", response2["city"])
print("Zip:", response2["zip"])
print("Lat:", response2["lat"])
print("Lon:", response2["lon"])
print("Koordinat:", response2["lat"],",",response2["lon"])
print("Saat Dilimi:", response2["timezone"])
print("İnternet Servis Sağlayıcısı:", response2["isp"])
print("Organizasyon:", response2["org"])
print("As:", response2["as"])
except:
print("Bir hata oluştu?")
ıp_bulma()
İndirme Linki:
Link: İndir catcher
Vt:VirusTotal
Bir sonraki konumda görüşmek üzere sağlıcakla kalın
Link: İndir catcher
Vt:VirusTotal
Bir sonraki konumda görüşmek üzere sağlıcakla kalın