Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Run IPGeoLocation on Termux

hello guys,
as the title suggests, this is perfect for those of you who want to find out an IP address location using an Android device. Some of you may already be familiar with this, but for those who are not, the following explanation will help you understand it more clearly. Alright, let’s get straight to it, what you need is the Termux application on Android, which can be downloaded from the Google Play Store.


To ensure the packages in Termux are up to date, command :
Code
pkg update && pkg upgrade

After that, we make sure Git and Python are installed. If you have already installed them, it means you don’t need to perform this step again, command :
Code
pkg install git python

After completing the steps above, we now proceed to install IPGeoLocation, command :
Code
git clone https://github.com/maldevel/IPGeoLocation

Once the IPGeoLocation installation is complete, the next step is to enter the IPGeoLocation folder, command :
Code
cd IPGeoLocation

And after entering the folder, we need to grant permission to this application first. Command :
Code
chmod 775 ipgeolocation.py

Next, we install the modules for the IPGeoLocation application, command :
Code
pip install -r requirements.txt

The installation is complete, which means you have successfully installed the IPGeoLocation tool on Termux. To check if the tool works, let’s try checking an IP, command :
Code
python ipgeolocation.py -m
{The command above is used to check our own IP}

If successful, the output will appear as shown below :
result (Click to View)

You can also execute other commands with this tool. Here are the commands :
EXAMPLE Wrote:✪ Retrieve your IP Geolocation
./ip2geolocation.py -m

✪ Retrieve IP Geolocation
./ip2geolocation.py -t x.x.x.x

✪ Retrieve Domain Geolocation
./ip2geolocation.py -t example.com

✪ Do not save .log files
./ip2geolocation.py -t example.com --nolog

✪ Custom User Agent string
./ip2geolocation.py -t x.x.x.x -u "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko"

✪ Using Proxy
./ip2geolocation.py -t x.x.x.x -x http://127.0.0.1:8080

✪ Using random Proxy
./ip2geolocation.py -t x.x.x.x -X /path/to/proxies/filename.txt

Pick User-Agent string randomly
./ip2geolocation.py -t x.x.x.x -U /path/to/user/agent/strings/filename.txt

✪ Retrieve IP geolocation and open location in Google maps with default browser
./ip2geolocation.py -t x.x.x.x -g

✪ Export results to CSV file
./ip2geolocation.py -t x.x.x.x --csv /path/to/results.csv

✪ Export results to XML file
./ip2geolocation.py -t x.x.x.x --xml /path/to/results.xml

✪ Export results to TXT file
./ip2geolocation.py -t x.x.x.x -e /path/to/results.txt

✪ Retrieve IP Geolocation for many targets
./ip2geolocation.py -T /path/to/targets/targets.txt

✪ Retrieve IP Geolocation for many targets and export results to xml
./ip2geolocation.py -T /path/to/targets/targets.txt --xml /path/to/results.xml

✪ Do not print results to terminal
./ip2geolocation.py -m -e /path/to/results.txt --noprint

That’s all for how to run the IPGeoLocation tool on Termux. I apologize for any shortcomings, and I hope this is helpful
[Image: technology.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by R5N3TJan 6, 2026 08:02 PM 4 449 Jan 6, 2026 08:02 PM
Last Post: R5N3T
by R5N3TDec 16, 2025 09:13 AM 4 782 Dec 16, 2025 09:13 AM
Last Post: R5N3T
by R5N3TDec 16, 2025 01:19 AM 0 143 Dec 16, 2025 01:19 AM
Last Post: R5N3T