PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-09-06 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 322 All time: 6,666 This week: 1,052Up
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 United Kingdom
Age: 41
All time rank: 128557 in United Kingdom United Kingdom
Week rank: 934 Up34 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:322All time:6,666
 This week:0This week:1,052Up
 User Comments (1)  
2 years ago (Rahul Shambharkar)