Home

Awesome

Discord Token Protector

Protect your Discord token from malicious grabbers!

For NTTS viewers here's my response to the video

✔️ Works with the latest version of Discord

Main Workflow

<p align="center"> <img width="500" src="Assets/DiscordTokenProtectorUI.png"> </p>

This project is still under development! You might face some instability issues!
This is in NO way a perfect solution against Discord token grabbers. But this will protect you against most token grabbers:

Any targeted attack against DiscordTokenProtector can bypass this protection!

✔️Good practices when using DTP

⚠️ Disclaimer

DTP is not affiliated with Discord.
DTP is in NO way responsible for what can happen on your Discord account.
Chances of getting terminated using DTP are very low, but please keep in mind that using third-party software is against Discord's TOS.

Features

✅ Protect your self from most token grabbers

✅ Securely store your Discord token in an encrypted file (YubiKeys* are supported)

✅ Switch easily between multiple accounts

✅ Change your Discord password in one-click

✅ Check the integrity of your Discord installation on launch (BetterDiscord is supported)

✅ Check scripts for known malwares (eg AnarchyGrabber3)

✅ Protect the Discord process from memory reading / code injection

✅ Protect DTP from tampering attacks (protects the process/config from unauthorized users)

*Except from YubiKey NEO

Installation / Update

Download the latest release HERE

What does it do?

Here's a little diagram of how it works:

<p align="center"> <img width="800" src="Assets/how_does_it_work.jpg"> </p>

It removes the Local Storage and Session Storage directories from %appdata%\Discord. These directories can store your Discord token (used to authenticate you). Most of the grabbers look for your token there. Therefore, by removing these directories you can avoid getting grabbed.
Your Discord token is stored in a secure container encrypted with AES-256.

Some stuff to consider

Compilation

To compile, it's recommended to use vcpkg for the libraries

Step 1: Installing vcpkg

You can skip this step if you already have it

git clone https://github.com/microsoft/vcpkg
cd vcpkg
bootstrap-vcpkg.bat -disableMetrics

Start a new cmd as admin in the vcpkg folder and type:

vcpkg integrate install

Step 2: Installing the libraries

Copy and paste this (in the vcpkg directory if you don't have it in the PATH)

vcpkg install imgui:x86-windows-static imgui[glfw-binding]:x86-windows-static imgui[opengl3-binding]:x86-windows-static imgui[glfw-binding]:x86-windows-static imgui[win32-binding]:x86-windows-static nlohmann-json:x86-windows-static cryptopp:x86-windows-static curl[openssl]:x86-windows-static polyhook2:x86-windows-static gl3w:x86-windows-static

This process might take some time as it's building these libraries (for the static link)

Step 3: Cloning DiscordTokenProtector

git clone https://github.com/andro2157/DiscordTokenProtector

Step 4: Open the project in VS

Open DiscordTokenProtector.sln

Everything should be setup, you just need to compile it with the PROD or PROD-NOSTARTUP config in x86.

(Optional) Step 5: Compile with YubiKey support

Note : C++17 is required to compile.

Credit

Donation

If you would like to support this project by donating, you can do it through: