Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
/ dinkleberg Public archive

🕵️‍♂️ Catch users faking their offline status on Discord with an exploit written in Rust

License

Notifications You must be signed in to change notification settings

oSumAtrIX/dinkleberg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dinkleberg

Catch users faking their offline status on Discord

logo

Build project Codacy Badge GitHub stars GitHub issues Stability: Active GitHub license

About

Dinkleberg is a Discord bot written in Rust to assist tracking of users online status. Technically you do not depend on a Discord bot token and a Discord user token can be used instead if the code is modified properly to support it. It can detect if a user is offline, or really just pretending when the user sets its status to invisible on Discord.

End of life

Discord has finally addressed and fixed this vulnerability 🎉

Preview

preview image

Disclaimer

Dinkleberg was developed for educational, private and fair use.
I am not responsible in any way for the usage of the source code.

Features

  • Rust
  • Automatically track an entire guild and its users
  • Filter for specific users
  • Fancy colored output
  • Find out who really goes offline or just pretends to
  • Easy to use

Building

Clone the repository using git and change to the local repository directory:

git clone https://github.com/oSumAtrIX/dinkleberg.git
cd dinkleberg

Nightly Rust is required to build this project. Install it by following rustup.rs instructions.

cargo build --release

Bot setup

The bot needs the following gateway intents to operate.

  • GUILD_PRESENCES

  • GUILD_MEMBERS

Environment variables

To use this project you will need to set the following environment key with your Discord token as the value:

  • DISCORD_TOKEN

Settings

A default settings.json file will be generated when running the program at the first time.

  • On big Discord servers (+999 members), it is recommended to use the official API since more rate-limiting applies to the widget endpoint. On the other hand, the official Discord API is way less reliable and may cause more false detections, so it is recommended to use the widget as much as possible. For that, widgets must be enabled in the targets Discord server settings under Server Settings > Widget > Enable server widget.

  • Set use_widget in the settings.json to false to use the Discord bot API endpoint instead.

  • Adding user ids to include_only list, separated by a comma, will only track those users. Leaving it empty as-is will track all users in the targeted guild. Filtering helps with rate limiting and false detection a lot and should be considered to be used.

  • Increase the sleep_timer if Discord is too slow to update changes on the member count.

Usage/ Examples

$ dinkleberg.exe

'########::'####:'##::: ##:'##:::'##:'##:::::::'########:'########::'########:'########:::'######:::
 ##.... ##:. ##:: ###:: ##: ##::'##:: ##::::::: ##.....:: ##.... ##: ##.....:: ##.... ##:'##... ##::
 ##:::: ##:: ##:: ####: ##: ##:'##::: ##::::::: ##::::::: ##:::: ##: ##::::::: ##:::: ##: ##:::..:::
 ##:::: ##:: ##:: ## ## ##: #####:::: ##::::::: ######::: ########:: ######::: ########:: ##::'####:
 ##:::: ##:: ##:: ##. ####: ##. ##::: ##::::::: ##...:::: ##.... ##: ##...:::: ##.. ##::: ##::: ##::
 ##:::: ##:: ##:: ##:. ###: ##:. ##:: ##::::::: ##::::::: ##:::: ##: ##::::::: ##::. ##:: ##::: ##::
 ########::'####: ##::. ##: ##::. ##: ########: ########: ########:: ########: ##:::. ##:. ######:::
........:::....::..::::..::..::::..::........::........::........:::........::..:::::..:::......::::

Usage: dinkleberg.exe <guild_id>

Known issues

  • Possibility to false detect mobile Discord clients (mobile client reports status too late)

Authors

License

GPL3