This lightweight and fast script allows you to effortlessly display your public IP address and key network details, such as location and ISP. A practical tool for checking your internet connection status and related information! π
- Display your public IP address.
- Get geolocation details (country, city, etc.).
- Fast and lightweight.
- Easy to integrate with other tools.
- Option for verbose output with additional info.
To install the required dependencies, run the following commands on client:
pip install pyinstaller
pip install colorama
pip install requestsTo install the required dependencies, run the following commands on server:
pip install flaskpython app.pyTo use the script, run the following command:
python client/whatismyip.py--set_url "http://localhost:6263": Allows you to specify a custom URL for the server.-v: Verbose mode, shows more detailed information.-i "IP_ADDRESS": Fetch detailed info for any specific IP address.
β β β ββ ββ β βββ
βββββ β β β β β ββ
IP : 123.123.123.123
Country : Country
City : City
ISP : Internet service provider
β β β ββ ββ β βββ
βββββ β β β β β ββ
status : success
country : country
countryCode : countryCode
region : region
regionName : regionName
city : city
zip : zip
lat : lat
lon : lon
timezone : timezone
isp : isp
org : org
as : as
query : 123.123.123.123
