Skip to content

BlackBerry OS ESCode generator written in Rust and GUI framework

Notifications You must be signed in to change notification settings

voidregreso/BBEscGenGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlackBerry Device EScreen Code Generator

This Rust application generates EScreen codes (ESC codes) for BlackBerry devices based on the phone's PIN, OS version, and uptime. It provides an easy-to-use graphical user interface (GUI) using eframe and egui.

Features

  • ESC Code Generation: Generate ESC codes by providing a BlackBerry PIN, OS version, and uptime.
  • Clipboard Integration: Copy the generated ESC code for the 30-day period to the clipboard.
  • User-friendly Interface: Simple input fields and toast notifications to guide the user.
  • Cross-Platform: Works on both Windows and other supported OSes.

Installation

Make sure you have Rust installed on your system. Then, clone the repository and build the application.

git clone <repository-url>
cd <repository-directory>
cargo build --release
cargo run

How It Works

Key Functions

  • ESC::get_key(d: &str) -> Vec<String>:

    • Takes a combined string of phone PIN, OS version, and uptime, and generates a list of ESC codes by using HMAC-SHA1 with a secret key.
  • ESC::convert_to_hex(data: &str) -> String:

    • Converts the generated ESC codes from ASCII to hexadecimal format.
  • HMACSHA1::get_hmac_sha1(data: &[u8], key: &[u8]) -> Vec<u8>:

    • Computes HMAC-SHA1 using the provided data and a fixed key ("Up the time stream without a TARDIS").
  • AppState:

    • Holds the state of the application, including user inputs for phone PIN, OS version, and uptime, along with generated ESC codes.
    • Handles the logic for generating codes and displaying results.

Usage

  1. Input your phone PIN, OS version, and uptime into the provided fields.
  2. Click "Generate" to generate the ESC codes.
  3. Click "Copy 30-day Result" to copy the generated ESC code to your clipboard.

Screenshot

About

BlackBerry OS ESCode generator written in Rust and GUI framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages