Skip to content

Instantly share code, notes, and snippets.

View divyam234's full-sized avatar
🎯
Focusing

Divyam divyam234

🎯
Focusing
View GitHub Profile
@divyam234
divyam234 / pysession.py
Last active May 4, 2023 11:20
Telethon , Pyrogram and GramJS string sessions convertors
import struct
import base64
import ipaddress
dc_maps = {
1: {'serverAddress': 'pluto.web.telegram.org', 'ipAddress': '149.154.175.53'},
2: {'serverAddress': 'venus.web.telegram.org', 'ipAddress': '149.154.167.51'},
3: {'serverAddress': 'aurora.web.telegram.org', 'ipAddress': '149.154.175.100'},
4: {'serverAddress': 'vesta.web.telegram.org', 'ipAddress': '149.154.167.91'},
5: {'serverAddress': 'flora.web.telegram.org', 'ipAddress': '91.108.56.130'}
First go here:
https://wiki.codeaurora.org/xwiki/bin/QAEP/release
This site gives information about all msm soc release details with tag + android version
Search your msm here.. Check the latest one and look for correct android version and mark that tag.
Now open one of the following links (dependent on your linux kernel version)