Need Fast Help, Please! [block Flooding]

v123shine

New Member
anyone know how to block flooding attack in vbulletin?
This is the example: if i refresh my forum page more than 30 times in 1 time, my vps get error/hang. How to block this action!

Thanks

forgive me 4 my english language
 
v123shine said:
anyone know how to block flooding attack in vbulletin?
This is the example: if i refresh my forum page more than 30 times in 1 time, my vps get error/hang. How to block this action!

Thanks

forgive me 4 my english language
Well,If you refresh more than 30 times, It will hang...

Remove those modification which run more queries on each page...this will slow down your flooding
 
This hack might work... if its a persistent problem. You will have to set the header redirect to a page you prefer, probably should be something really, really rude so the moron get the message... LOL

Open index.php or any php page you prefer (ex: showthread.php)

at top find

<?php

add below code


PHP:
$dd1 = $_COOKIE["spambak"];
$dd2 = $_COOKIE["spambakx"];
$value1 = '1';
$value7 = '1200';
$adresxx = $_SERVER['PHP_SELF'];
//cookie check

setcookie("spambak3", "ok", time()+6000); /* expire in 1 hour */
if ($_COOKIE["spambak3"] == "ok"):
else:
setcookie("adres", $adresxx, time()+60);
header("Location: check.php");
exit;
endif;

if ($_COOKIE["spambak"] >= "60"):

setcookie("spambak", $value7, time()+555560); /* expire in 1 hour */
setcookie("spambakx", "ok", time()+555560); /* expire in 1 hour */
header("Location: http://www.asdğğğğğkfasdfjkashfjashfjashdf.com");
exit;
endif;

if ($_COOKIE["spambakx"] == "ok"):
$value2 = $dd1+1;
setcookie("spambak", $value2, time()+60); /* expire in 1 hour */


else:
setcookie("spambak", $value1, time()+60); /* expire in 1 hour */
setcookie("spambakx", "ok", time()+60); /* expire in 1 hour */

endif;
 
Back
Top