mirror of
				https://github.com/EndPwnArchive/cynergy.git
				synced 2024-08-14 22:46:57 +00:00 
			
		
		
		
	fix injection paths and add asar fix button
This commit is contained in:
		
							parent
							
								
									7160bcb840
								
							
						
					
					
						commit
						3e291361e1
					
				
					 2 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
					@ -91,7 +91,7 @@ var endpoint_restore = function () {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var asarpwn = function() {
 | 
					var asarpwn = function() {
 | 
				
			||||||
    var bdata = new Buffer(fs.readFileSync(remote.app.getAppPath()));
 | 
					    var bdata = new Buffer(fs.readFileSync(remote.app.getAppPath()));
 | 
				
			||||||
    bdata.write("mainWindow.webContents.on('dom-ready', function () {require('../i').x(mainWindow)});//", bdata.indexOf("mainWindow.webContents.on('dom-ready', function () {});\x0A\x0A    // Prevent navigation whe"));
 | 
					    bdata.write("mainWindow.webContents.on('dom-ready', function () {require('./cynergy/i').x(mainWindow)});//", bdata.indexOf("mainWindow.webContents.on('dom-ready', function () {});\x0A\x0A    // Prevent navigation whe"));
 | 
				
			||||||
    fs.writeFileSync(remote.app.getAppPath(), bdata);
 | 
					    fs.writeFileSync(remote.app.getAppPath(), bdata);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,6 +47,10 @@
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            var goback = function(){
 | 
				
			||||||
 | 
					                require("electron").remote.getCurrentWindow().loadURL("https://discordapp.com/channels/@me");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if(typeof(_cynergy_ver) !== "undefined"){
 | 
					            if(typeof(_cynergy_ver) !== "undefined"){
 | 
				
			||||||
                setup();
 | 
					                setup();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
| 
						 | 
					@ -83,7 +87,9 @@
 | 
				
			||||||
            <div class="jumbotron" style="text-align:center; background-color:rgba(28,30,34,0.5);">
 | 
					            <div class="jumbotron" style="text-align:center; background-color:rgba(28,30,34,0.5);">
 | 
				
			||||||
                <h1 class="display-3 rainbowme">Cynergy</h1>
 | 
					                <h1 class="display-3 rainbowme">Cynergy</h1>
 | 
				
			||||||
                <p class="lead">Welcome to the Cynergy Injector.</p>
 | 
					                <p class="lead">Welcome to the Cynergy Injector.</p>
 | 
				
			||||||
                <p><button class="btn btn-lg btn-primary" role="button" onclick="injectme()">Inject me 💉😩</button></p>
 | 
					                <p><button class="btn btn-lg btn-info" role="button" onclick="goback()">Back to Discord</button></p>
 | 
				
			||||||
 | 
					                <p><button class="btn btn-lg btn-success" role="button" onclick="injectme()">Inject me 💉😩</button></p>
 | 
				
			||||||
 | 
					                <p><button class="btn btn-lg btn-warning" role="button" onclick="asarunpwn()">Fix asar file</button></p>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <div id="logger" class="rainbowme" style="background-color:rgba(0,0,0,0.5); font-size:16px; width:100%; padding:4px;">Log starts here</div>
 | 
					            <div id="logger" class="rainbowme" style="background-color:rgba(0,0,0,0.5); font-size:16px; width:100%; padding:4px;">Log starts here</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue