n0a / telegram-get-remote-ip
- воскресенье, 17 сентября 2023 г. в 00:00:12
Get IP address on other side audio call in Telegram.
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.
Attention! To determine the IP address, you must be in each other's contacts.
$ 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
$ sudo python3 tg_get_ip.py
Or specify the interface immediately at startup:
$ sudo python3 -i en0 tg_get_ip.py
PS. Possible work with termux on android smartphones. Root authority is required to capture traffic.
Более подробно об утилите можно почитать у меня в блоге: https://n0a.pw/telegram-get-remote-ip/