hum nay tìm đc cái code anti ddos này cũng hay và đã thử thành công
demo: [You must be registered and logged in to see this link.] F5 10 làn liên tục ===> tự động ban ip
Code:
Guests are not allowed to view code. To enable the
viewing of code, please click '[You must be registered and logged in to see this link.]' to register.
Cách làm như sau
Code:
Guests are not allowed to view code. To enable the
viewing of code, please click '[You must be registered and logged in to see this link.]' to register.
Save lại thành erc.php đặt vào thư mục gốc của forum (hoặc portal hay muzic, blog site ...).
mở file global.php chèn vào dòng bên dưới Code:
Guests are not allowed to view code. To enable the
viewing of code, please click '[You must be registered and logged in to see this link.]' to register.
Tạo file xóa .htaccess theo thời gian biểu
Code:
Guests are not allowed to view code. To enable the
viewing of code, please click '[You must be registered and logged in to see this link.]' to register.
Save lại erc_res.php,includes/cron/
Lên thời gian biểu RESET ERC
cPanel Cron Jobs :
[You must be registered and logged in to see this link.]
Vậy 10 phút clear một lần.
- ERC mặc định chặn IP nếu 5 lần nhanh và liên tiếp truy cập vào một URL. Để điều chỉnh sử thay giá trị của biến $n
- Phải chmod thư mục gốc của forum sao cho ERC có quyền write.
- File erc.log lưu trữ tạm thời các URI và được xoá sau khi đã phân tích xong.
- để hết ban ip thì vào forum xóa file .htaccess di la` xonmg
demo: [You must be registered and logged in to see this link.] F5 10 làn liên tục ===> tự động ban ip
Code:
Guests are not allowed to view code. To enable the
viewing of code, please click '[You must be registered and logged in to see this link.]' to register.
Cách làm như sau
Code:
Guests are not allowed to view code. To enable the
viewing of code, please click '[You must be registered and logged in to see this link.]' to register.
Save lại thành erc.php đặt vào thư mục gốc của forum (hoặc portal hay muzic, blog site ...).
mở file global.php chèn vào dòng bên dưới Code:
Guests are not allowed to view code. To enable the
viewing of code, please click '[You must be registered and logged in to see this link.]' to register.
Tạo file xóa .htaccess theo thời gian biểu
Code:
Guests are not allowed to view code. To enable the
viewing of code, please click '[You must be registered and logged in to see this link.]' to register.
Save lại erc_res.php,includes/cron/
Lên thời gian biểu RESET ERC
cPanel Cron Jobs :
[You must be registered and logged in to see this link.]
Vậy 10 phút clear một lần.
- ERC mặc định chặn IP nếu 5 lần nhanh và liên tiếp truy cập vào một URL. Để điều chỉnh sử thay giá trị của biến $n
- Phải chmod thư mục gốc của forum sao cho ERC có quyền write.
- File erc.log lưu trữ tạm thời các URI và được xoá sau khi đã phân tích xong.
- để hết ban ip thì vào forum xóa file .htaccess di la` xonmg