mirror of
				https://github.com/EndPwnArchive/endpwn3.git
				synced 2024-08-15 00:23:30 +00:00 
			
		
		
		
	i thought i made this commit already
This commit is contained in:
		
							parent
							
								
									6e758076bd
								
							
						
					
					
						commit
						176e178be1
					
				
					 1 changed files with 9 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -68,14 +68,13 @@
 | 
			
		|||
 | 
			
		||||
                try {
 | 
			
		||||
                    // reverse asarpwn3
 | 
			
		||||
                    if (!window.__crisprloaded)
 | 
			
		||||
                        if (asarinject(
 | 
			
		||||
                            "var electron=require('electron');var d=electron.remote.app.getPath('userData')+'/crispr.js';if(require('fs').existsSync(d))require(d).go();//",
 | 
			
		||||
                            "// App preload script, used to provide a replacement native API now that\n// we turned off node integration.\nvar electron = require('electron'"
 | 
			
		||||
                        )) {
 | 
			
		||||
                            electron.app.relaunch();
 | 
			
		||||
                            electron.app.exit();
 | 
			
		||||
                        }
 | 
			
		||||
                    if (asarinject(
 | 
			
		||||
                        "var electron=require('electron');var d=electron.remote.app.getPath('userData')+'/crispr.js';if(require('fs').existsSync(d))require(d).go();//",
 | 
			
		||||
                        "// App preload script, used to provide a replacement native API now that\n// we turned off node integration.\nvar electron = require('electron'"
 | 
			
		||||
                    )) {
 | 
			
		||||
                        electron.app.relaunch();
 | 
			
		||||
                        electron.app.exit();
 | 
			
		||||
                    }
 | 
			
		||||
                } catch (ex) {
 | 
			
		||||
                    alert(ex, 'asarpwn3');
 | 
			
		||||
                }
 | 
			
		||||
| 
						 | 
				
			
			@ -101,7 +100,7 @@
 | 
			
		|||
                    var crxpwn = await (await fetch(approot + '/crxpwn.js?_=' + Date.now())).text();
 | 
			
		||||
                    fs.writeFileSync(data + '/crxpwn/payload.js', crxpwn);
 | 
			
		||||
 | 
			
		||||
                    var epapi = await (await fetch('https://endpwn.github.io/epapi-staging/epapi.js?_=' + Date.now())).text();
 | 
			
		||||
                    var epapi = await (await fetch('https://endpwn.github.io/epapi/epapi.js?_=' + Date.now())).text();
 | 
			
		||||
                    fs.writeFileSync(data + '/epapi.js', epapi);
 | 
			
		||||
 | 
			
		||||
                    var crispr = await (await fetch('https://endpwn.github.io/crispr/crispr.js?_=' + Date.now())).text();
 | 
			
		||||
| 
						 | 
				
			
			@ -120,7 +119,7 @@
 | 
			
		|||
            }
 | 
			
		||||
            catch (e) {
 | 
			
		||||
                console.error(e);
 | 
			
		||||
                document.querySelector('div').parentNode.innerHTML += '<div style="color:#f00">Inititialization failure.</div>';
 | 
			
		||||
                document.querySelector('div').parentNode.innerHTML += '<div style="color:#f00">Inititialization failure. Check the console for details.</div>';
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue