Login   Register  
PHP Classes
elePHPant
Icontem

File: doc/Readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Todor Iliev  >  Defensive Attack  >  doc/Readme.txt  >  Download  
File: doc/Readme.txt
Role: Documentation
Content type: text/plain
Description: Methods and attributes documentation
Class: Defensive Attack
Retrieve information of current user HTTP request
Author: By
Last change:
Date: 2006-11-01 14:28
Size: 1,674 bytes
 

Contents

Class file image Download
DefensiveAttack v1.0.0
Released November 1st 2006
Author:  Todor Iliev
Copyright (C) 2006 Todor Iliev
Email: thelordofweb@abv.bg
Web: http://thelordofweb.atspace.com/
Updated: 

This software is OSI Certified Open Source Software.
OSI Certified is a certification mark of the Open Source Initiative.

1. Base Requirements
2. Overview
3. Examples

---------------------------
1. Base Requirements
---------------------------

In order to use DefensiveAttack the folowing prerequisits are necessary.

- A Linux or Windows Box installed and working properly.
- Apache Web Server (http://www.apache.org)
- PHP version 4.x or better (mod_php) Apache module (http://www.php.net)

---------------------------
2. Overview
---------------------------

Someone once said that the best defense is counter-attack.
DefensiveAttack is simple class for get information about site guest and his actions.
Also we can identify IP address and referer. The class have simple tricks for defensible the site.

Defensive Attack
|
 ------class.php4.DefensiveAttack.php		PHP4 class
|
 ------class.php5.DefensiveAttack.php		PHP5 class
|
 ------doc					Directory with documentation

---------------------------
3. Examples
---------------------------

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.

example_5.php	-	Class extends. Check referer with "www" and without "www".


Thanks!