shieldfy/

waf-detector

该软件包最新版本(1.0.0)没有提供许可证信息。

这是一个简单的Web应用程序防火墙检测软件包。它默认支持CloudFlare、Incapsula、ModSecurity和Shieldfy。

1.0.0 2016-11-29 06:13 UTC

This package is not auto-updated.

Last update: 2024-09-23 15:25:16 UTC


README

这是一个简单的Web应用程序防火墙检测软件包。它默认支持CloudFlare、Incapsula、ModSecurity和Shieldfy。

Packagist VersionEye Dependencies Scrutinizer Code Quality Code Climate License

目录

使用

使用非常简单直接

$firewalls = [
    new \Shieldfy\Firewall\CloudFlare(),
    new \Shieldfy\Firewall\Incapsula(),
    new \Shieldfy\Firewall\ModSecurity(),
    new \Shieldfy\Firewall\Shieldfy(),
];

$detector = new \Shieldfy\Detector(... $firewalls);

foreach ( $detector->detect('http://www.example.com') as $firewall => $status ) {
    // do something, perhaps displaying the status ?
}

在命令行中

# php bin/waf-detector.php http://example.org

安装

通过composer安装软件包

composer require shieldfy/waf-detector

变更日志

请参阅变更日志以了解项目的完整历史。

支持

以下支持渠道随时可用

贡献 & 协议

感谢您考虑为此项目做出贡献!贡献指南可在CONTRIBUTING.md中找到。

欢迎提交错误报告、功能请求和拉取请求。

安全漏洞

如果您在此项目中发现安全漏洞,请发送电子邮件至security@shieldfy.com。所有安全漏洞都将得到及时处理。

许可证

本软件在MIT许可证下发布。

(c) 2016 Shieldfy,部分权利保留。