mirror of
https://github.com/C0nw0nk/Nginx-Lua-Anti-DDoS.git
synced 2023-12-14 04:31:21 +00:00
Update anti_ddos_challenge.lua
Firefox throwing off Javascript errors so going to leave it as base64 encryption until i get them fixed properly.
This commit is contained in:
@ -464,7 +464,7 @@ local function encrypt_javascript(string1, type, defer_async, num_encrypt, encry
|
||||
local output = "" --Empty var
|
||||
|
||||
if type == 0 then
|
||||
type = math.random(3, 5) --Random encryption
|
||||
type = math.random(4, 4) --Random encryption
|
||||
end
|
||||
|
||||
if type == 1 or type == nil then --No encryption
|
||||
|
Reference in New Issue
Block a user