Skip to content

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

License

Notifications You must be signed in to change notification settings

Goose-Nest/GIEx1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published