PHP Classes

String PHP Insert: Check if a string of code calls unsafe functions

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
Not enough user ratingsTotal: 330 All time: 7,144 This week: 571Up
Version License PHP version Categories
string-php-insert 1.000GNU General Publi...5PHP 5, Security
Description 

Author

This class can check if a string of code calls unsafe functions.

It takes text string with PHP code and checks if it is calling unsafe PHP functions.

Currently it can test for functions that can execute PHP commands, or that can invoke callback functions, or that disclose sensitive system information, or access the file system, etc..

Innovation Award
PHP Programming Innovation award nominee
September 2013
Number 8
Some applications need to execute external PHP scripts.

This class provides a basic solution to detect if the scripts PHP code may contain potentially harmful code.

Manuel Lemos
Picture of Steve Winnington
  Performance   Level  
Name: Steve Winnington is available for providing paid consulting. Contact Steve Winnington .
Classes: 8 packages by
Country: United Kingdom
Age: 50
All time rank: 123455 in United Kingdom
Week rank: 227 Up14 in United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (1)  
File Role Description
Plain text file StringPhpInsert.php Class Main Class

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:330
This week:0
All time:7,144
This week:571Up
User Comments (1)
good
11 years ago (Rahul Shambharkar)
60%StarStarStarStar