Update lapse.mjs

small fix
This commit is contained in:
ps3120
2025-05-31 11:38:23 +02:00
committed by GitHub
parent 0252dbf84f
commit 6a8d7dba6b
+5 -6
View File
@@ -1697,18 +1697,17 @@ export async function kexploit() {
await init();
const _init_t2 = performance.now();
if (localStorage.ExploitLoaded === "yes" && sessionStorage.ExploitLoaded!="yes") {
runBinLoader();
return new Promise(() => {});
}
try {
chain.sys('setuid', 0);
}
catch (e) {
localStorage.ExploitLoaded = "no";
}
if (localStorage.ExploitLoaded === "yes" && sessionStorage.ExploitLoaded!="yes") {
runBinLoader();
return new Promise(() => {});
}
// fun fact:
// if the first thing you do since boot is run the web browser, WebKit can