PHP Classes

PHProtector: Analyse HTTP requests to detect security attacks

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 2,016 All time: 1,950 This week: 40Up
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 is available for providing paid consulting. Contact Hugo Sousa .
Classes: 1 package by
Country: Portugal Portugal
Age: 40
All time rank: 149918 in Portugal Portugal
Week rank: 199 Up5 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (6)  
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 (6)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,016
This week:0
All time:1,950
This week:40Up
User Ratings User Comments (3)
 All time
Utility:64%StarStarStarStar
Consistency:67%StarStarStarStar
Documentation:60%StarStarStarStar
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2481