mirror of https://github.com/Safe3/uuWAF
cloudflare turnstile
parent
68c2f3717d
commit
41a4eb1b7d
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
||||||
6.1.0
|
6.2.0
|
|
@ -0,0 +1,15 @@
|
||||||
|
--[[
|
||||||
|
Rule name: Turnstile challenge
|
||||||
|
Filtering stage: Request phase
|
||||||
|
Threat level: Low
|
||||||
|
Rule description: Use cloudflare turnstile challenge to deny robot, you should get free cloudflare turnstile sitekey and secret first, then set the values bellow.
|
||||||
|
--]]
|
||||||
|
|
||||||
|
|
||||||
|
local sitekey = ""
|
||||||
|
local secret = ""
|
||||||
|
|
||||||
|
if sitekey ~= "" and secret ~= "" then
|
||||||
|
return waf.checkTurnstile(waf, sitekey, secret, 600, 18000)
|
||||||
|
end
|
||||||
|
return false
|
Loading…
Reference in New Issue