PHP Classes

PHP Secx: Search request values for suspicious text keywords

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 284 All time: 7,561 This week: 146Up
Version License PHP version Categories
php-security-xss-sql 1The PHP License5PHP 5, Validation, Security
Description 

Author

This is a simple class that can search request values for suspicious text keywords.

It can traverse the request values arrays and checks if they contain values that sometimes are used for security attacks like SQL injection and cross-site scripting.

The class can check either $_REQUEST, $_POST or $_GET values. If suspicious values are found in these request values, the class exits.

Picture of Kaz?m Ölmez
  Performance   Level  
Name: Kaz?m Ölmez <contact>
Classes: 1 package by
Country: Turkey Turkey
Age: 31
All time rank: 387167 in Turkey Turkey
Week rank: 295 Up13 in Turkey Turkey Up

Example

<?php
require_once('php_secx.php');
$secx = new Php_secx();
$secx->full_secx();
?>


  Files folder image Files  
File Role Description
Accessible without login Plain text file full_test.php Example Example script
Accessible without login Plain text file get_test.php Example Example script
Accessible without login Plain text file LICENSE Data Auxiliary data
Plain text file php_secx.php Class Class source
Accessible without login Plain text file post_test.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:284
This week:0
All time:7,561
This week:146Up
User Comments (1)
it's working
8 years ago (alexandru traian)
70%StarStarStarStar