Hi, I decided to make up a quick HTTP Flood Mitigation Script.
Acces Denied Page.
Spoiler (Click to View)
Anti Flood Script:
Spoiler (Click to View)
Acces Denied Page.
Spoiler (Click to View)
Anti Flood Script:
Spoiler (Click to View)
|
PHP
Anti HTTP Flood Script. |
|
Hi, I decided to make up a quick HTTP Flood Mitigation Script.
Acces Denied Page. Spoiler (Click to View) Anti Flood Script: Spoiler (Click to View)
Flooding is a type of denial of service attack. Meaning all the server's available processing power/ram/network bandwidth (which ever fails first) is allocated to spam traffic.
Programs that are intended to do this kind of attack will not store session cookies, nor will they follow your redirect. Kinda useless, sorry. (Mar 6, 2015 09:08 AM)Idle cares Wrote: Flooding is a type of denial of service attack. Meaning all the server's available processing power/ram/network bandwidth (which ever fails first) is allocated to spam traffic.It would work with .exe programs like Anonymous DDoSer used by skids. (Mar 6, 2015 09:11 AM)woahxx Wrote: It would work with .exe programs like Anonymous DDoSer used by skids. No. It wouldn't work. Not at all. All it will do is stop people holding f5 down
Mar 6, 2015 09:41 AM
(This post was last modified: Mar 6, 2015 10:08 AM by brentx97.)
Hey hey, I Think you should just develop ur script more take these guys their "feedback" & do what u wanted to :P
http://stackoverflow.com/questions/12553...dos-in-php seems pretty much the same :p
Mar 6, 2015 10:22 AM
(This post was last modified: Mar 6, 2015 10:22 AM by Chickendipper.)
This wouldn't help the server too much - the PHP code would still be executed, and in turn, resources used up.
It's a nice idea, but poorly executed. Maybe move to a database approach? Log IPs and if the IP is trying to spam (ie 10 requests to the same page in less than 10 seconds), block their access for 30 seconds or so. (Use something like die("Bad boy!"); so the script execution stops and only "Bad boy!" is sent)
New to trading cryptocurrencies but don't know where to start? Join Binance here! Binance is my favourite exchange for cryptocurrencies w/ low fees.
![]()
I started like this too :p
I once made something like this but with sleep(). Everytime the time between request was shorter than 1/2 seconds, the sleep would last 1 second longer. So the first time the sleep was set on 1. The second time it was set on 2. The third time it was set to 3 and so on. As said, this doesn't work. But it's a nice concept ;) |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [Javascript] by SteelBotNov 7, 2024 03:18 AM | 8 | 728 |
Nov 7, 2024 03:18 AM Last Post: zeosec |
| [Javascript] by T i e rMay 18, 2020 06:03 PM | 0 | 102 |
May 18, 2020 06:03 PM Last Post: T i e r |
| [PHP] by EeryEndymonMar 19, 2016 03:05 PM | 17 | 742 |
Mar 19, 2016 03:05 PM Last Post: labroca |