MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / run_hax

Function run_hax

900v2/kexploit.js:256–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254
255
256function run_hax() {
257 userland();
258 if (chain.syscall(23, 0).low != 0x0) {
259 kernel();
260 //this wk exploit is pretty stable we can probably afford to kill webkit before payload loader but should we?.
261 }
262 sessionStorage.exploit = "yes";
263 if (sessionStorage.linux != "yes" && sessionStorage.netcat != "yes") {
264 setTimeout(load_poc(),500);
265 }
266 else if(sessionStorage.linux == "yes") {
267 setTimeout(linux_loader(PLfile),500);
268 }
269 else if(sessionStorage.netcat == "yes") {
270 setTimeout(exec_binserver(),500);
271 }
272}
273
274function kernel() {
275 extra_gadgets();

Callers 1

pocFunction · 0.70

Calls 3

userlandFunction · 0.70
kernelFunction · 0.70
syscallMethod · 0.45

Tested by

no test coverage detected