Kont Forum Asistanı
Mesaj Sayısı : 1984 Yer : ChatLaq.FoRuM.St Yaş : 28 Lakap : Ayıboğan
| Konu: Simple Firewall Ptsi Mayıs 11, 2009 2:40 pm | |
| Bu modifikasyon Cback türü bir phpBB sistemini koruma modifiyesidir.
Kod: | ################################################################# ## Mod Title: Simple Firewall (Anti DOS) ## Mod Author: BaoChung (VietNam) < wall85vn@yahoo.com > 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=' VIETShare :: Forum :: Funny from your sharing Wellcome to VIETShare ! http://vietshare.tk '; 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
|
| |
|