Welcome! Log In Create A New Profile

Advanced

Nginx + Lua Anti-DDoS Script Authentication page like Cloudflare Bitmitigate sucuri etc

August 22, 2019 11:16AM
So i thought i would share this here to get some feedback help bring to light some improvements and bugs and to get the ball rolling on how we can make this script better :)

I made this because I like the way Cloudflare, BitMitigate and such sites protect their backends with a HTML, Javascript authentication puzzle for those who have seen Cloudflares I am under attack mode! you know what this will do :) You no longer need the third party services like cloudflare you can now protect your own Nginx servers with it.

https://github.com/C0nw0nk/Nginx-Lua-Anti-DDoS

I was inspired by Cloudflare HTML Javascript based puzzle authentication page to create this so i can use it on my own servers I hope some people find it useful and will help make it better! <3

It is the same as I am under attack mode and the authentication pages of websites under attack on services like Cloudflare, Bitmitigate, Sucuri etc. It takes knowledge of Javascript, HTML, Nginx, Lua, HTTP Headers, Browsers, Cookies to make this function.

Installation is as simple as download the .lua script put it in your nginx config and then add this to a location or http block or server block in your nginx config to protect those websites or the entire nginx server.

```
access_by_lua_file anti_ddos_challenge.lua;
```

http://www.networkflare.com/
Subject Author Posted

Nginx + Lua Anti-DDoS Script Authentication page like Cloudflare Bitmitigate sucuri etc

c0nw0nk August 22, 2019 11:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready