Login   Register  
PHP Classes
elePHPant
Icontem

PHProtector: Analyse HTTP requests to detect security attacks

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-10-25 (4 years ago) RSS 2.0 feedStarStarStar 54%Total: 1,898 This week: 1All time: 1,947 This week: 1,398Up
Version License PHP version Categories  
phprotector 0.3.1GNU General Public Lice...5HTTP, PHP 5, Logging, Security
Description Author  

This package can be used to analyse HTTP requests to detect security attacks.

The main class analyzes the HTTP GET and POST values to determine if contains words that can be used to perform SQL injection attacks, mainly to MySQL applications.

It returns the information that based on a score of the word analysis it may be a security attack, so the applications avoid handling the request.

Another class can generate log files in XML format with more details about the eventual attack.

Innovation Award  
PHP Programming Innovation award nominee
April 2010
Number 5


Prize: One book of choice by Apress
SQL injection security attacks consist in passing parameters to applications in such way that makes them execute database queries that may alter the application behavior in a way that can be exploited by the attacker.

This class implements one way to detect and avoid eventual SQL injection attacks by analyzing HTTP request parameters to determine if they contain sequences intended for performing this type of attacks.

Manuel Lemos
Picture of Hugo Sousa
Name: Hugo Sousa is available for providing paid consulting. Contact Hugo Sousa .
Classes: 1 package by
Country: Portugal Portugal
Age: 30
All time rank: 143019 in Portugal Portugal
Week rank: 1077 Up21 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagephprotector (4 files)
Accessible without login HTML file index.html Data simple example of usage of the library
Accessible without login Plain text file yourpage.php Example simple example of usage of the library

  Files folder image Files  /  phprotector  
File Role Description
  Accessible without login Plain text file .log_style.xsl Data XML document transformation and presentation file for logs
  Plain text file LogAtack.php Class Class that write log files in XML
  Plain text file PhProtector.php Class Main class
  Accessible without login Plain text file README.txt Doc. Usage and documentation

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,898All time:1,947
 This week:1This week:1,398Up
User Ratings User Comments (3)  
 All time
Utility:65%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:65%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1356