thecodingcompany/owasp-zap-php

使用PHP和OWASP ZAP进行自动安全扫描

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

This package is not auto-updated.

Last update: 2024-09-20 23:23:52 UTC


README

## 下载并安装WASP ZAP 2.7

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

## 如何使用

在Security.php中设置API_KEY。您可以在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

查看Example.php