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

Function get_patches

g2all/700/lapse.js:1523–1529  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

1521// FUNCTIONS FOR STAGE: PATCH KERNEL
1522
1523async function get_patches(url) {
1524 const response = await fetch(url);
1525 if (!response.ok) {
1526 throw Error(`network response was not OK, status: ${response.status}\nfailed to fetch: ${url}`);
1527 }
1528 return response.arrayBuffer();
1529}
1530
1531// Using JIT to load our own shellcode code here avoids the need to preform
1532// some trick toggle the CR0.WP bit. We can just toggle it easily within our

Callers 1

patch_kernelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected