Skip to content

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

Notifications You must be signed in to change notification settings

FssAy/dish-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

dish-logger

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

EXPERIMENTAL VERSION

Features

  • searching for tokens concurrently with tokio
  • 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!