[Search] anti ddos

kidzior

New Member
Code:
http://www.phpbbhacks.com/download/6317

Code:
#################################################################
## Mod Title: Simple Firewall (Anti DOS)
## Mod Author: BaoChung (VietNam) < [email protected] > http://vietshare.tk 
## Mod Version: 1.0.0
## Mod Time: 25/03/06
## Mod Description: This mod will keep your forum safed from DOS. 
##                  Simply, users have just gone to the forum after they clicked on a button
##                  (DOS can't click on that button). That is my way ^_^
##		
## Installation Level: Very Easy
## Installation Time: 1 Minutes
##
## Files To Edit: 1
##		common.php
##
## Included Files: (none)
##
## NOTE: it can have some non-acuracy, tell me if you have 
##       a problem with it.
## 
#################################################################


#---[OPEN]-------------------------------------------------------
	common.php

#---[FIND]-------------------------------------------------------

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}

#---[AFTER, ADD]-------------------------------------------------

//BEGIN: Simple firewall
//Create by BaoChung
session_start();
if (empty($HTTP_SESSION_VARS['letgo']))
{
	if (!empty($HTTP_POST_VARS['letgo']))
	{
		session_register('letgo');
		$HTTP_SESSION_VARS['letgo']='xaquebaochung';
		header("location: index.php");
		exit();
	}

	$sform='<html>
	<head>
		<title>VIETShare :: Forum :: Funny from your sharing</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	</head>
	<body bgcolor="black">
	<p>&nbsp;
	<p>&nbsp;
	<p>&nbsp;
	<p align=center><font face="tahoma" size=2 color="white"><b>Wellcome to VIETShare ! </b><br><a href=http://vietshare.tk>http://vietshare.tk<a/></font>
	<p align=center>
	<table>
	<tr><td>
		<form name="sercform" method="POST" action="index.php">
			<input type="submit" value="Enter Forum" name="letgo">
		</form>
	</td></tr>
	</table>
	</body>
	</html>';
	echo $sform;

	exit();
}
//END: Simple firewall

#---[NOTE]-------------------------------------------------------
	You are may be need to modify HTML code for your purpose. 
	But, don't change name of button ("letgo")

#
#-----[ SAVE/CLOSE ALL FILES ]-----------------------------------
#
#EoM
 

m0skito

New Member
So you can integrate it into vBulletin:

Open global.php find:

Code:
<?php

After add:

Code:
session_start();
if (empty($HTTP_SESSION_VARS['letgo']))
{
	if (!empty($HTTP_POST_VARS['letgo']))
	{
		session_register('letgo');
		$HTTP_SESSION_VARS['letgo']='xaquebaochung';
		header("location: index.php");
		exit();
	}

	$sform='<html>
	<head>
		<title>vbFreAkz --> die besten nulled Scripte, AddOn's, Hacks, und Support für vBulletin!</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	</head>
	<body bgcolor="black">
	<p>&nbsp;
	<p>&nbsp;
	<p>&nbsp;
	<p align=center><font face="tahoma" size=2 color="white"><b>Wellcome to vbFreAkz ! </b><br><a href=http://www.vbfreakz.org>vbfreakz.org<a/></font>
	<p align=center>
	<table>
	<tr><td>
		<form name="sercform" method="POST" action="index.php">
			<input type="submit" value="Enter Forum" name="letgo">
		</form>
	</td></tr>
	</table>
	</body>
	</html>';
	echo $sform;

	exit();
}

Save and upload it!

Greetz vbFreAkz.org :)
 

AtiQ

New Member
kidzior said:
Code:
http://www.phpbbhacks.com/download/6317

Code:
#################################################################
## Mod Title: Simple Firewall (Anti DOS)
## Mod Author: BaoChung (VietNam) < [email protected] > http://vietshare.tk 
## Mod Version: 1.0.0
## Mod Time: 25/03/06
## Mod Description: This mod will keep your forum safed from DOS. 
##                  Simply, users have just gone to the forum after they clicked on a button
##                  (DOS can't click on that button). That is my way ^_^
##		
## Installation Level: Very Easy
## Installation Time: 1 Minutes
##
## Files To Edit: 1
##		common.php
##
## Included Files: (none)
##
## NOTE: it can have some non-acuracy, tell me if you have 
##       a problem with it.
## 
#################################################################


#---[OPEN]-------------------------------------------------------
	common.php

#---[FIND]-------------------------------------------------------

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}

#---[AFTER, ADD]-------------------------------------------------

//BEGIN: Simple firewall
//Create by BaoChung
session_start();
if (empty($HTTP_SESSION_VARS['letgo']))
{
	if (!empty($HTTP_POST_VARS['letgo']))
	{
		session_register('letgo');
		$HTTP_SESSION_VARS['letgo']='xaquebaochung';
		header("location: index.php");
		exit();
	}

	$sform='<html>
	<head>
		<title>VIETShare :: Forum :: Funny from your sharing</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	</head>
	<body bgcolor="black">
	<p>&nbsp;
	<p>&nbsp;
	<p>&nbsp;
	<p align=center><font face="tahoma" size=2 color="white"><b>Wellcome to VIETShare ! </b><br><a href=http://vietshare.tk>http://vietshare.tk<a/></font>
	<p align=center>
	<table>
	<tr><td>
		<form name="sercform" method="POST" action="index.php">
			<input type="submit" value="Enter Forum" name="letgo">
		</form>
	</td></tr>
	</table>
	</body>
	</html>';
	echo $sform;

	exit();
}
//END: Simple firewall

#---[NOTE]-------------------------------------------------------
	You are may be need to modify HTML code for your purpose. 
	But, don't change name of button ("letgo")

#
#-----[ SAVE/CLOSE ALL FILES ]-----------------------------------
#
#EoM



can this hack be used with vbulletin?
if yes,,,how to?
 

miss.red2009

New Member
i Neede Some Help !

I Have Installed that one And Its Works great But

In Google Search Any 1 comes To DOwnload Proggy
For Example : www.mysite.com/vb/photoshop.html

Then This Autmatically Comes Up ok Thats All Right But When We Click On Enter The Site Then He Goes To forum Home Page Like www.mysite.com

I Wanna When Some ONe Click Enter Then He Redirect To Page Where He Was Searching like www.mysite.com/vb/photoshop.html

SOme 1 Plz Help!

Sorry For Bad english :(
 
Top