WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

Check website security with PHP

deyzeion

New member

0

0%

Status

Offline

Posts

36

Likes

0

Rep

0

Bits

190

3

Months of Service

0%
The first thing we need to do to ensure our application is secure is to make sure we check all the data entered by the visitor and act if it is not data expected by the application. The next step is to check if our application is secure, but how do we do that?

There is a project called phpsecinfo that checks the website for vulnerabilities in the phpinfo format. To use it, simply download it from the project's website, unzip it in a folder on our server (accessible from the web), and call the script from the browser.

We can also create our own script (assuming we have extracted it into the PhpSecInfo folder):

```php
<?php
require_once("PhpSecInfo/PhpSecInfo.php");
phpsecinfo();
?>
```

It is important to be very careful not to make it accessible to anyone (including search engine robots) as we would be exposing our vulnerabilities to the public.
 

249

6,622

6,642

Top