How to Find out the IP address of your Telegram contacts easily with this script

Be cautious; Telegram may not be the most secure platform regarding confidentiality. What if I told you, for example, that there is an easy way to find out the IP address of your interlocutor on Telegram?

To begin, a quick disclaimer: This script is intended for educational purposes and should not be used to violate the privacy of others. Ensure you have permission from the person concerned before proceeding.

I haven’t had time to test it yet, but you must install the Telegram Desktop client on your computer to make it work. Next, you’ll need tshark, a network analysis tool that’s part of the Wireshark suite. Tshark is available for macOS, Linux, and Windows, meaning you can use this script on almost any platform.

Once you’ve installed Tshark, it’s time to get your hands dirty and start sniffing out those IP addresses. The Telegram get remote IP script, available on GitHub, is quite simple to use and requires the callers to be in each other’s Telegram contacts.

To install the script on Linux, follow the steps below:

sudo apt update 
sudo apt install -y python3-pip python3-venv tshark 
git clone https://github.com/n0a/telegram-get-remote-ip 
cd telegram-get-remote-ip
 python3 -m venv venv 
source ./venv/bin/activate 
sudo pip3 install -r requirements.txt

Then launch Telegram Desktop, start a call with your correspondent, and launch the script like this:

sudo python3 tg_get_ip.py

And there you go! You now have the IP address of your Telegram contact. Remember that this tool should be used responsibly and only with the permission of the person concerned.

5/5 - (1 vote)

See also  How To Use Lucidpic: A Free Tool To Generate Faces Using AI
Mohamed SAKHRI

I am Mohamed SAKHRI, the creator and editor-in-chief of Tech To Geek, where I've demonstrated my passion for technology through extensive blogging. My expertise spans various operating systems, including Windows, Linux, macOS, and Android, with a focus on providing practical and valuable guides. Additionally, I delve into WordPress-related subjects. You can find more about me on my Linkedin!, Twitter!, Reddit

Leave a Comment