Defensive Attak is a PHP class that can retrieve information of current user HTTP request.
· Apache Web Server
· PHP version 4.x or better (mod_php) Apache module
Defensive Attack is simple class for get information about guests and actions him.
------class.php4.DefensiveAttack.php PHP4 class
------class.php5.DefensiveAttack.php PHP5 class
------doc Directory with documentation
example_1.php - IP address identity. Make ip allow or not.
example_2.php - Looking for proxy using
example_3.php - Check referer. (Set class attribute to your site name. Example: new DefensiveAttack(mysite.com) to new DefensiveAttack(yoursite.com) )
example_4.php - Smart cookie trick. Ban with cookie help.
example_5.php - Class extends. Check referer with "www" and without "www".