thecodingcompany/owasp-zap-php

Automated security scanning with PHP and OWASP ZAP

v1.0.0 2018-02-05 12:09 UTC

This package is not auto-updated.

Last update: 2024-05-03 21:28:43 UTC


README

#Download and install WASP ZAP 2.7

https://github.com/zaproxy/zaproxy/wiki/Downloads

#Howto

Set API_KEY in Security.php. You find this key in OWASP ZAP

$sec = new theCodingCompany\Security("http://http://www.dvwa.co.uk");
$alerts = $sec->runTests()
            ->getAlerts();

print_r($alerts);  //Array with "Hight", "Low" etc vulnerabilities

Check Example.php