https://github.com/shieldfy/waf-detector
small script to detect web application firewall on any website
https://github.com/shieldfy/waf-detector
Last synced: 3 months ago
JSON representation
small script to detect web application firewall on any website
- Host: GitHub
- URL: https://github.com/shieldfy/waf-detector
- Owner: shieldfy
- License: mit
- Created: 2016-02-09T10:19:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-13T14:22:42.000Z (about 9 years ago)
- Last Synced: 2025-03-24T19:05:54.413Z (10 months ago)
- Language: PHP
- Size: 34.2 KB
- Stars: 42
- Watchers: 11
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# SHIELDFY Web Application Firewall Detector
This is a simple package for Web Application Firewall Detection. It supports CloudFlare, Incapsula, ModSecurity, and Shieldfy out of the box.
[](https://packagist.org/packages/shieldfy/waf-detector)
[](https://www.versioneye.com/php/shieldfy:waf-detector/)
[](https://scrutinizer-ci.com/g/shieldfy/waf-detector/)
[](https://codeclimate.com/github/shieldfy/waf-detector)
[](https://github.com/shieldfy/waf-detector/blob/develop/LICENSE)
## Table Of Contents
- [Usage](#usage)
- [Installation](#installation)
- [Changelog](#changelog)
- [Support](#support)
- [Contributing & Protocols](#contributing--protocols)
- [Security Vulnerabilities](#security-vulnerabilities)
- [License](#license)
## Usage
Usage is pretty easy and straightforward:
```php
$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:
```shell
composer require shieldfy/waf-detector
```
## Changelog
Refer to the [Changelog](CHANGELOG.md) for a full history of the project.
## Support
The following support channels are available at your fingertips:
- [Help on Email](mailto:team@shieldfy.com)
## Contributing & Protocols
Thank you for considering contributing to this project! The contribution guide can be found in [CONTRIBUTING.md](CONTRIBUTING.md).
Bug reports, feature requests, and pull requests are very welcome.
- [Versioning](CONTRIBUTING.md#versioning)
- [Pull Requests](CONTRIBUTING.md#pull-requests)
- [Coding Standards](CONTRIBUTING.md#coding-standards)
## Security Vulnerabilities
If you discover a security vulnerability within this project, please send an e-mail to [security@shieldfy.com](security@shieldfy.com). All security vulnerabilities will be promptly addressed.
## License
This software is released under [MIT LICENSE](LICENSE).
(c) 2016 Shieldfy, Some rights reserved.