Invision.com”da gezinirken buldum bizim sitede aradım önceden paylaşılmamış..
Mod Adı: Inv-Firewall Script 1.0.0
Açıklama:
Flooding ve sql injection konusunda size koruma sağlar ama bunu tam olarak garantiliyemez..
Gereklilik:
PHP >= 4.1.0 olmalı
*/
Değiştirilecek Dosyalar:
./.htaccess
./init.php
./ipchat.php
./lofiversion/index.php
./firewall/config.php
Yüklenecek Dosyalar:
..htaccess –> ./.htaccess
.firewall*.* –> ./firewall/*.* –> CHMOD to 0777
———————————————————————————————
Aç: ./.htaccess
"yourdomain.com"yazan yeri "Hostname" ile değiştirin:
RewriteCond %{HTTP_REFERER} !^http://(www.)?yourdomain.com/.*$ [NC]
———————————————————————————————
aç: ./init.php
bul:
//———————————————–
// Use custom handler?
//———————————————–
if ( CUSTOM_ERROR )
{
set_error_handler("my_error_handler");
}
Add below:
define(”FW_PATH”, ROOT_PATH.”firewall/”);
@require_once FW_PATH.”config.php”;
@require_once FW_PATH.”firewall.php”;
———————————————————————————————
aç: ./ipchat.php
bul:
define( “KERNEL_PATH”, ROOT_PATH.”ips_kernel/” );
altına ekle:
define(”FW_PATH”, ROOT_PATH.”firewall/”);
@require_once FW_PATH.”config.php”;
@require_once FW_PATH.”firewall.php”;
———————————————————————————————
aç: ./lofiversion/index.php
bul:
define( “KERNEL_PATH”, ROOT_PATH.”ips_kernel/” );
altına ekle:
define(”FW_PATH”, ROOT_PATH.”firewall/”);
@require_once FW_PATH.”config.php”;
@require_once FW_PATH.”firewall.php”;
———————————————————————————————
aç: ./firewall/config.php
bul ve değiştir: "ibf_" ibaresini sql prefixinize göre değiştirin. conf_global.php”daki değerin aynısı olması lazım "sql_tbl_prefix"
$conf["tbl_prefix"] = “ibf_”;
———————————————————————————————
kurulum bu kadar..
dosya: http://uploaded.to/?id=9e3071