An open API service indexing awesome lists of open source software.

https://github.com/fssay/dish-logger

Lib for the "dish" project using tokio for faster memory scanning.
https://github.com/fssay/dish-logger

concurency discord memory token-grabber tokio-rs winapi windows

Last synced: 3 months ago
JSON representation

Lib for the "dish" project using tokio for faster memory scanning.

Awesome Lists containing this project

README

        

# dish-logger

Lib for the ["dish"](https://github.com/Kameleon-07/dish) project using tokio for faster memory scanning.

**EXPERIMENTAL VERSION**

## Features
- searching for tokens concurrently with [tokio](https://tokio.rs/#tk-lib-runtime)
- support for all discord versions
- simple error handling

## Errors
- **__None [0x00]__**
Everything is ok
- **__InvalidArgument [0x01]__**
Invalid argument has been passed
- **__DebuggerAttach [0x02]__**
Couldn't attach debugger to the process
- **__OpenProcessFailed [0x03]__**
Couldn't open process handle
- **__NoToken [0x04]__**
Couldn't find any token in the memory
- **__AsyncClosed [0x05] (Async only)__**
MPSC channel has been closed due to finished operation
- **__PageSizeZero [0xF1]__**
Critical error (shouldn't happen)

## Usage
extern function `get_token` will always return a struct `Export`.
This struct is built from 2 attributes.
First one being a pointer to a string (message) and the second one being a 1 byte dedicated for the error value.

If the error value is `0x00` the message will contain found token.

In other cases message can be a null pointer.

**Versions bellow `1.0.0` are not production ready and should not be used in any public releases!**