shieldfy / waf-detector
This is a simple package for Web Application Firewall Detection. It supports CloudFlare, Incapsula, ModSecurity, and Shieldfy out of the box.
Installs: 134
Dependents: 0
Suggesters: 0
Security: 0
Stars: 41
Watchers: 12
Forks: 18
Open Issues: 1
Requires
- php: >=5.6.0
This package is not auto-updated.
Last update: 2025-02-24 17:42:40 UTC
README
This is a simple package for Web Application Firewall Detection. It supports CloudFlare, Incapsula, ModSecurity, and Shieldfy out of the box.
Table Of Contents
Usage
Usage is pretty easy and straightforward:
$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 ? }
At the Command Line
# php bin/waf-detector.php http://example.org
Installation
Install the package via composer:
composer require shieldfy/waf-detector
Changelog
Refer to the Changelog for a full history of the project.
Support
The following support channels are available at your fingertips:
Contributing & Protocols
Thank you for considering contributing to this project! The contribution guide can be found in CONTRIBUTING.md.
Bug reports, feature requests, and pull requests are very welcome.
Security Vulnerabilities
If you discover a security vulnerability within this project, please send an e-mail to security@shieldfy.com. All security vulnerabilities will be promptly addressed.
License
This software is released under MIT LICENSE.
(c) 2016 Shieldfy, Some rights reserved.