PHP Classes

PHProtector: Analyse HTTP requests to detect security attacks

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (5 years ago) RSS 2.0 feedStarStarStar 54%Total: 1,937 This week: 2All time: 1,934 This week: 682Up
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: 31
All time rank: 145020 in Portugal Portugal
Week rank: 618 Up11 in Portugal Portugal Up
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,937All time:1,934
 This week:2This week:682Up
User Ratings User Comments (3)  
 All time