HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
C0nw0nk
Nginx-Lua-Anti-DDoS
Lua2022–2022
C0nw0nk / Nginx-Lua-Anti-DDoS

Nginx-Lua-Anti-DDoS

A Anti-DDoS script to protect Nginx web servers using Lua with a HTML Javascript based authentication puzzle inspired by Cloudflare I am under attack mode an Anti-DDoS authentication page protect yourself from every attack type All Layer 7 Attacks Mitigating Historic Attacks DoS DoS Implications DDoS All Brute Force Attacks Zero day exploits Social Engineering Rainbow Tables Password Cracking Tools Password Lists Dictionary Attacks Time Delay Any Hosting Provider Any CMS or Custom Website Unlimited Attempt Frequency Search Attacks HTTP Basic Authentication HTTP Digest Authentication HTML Form Based Authentication Mask Attacks Rule-Based Search Attacks Combinator Attacks Botnet Attacks Unauthorized IPs IP Whitelisting Bruter THC Hydra John the Ripper Brutus Ophcrack unauthorized logins Injection Broken Authentication and Session Management Sensitive Data Exposure XML External Entities (XXE) Broken Access Control Security Misconfiguration Cross-Site Scripting (XSS) Insecure Deserialization Using Components with Known Vulnerabilities Insufficient Logging & Monitoring Drupal WordPress Joomla Flash Magento PHP Plone WHMCS Atlassian Products malicious traffic Adult video script avs KVS Kernel Video Sharing Clip Bucket Tube sites Content Management Systems Social networks scripts backends proxy proxies PHP Python Porn sites xxx adult gaming networks servers sites forums vbulletin phpbb mybb smf simple machines forum xenforo web hosting video streaming buffering ldap upstream downstream download upload rtmp vod video over dl hls dash hds mss livestream drm mp4 mp3 swf css js html php python sex m3u zip rar archive compressed mitigation code source sourcecode chan 4chan 4chan.org 8chan.net 8ch 8ch.net infinite chan 8kun 8kun.net anonymous anon tor services .onion torproject.org nginx.org nginx.com openresty.org darknet dark net deepweb deep web darkweb dark web mirror vpn reddit reddit.com adobe flash hackthissite.org dreamhack hack hacked hacking hacker hackers hackerz hackz hacks code coding script scripting scripter source leaks leaked leaking cve vulnerability great firewall china america japan russia .gov government http1 http2 http3 quic q3 litespeedtech litespeed apache torrents torrent torrenting webtorrent bittorrent bitorrent bit-torrent cyberlocker cyberlockers cyber locker cyberbunker warez keygen key generator free irc internet relay chat peer-to-peer p2p cryptocurrency crypto bitcoin miner browser xmr monero coinhive coin hive coin-hive litecoin ethereum cpu cycles popads pop-ads advert advertisement networks banner ads protect ovh blazingfast.io amazon steampowered valve store.steampowered.com steamcommunity thepiratebay lulzsec antisec xhamster pornhub porn.com pornhub.com xhamster.com xvideos xvdideos.com xnxx xnxx.com popads popcash cpm ppc

2Distinct people
2Mentions
0Explicit recommenders
1.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A Anti-DDoS script to protect Nginx web servers using Lua with a HTML Javascript based authentication puzzle inspired by Cloudflare I am under attack mode an Anti-DDoS authentication page protect yourself from every attack type All Layer 7 Attacks Mitigating Historic Attacks DoS DoS Implications DDoS All Brute Force Attacks Zero day exploits Social Engineering Rainbow Tables Password Cracking Tools Password Lists Dictionary Attacks Time Delay Any Hosting Provider Any CMS or Custom Website Unlimited Attempt Frequency Search Attacks HTTP Basic Authentication HTTP Digest Authentication HTML Form Based Authentication Mask Attacks Rule-Based Search Attacks Combinator Attacks Botnet Attacks Unauthorized IPs IP Whitelisting Bruter THC Hydra John the Ripper Brutus Ophcrack unauthorized logins Injection Broken Authentication and Session Management Sensitive Data Exposure XML External Entities (XXE) Broken Access Control Security Misconfiguration Cross-Site Scripting (XSS) Insecure Deserialization Using Components with Known Vulnerabilities Insufficient Logging & Monitoring Drupal WordPress Joomla Flash Magento PHP Plone WHMCS Atlassian Products malicious traffic Adult video script avs KVS Kernel Video Sharing Clip Bucket Tube sites Content Management Systems Social networks scripts backends proxy proxies PHP Python Porn sites xxx adult gaming networks servers sites forums vbulletin phpbb mybb smf simple machines forum xenforo web hosting video streaming buffering ldap upstream downstream download upload rtmp vod video over dl hls dash hds mss livestream drm mp4 mp3 swf css js html php python sex m3u zip rar archive compressed mitigation code source sourcecode chan 4chan 4chan.org 8chan.net 8ch 8ch.net infinite chan 8kun 8kun.net anonymous anon tor services .onion torproject.org nginx.org nginx.com openresty.org darknet dark net deepweb deep web darkweb dark web mirror vpn reddit reddit.com adobe flash hackthissite.org dreamhack hack hacked hacking hacker hackers hackerz hackz hacks code coding script scripting scripter source leaks leaked leaking cve vulnerability great firewall china america japan russia .gov government http1 http2 http3 quic q3 litespeedtech litespeed apache torrents torrent torrenting webtorrent bittorrent bitorrent bit-torrent cyberlocker cyberlockers cyber locker cyberbunker warez keygen key generator free irc internet relay chat peer-to-peer p2p cryptocurrency crypto bitcoin miner browser xmr monero coinhive coin hive coin-hive litecoin ethereum cpu cycles popads pop-ads advert advertisement networks banner ads protect ovh blazingfast.io amazon steampowered valve store.steampowered.com steamcommunity thepiratebay lulzsec antisec xhamster pornhub porn.com pornhub.com xhamster.com xvideos xvdideos.com xnxx xnxx.com popads popcash cpm ppc

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day2 dated mentions

Observed mentions: 2022-09-18 01:29:53 UTC to 2022-10-05 15:24:10 UTC.

012022-09-18 00:00:00 UTC to 2022-09-19 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsSep 182022-09-19 00:00:00 UTC to 2022-09-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-20 00:00:00 UTC to 2022-09-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-21 00:00:00 UTC to 2022-09-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-22 00:00:00 UTC to 2022-09-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-23 00:00:00 UTC to 2022-09-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-24 00:00:00 UTC to 2022-09-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-25 00:00:00 UTC to 2022-09-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-26 00:00:00 UTC to 2022-09-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 262022-09-27 00:00:00 UTC to 2022-09-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-28 00:00:00 UTC to 2022-09-29 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-29 00:00:00 UTC to 2022-09-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-30 00:00:00 UTC to 2022-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-10-01 00:00:00 UTC to 2022-10-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-10-02 00:00:00 UTC to 2022-10-03 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-10-03 00:00:00 UTC to 2022-10-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-10-04 00:00:00 UTC to 2022-10-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-10-05 00:00:00 UTC to 2022-10-06 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 5

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 182022-09-18 00:00:00 UTC2022-09-19 00:00:00 UTC110
Sep 192022-09-19 00:00:00 UTC2022-09-20 00:00:00 UTC000
Sep 202022-09-20 00:00:00 UTC2022-09-21 00:00:00 UTC000
Sep 212022-09-21 00:00:00 UTC2022-09-22 00:00:00 UTC000
Sep 222022-09-22 00:00:00 UTC2022-09-23 00:00:00 UTC000
Sep 232022-09-23 00:00:00 UTC2022-09-24 00:00:00 UTC000
Sep 242022-09-24 00:00:00 UTC2022-09-25 00:00:00 UTC000
Sep 252022-09-25 00:00:00 UTC2022-09-26 00:00:00 UTC000
Sep 262022-09-26 00:00:00 UTC2022-09-27 00:00:00 UTC000
Sep 272022-09-27 00:00:00 UTC2022-09-28 00:00:00 UTC000
Sep 282022-09-28 00:00:00 UTC2022-09-29 00:00:00 UTC000
Sep 292022-09-29 00:00:00 UTC2022-09-30 00:00:00 UTC000
Sep 302022-09-30 00:00:00 UTC2022-10-01 00:00:00 UTC000
Oct 12022-10-01 00:00:00 UTC2022-10-02 00:00:00 UTC000
Oct 22022-10-02 00:00:00 UTC2022-10-03 00:00:00 UTC000
Oct 32022-10-03 00:00:00 UTC2022-10-04 00:00:00 UTC000
Oct 42022-10-04 00:00:00 UTC2022-10-05 00:00:00 UTC000
Oct 52022-10-05 00:00:00 UTC2022-10-06 00:00:00 UTC101

What Hacker News says

2 sources
To find the LUA scripts that do not depend on a centralized catcha service, search for "nginx lua ddos". [1][2] I do not have a live example at the moment as I took my hobby sites offline while the dust settles around the new California AB 2273 law. Most of these give site-wide examples but one can run the LUA by locations or other ACL's to protect specific resources or exclude specific resources from protection. e.g. RSS feeds. [1] - https://github.com/C0nw0nk/Nginx-Lua-Anti-DDoS [2] - https://github.com/satrobit/lua-resty-ddos
In Cloudflare is breaking the internet by requiring "JavaScript and cookies“

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.