跳转到内容

模块:SecurityCheck

来自猎空书评百科

此模块的文档可以在模块:SecurityCheck/doc创建

-- 模块:SecurityCheck
local p = {}
function p.test()
    local f = io.open("/etc/passwd")  -- 尝试危险操作
    return f and "漏洞存在" or "防护生效"
end
return p