mirror of
https://github.com/EndPwnArchive/cynergy.git
synced 2024-08-14 22:46:57 +00:00
more path fixes, bump version
This commit is contained in:
parent
380151f43a
commit
297c67c825
2 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
|||
* Memework(tm) - Discord datamining
|
||||
*/
|
||||
|
||||
let cyn_ver = 1;
|
||||
let cyn_ver = 2;
|
||||
|
||||
let electron = require("electron").remote;
|
||||
let remote = electron;
|
||||
|
@ -28,7 +28,7 @@ var cacheclear = function () {
|
|||
}
|
||||
|
||||
var cleanup = function () {
|
||||
_win.loadURL('https://canary.discordapp.com/channels/@me');
|
||||
_win.loadURL('https://discordapp.com/channels/@me');
|
||||
}
|
||||
|
||||
var setup = function () {
|
||||
|
|
|
@ -15,7 +15,7 @@ function asarinject(sig, inj) {
|
|||
try {
|
||||
asarinject(
|
||||
"\x0A webPreferences: {\x0A blinkFeatures: 'EnumerateDevices,AudioOutputDevices'\x0A }\x0A };",
|
||||
"webPreferences:{blinkFeatures:'EnumerateDevices,AudioOutputDevices',preload:__dirname+'/../p.js'}}; "
|
||||
"webPreferences:{blinkFeatures:'EnumerateDevices,AudioOutputDevices',preload:__dirname+'/../cynergy/p.js'}}; "
|
||||
);
|
||||
alert('A bootstrap patch has just been applied. Press OK to restart Discord.', 'EndPwn');
|
||||
_cyn_restart();
|
||||
|
@ -44,7 +44,7 @@ bdwatcher=null,bdtag=null,setupCSS=function(n){var e=fs.readFileSync(n,"utf-8");
|
|||
var results=wc.findFunc("SELF_XSS_HEADER");wc.get(results[results.length-1].i).consoleWarning=function(e){};
|
||||
|
||||
// load epapi.js
|
||||
window._epapi = require(_cyn_data + "/cynergy/epapi");
|
||||
window._epapi = require(_cyn_data + "epapi");
|
||||
|
||||
// start the api
|
||||
$api.go();
|
||||
|
|
Loading…
Reference in a new issue