Saturday, March 15, 2014

How to use PhpSecInfo to check php configuration vulnerability


-----
How to use PhpSecInfo to check php configuration vulnerability

INTRODUCTION

PhpSecInfo provides an equivalent to the phpinfo() function that reports security information about the PHP environment, and offers suggestions for improvement. It is not a replacement for secure development techniques, and does not do any kind of code or app auditing, but can be a useful tool in a multilayered security approach.

STEPS

1) Download the phpsecinfo.zip here.
2) Extract the folder phpsecinfo-20070406 and copy it into htdocs folder.
3) While Apache server is running, browse http://localhost/phpsecinfo 


3.1) Some of the reported items include:

For you to try: Click the links above to learn more about them.

REFERENCES:

2) http://www.madirish.net/?article=229 (hardening php.ini)
6) https://github.com/psecio/iniscan (command line ini scanner)

No comments:

Post a Comment