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.

Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1378

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *