mirror of
https://github.com/EndPwnArchive/endpwn3.git
synced 2024-08-15 00:23:30 +00:00
forgot some slashes
This commit is contained in:
parent
ee53568d6b
commit
2b07b1c9f1
1 changed files with 3 additions and 3 deletions
|
@ -87,10 +87,10 @@
|
||||||
//__monitor.loadURL(location.href.substr(0, location.href.indexOf('/app/')) + '/monitor.html?_=' + Date.now());
|
//__monitor.loadURL(location.href.substr(0, location.href.indexOf('/app/')) + '/monitor.html?_=' + Date.now());
|
||||||
|
|
||||||
// grab stage 2
|
// grab stage 2
|
||||||
fetch(approot + 'stage2.js?_=' + Date.now()).then(x => x.text()).then(stage2 =>
|
fetch(approot + '/stage2.js?_=' + Date.now()).then(x => x.text()).then(stage2 =>
|
||||||
|
|
||||||
// grab shared
|
// grab shared
|
||||||
fetch(approot + 'shared.js?_=' + Date.now()).then(x => x.text()).then(shared => {
|
fetch(approot + '/shared.js?_=' + Date.now()).then(x => x.text()).then(shared => {
|
||||||
|
|
||||||
// find the main window
|
// find the main window
|
||||||
//var win = electron.BrowserWindow.getAllWindows().filter(x => x.getURL().indexOf('monitor') == -1)[0];
|
//var win = electron.BrowserWindow.getAllWindows().filter(x => x.getURL().indexOf('monitor') == -1)[0];
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
if (!fs.existsSync(data + '/DONTUPDATE')) {
|
if (!fs.existsSync(data + '/DONTUPDATE')) {
|
||||||
|
|
||||||
// update crxpwn
|
// update crxpwn
|
||||||
fetch(approot + 'crxpwn.js?_=' + Date.now())
|
fetch(approot + '/crxpwn.js?_=' + Date.now())
|
||||||
.then(r => r.text())
|
.then(r => r.text())
|
||||||
.then(crxpwn => {
|
.then(crxpwn => {
|
||||||
fs.writeFileSync(data + '/crxpwn/payload.js', crxpwn);
|
fs.writeFileSync(data + '/crxpwn/payload.js', crxpwn);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue