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 requests
To install the required dependencies, run the following commands on server:
pip install flask
python app.py
To 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