Penetration Testing

Debugging Telegram

Debug Mode

To enable debug mode, type debugmode in the settings page of Telegram desktop and confirm it.

Log files
* /home/username/.TelegramDesktop/log.txt
* /home/user/.TelegramDesktop/DebugLogs/tcp_xx_xx.txt
* /home/user/.TelegramDesktop/DebugLogs/mtp_xx_xx.txt
* /home/user/.TelegramDesktop/DebugLogs/log_xx_xx.txt

To disable the debug mode, type in debugmode again.

Burp Proxy Intercept
* Open Telegram settings -> Advanced settings -> Connection type -> HTTP with custom http-proxy.
* Configure hostname, port and click save.