Index of /plugins/SecurityInfo/
Name Last modified Size Description
Parent Directory 25-Jun-2016 21:03 -
PhpSecInfo 12-Oct-2014 09:08 -
templates 18-Oct-2011 08:27 -
Controller.php 12-Oct-2014 09:08 4k
LICENSE 21-Jan-2013 02:28 4k
SecurityInfo.php 12-Oct-2014 09:08 4k
error_log 25-Jul-2017 14:59 8k
*Now on GitHub*
_see LICENSE for copyright and license info_
Mailing List for bug reports, feedback, etc:
### WHAT IS PHPSECINFO?
PHPSecInfo is a PHP environment security auditing tool modeled after the
phpsecinfo() function. From a single function call, PHPSecInfo runs a
series of tests on your PHP environment to identify potential security
issues and offer suggestions. It can be useful as part of a multilayered
#### WHAT IS PHPSECINFO NOT?
* It is not a replacement for secure coding practices
* It does not audit PHP code
* It is not comprehensive test for either your hosting environment
or your web application
* It is not the "final word." PHPSecInfo identifies *potential* problems
and offers suggestions for improvement. Your environment may _require_
certain settings that trigger cautions or warnings.
### HOW DO I USE PHPSECINFO?
The simplest way:
* Uncompress and upload the contents of the archive to your web server's
* Open a browser and view the index.php file where you've uploaded the files
(probably something like http://www.yourdomain.com/phpsecinfo/index.php)
### WHAT DO I DO IF I GET A NOTICE OR WARNING?
Read the explanation of the result carefully. Research the issue on-line
-- resources like the php.net official docs and the PHP Security Guide are
very useful. Investigate why your environment is set up in such a way. If
there's not a compelling reason to keep it as-is, you should probably
A by no means comprehensive list of resources to get your started:
### HOW CAN I CUSTOMIZE THE OUTPUT OF PHPSECINFO?
PHPSecInfo is intended to be used as a self-contained tool. However, you
can obtain the test results in an array and then present this data in your
Proudly Served by LiteSpeed Web Server at stats.vcoss.org.au Port 80
// instantiate the class
$psi = new PhpSecInfo();
// load and run all tests
// grab the results as a multidimensional array
$results = $psi->getResultsAsArray();
### HOW CAN I OFFER FEEDBACK, REPORT BUGS, COMPLAIN, ETC.?
The best way is to subscribe to and post on the PHPSecInfo Mailing List:
"; echo print_r($results, true); echo "";
// grab the standard results output as a string
$html = $psi->getOutput();
// send it to the browser