mirror of
https://github.com/boku7/Loki
synced 2026-06-06 15:24:27 +00:00
Backdooring QRLWallet and Keeping the application working as normal
Important Note: This requires QRLWallet, to be ran as administrator, due to the permissions requirement of the default installation directory: Program Files (x86)
For doing this you will need to:
- Download the QRLWallet app
- Paste all Loki files except
package.jsontoQRL\app-1.8.1\resources\app- Don't replace the real
package.json
- Don't replace the real
- Copy
/loki/backdoor/QRLWallet/init.jstoQRL\app-1.8.1\resources\app - Modify contents of
QRL\app-1.8.1\resources\app\package.jsonto:- set
"main":"init.js",
- set
How this works
- With these changes
qrlwallet.exewill load ininit.json click / execution init.jsreads inpackage.jsoninit.jschanges"main":"init.js",->"main":"main.js",main.jsis Loki
init.jsspawns and disowns a newqrlwallet.exewhich points to Loki- Loki is spawned in the background
init.jsreads inpackage.jsonagaininit.jschanges"main":"main.js",->"main":"index.js",index.js"is the real QRLWallet application
init.jsspawns and disowns a newqrlwallet.exewhich points to the real QRLWallet- Real QRLWallet app is spawned, visible and operates as normal
- When QRLWallet is exited by the user:
init.jscatches the exitinit.jsreads inpackage.jsonfor a third timeinit.jschanges"main":"index.js",->"main":"init.js",