PHP Classes
elePHPant
Icontem

PHProtector: Analyse HTTP requests to detect security attacks

Recommend this page to a friend!
  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 (6 years ago) RSS 2.0 feedStarStarStar 54%Total: 1,981 This week: 3All time: 1,923 This week: 377Up
Version License PHP version Categories
phprotector 0.3.1GNU General Publi...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 <contact>
Classes: 1 package by
Country: Portugal Portugal
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,981
This week:3
All time:1,923
This week:377Up
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:1736