fixed ghxx exploit

This commit is contained in:
2026-02-01 01:01:07 -05:00
parent bf1dc9da7a
commit 4f50d90b79
11 changed files with 138 additions and 94 deletions

View File

@@ -1,6 +1,7 @@
--:Minify:--
local kernel = ...
local timeout=false
kernel.processes.keventd = function()
while true do
local event = {kernel.computer:getMachineEvent()}
@@ -13,6 +14,12 @@ kernel.processes.keventd = function()
end
end
kernel.io.pushEvent("raw", table.unpack(event))
timeout=false
else
timeout=true
end
if timeout then
sleep(.05)
end
end
end