fixed elevate VULN

This commit is contained in:
Astronand committed 2026-03-11 08:52:41 -04:00
1 parent b08b14763a
commit bbda3b3937
5 files changed
+30 -22

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ if currentUid ~= 0 then
end
end
local ok, err = syscall.elevate("root", pw)
local ok, err = syscall.login(0, pw)
if not ok then
sleep(1)
print("sudo: Authentication failure")