๐Ÿ“ฆ shieldfy / waf-detector

small script to detect web application firewall on any website

โ˜… 43 stars โ‘‚ 18 forks ๐Ÿ‘ 43 watching โš–๏ธ MIT License
๐Ÿ“ฅ Clone https://github.com/shieldfy/waf-detector.git
HTTPS git clone https://github.com/shieldfy/waf-detector.git
SSH git clone git@github.com:shieldfy/waf-detector.git
CLI gh repo clone shieldfy/waf-detector
Eslam Salem Eslam Salem Merge pull request #5 from shieldfy/analysis-zdnr1J 9b6c760 9 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ bin
๐Ÿ“ src
๐Ÿ“„ .codeclimate.yml
๐Ÿ“„ .editorconfig
๐Ÿ“„ .gitattributes
๐Ÿ“„ .gitignore
๐Ÿ“„ .scrutinizer.yml
๐Ÿ“„ .styleci.yml
๐Ÿ“„ CHANGELOG.md
๐Ÿ“„ CODE_OF_CONDUCT.md
๐Ÿ“„ composer.json
๐Ÿ“„ CONTRIBUTING.md
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

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.

Packagist VersionEye Dependencies Scrutinizer Code Quality Code Climate License

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.