mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
21 lines
353 B
Lua
21 lines
353 B
Lua
function main()
|
|
ret = nil
|
|
|
|
var = m.getvar("tx.test");
|
|
if var == nil then
|
|
m.log(9, "Don't know what to say...");
|
|
return ret
|
|
end
|
|
|
|
if var == "FELIPE"
|
|
m.log(9, "Ops.");
|
|
elseif var == "felipe"
|
|
m.log(9, "Just fine.");
|
|
ret ="ok";
|
|
else
|
|
m.log(9, "Really?");
|
|
end
|
|
|
|
return ret
|
|
end
|