Telegram get remote IP
This script is intended to be used to determine the IP address of the interlocutor in the telegram messenger.
You must have tshark installed to use it.
How to use?
- Install Telegram desktop client on Linux or Mac.
- Install tshark (sudo apt install tshark or download for macOS here, it's comes with wireshark).
- Call and wait for an answer. Don't run script before answer!
- Run the script after answer.
- Profit! You have received the IP address of the interlocutor.
Get & Run
$ wget https://raw.githubusercontent.com/n0a/telegram-get-remote-ip/main/tg_get_ip.sh
$ chmod +x tg_get_ip.sh
$ sudo ./tg_get_ip.sh
PS. Possible work with termux on android smartphones. Root authority is required to capture traffic.
Для русскоязыных пользователей
Более подробно об утилите можно почитать у меня в блоге: https://n0a.pw/telegram-get-remote-ip/