Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 1.2 KB

File metadata and controls

21 lines (19 loc) · 1.2 KB

GIEx1

A new, unique injection method via replacing updater require path (Windows only).

Method

GIEx1 relies on Discord's new updater API (referred to as v2 in this document). v2 uses a native Rust library which the client (code within app.asar) require's. By replacing this, you can get code execution within the app.asar. What this project does:

  • Make a directory with the original name (updater)
  • Move the original native library within (updater.node moves into the updater dir)
  • Make an index.js file with our custom code, which:
    • Makes a class extending the native library's
    • Hooks into functions to:
      • Forcing update endpoint to have mods (GooseMod as an example) injected
      • Rehook GIEx1 into any new updates

Install

Installation is similar to the info about what the code does above. Simple steps:

  1. Download / clone this repo
  2. Rename src to updater
  3. Copy your updater.node from your Discord install (like for stable, %localappdata%\Discord\app-1.X.Y\) into the new updater directory
  4. Remove the updater.node from your Discord install directory
  5. Copy your updater directory into your Discord install directory
  6. Restart Discord via system tray