Simple Post Scanner in PHP. ...
Wednesday, December 21, 2011
Anti-DDoS PHP Script
Create a directory anti_ddos and throw all the scripts there:
index.php (DDOS attacks detection module):
anti_ddos.php (module redemption DDOS attacks):
PHP Code:
Also, for the script will need 4 files check.txt, white_ip.txt, black_ip.txt all_ip.txt and create them in the same directory and all the rights set 666 (read and write).
It is also desirable during the attack lists of IP addresses the attackers machine, the file transfer black_ip.txt gradually. Htaccess file and...