fixed new ghxx exploit

This commit is contained in:
2026-02-25 08:01:28 -05:00
parent 5b2e5eac65
commit 0eabfebd0f
2 changed files with 2 additions and 0 deletions

View File

@@ -225,6 +225,7 @@ local function makeSyscallProxy()
__newindex = function(self, k, v)
rawset(self, k, v)
end,
__metatable=false
})
end

View File

@@ -63,6 +63,7 @@ function kernel.freshUserEnv()
local env = setmetatable(locals, {
__index = kernel._U,
__newindex = function(_, k, v) rawset(locals, k, v) end,
__metatable=false
})
locals._G = env