PHP Classes
Icontem

Class: class_sql_inject


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of MARY Matthieu  >  class_sql_inject  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: class_sql_inject Support forum
Base name: class_sql_inject
Description: Detect attempts to perform SQL injection attacks
Related top rated classes: , ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 5377 users
All time rank: 257
Week users: 13 users
Week rank: 512
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of MARY Matthieu
Name: MARY Matthieu <e-mail contact>
Published packages: 19 Browse this author's classes Browse this author's classes
Country: France, Metropolitan France, Metropolitan - PHP jobs in France, Metropolitan
Home page: http://www.phplibrairies.com/
Age: 31
All time rank: 20
Week rank: 100

Groups

Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Security Security protection and attack detection View top rated classes

Detailed description

This class is meant to search in your SQL data values for special characters that may change the meaning of your SQL data and execute actions that may compromise the security of servers.

When some of these suspicious character sequences is found in HTTP POST request values ($_POST), you can:
- Destroy the current session
- Redirect to a new page
- Log the activity

To check the request values do the following:

$bDestroy_session = TRUE;
$url_redirect = 'index.php';
$sqlinject = new sql_inject('./path_to_log.log',$bDestroy_session,$url_redirect);
$sql_inject->test($your_sql_data);

This class requires PHP 4 or later.

Notice: this class recognise only some of the known types of SQL injection methods and so it is not yet ready to deal with all possible ways to perform this kind of attack.

Freshmeat project

Project record: sql_inject
Popularity score: 18.65
Vitality score: 0.0

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (68.8%)
Sufficient (62.5%)
-
Not sure (50.0%)
-
-
Not sure (45.6%)
1543
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
documentation functions documentation
forum Share yours problems, questions, and use on the official forum for this class

Files

File Role Description
Plain text file class_sql_inject.php Class class file
Plain text file class_sql_inject_examples.php Example an examples of some SQL_injections attempt detect by the class
Plain text file LICENCE Lic. copy of GPL licence
Download all files: class_sql_inject.tar.gz class_sql_inject.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products