Tools

waf-detector – small script to detect web application firewall on any website

waf detector

waf-detector –  small script to detect web application firewall on any website

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.

Usage

Usage is pretty easy and straightforward:

$firewalls = [
    new ShieldfyFirewallCloudFlare(),
    new ShieldfyFirewallIncapsula(),
    new ShieldfyFirewallModSecurity(),
    new ShieldfyFirewallShieldfy(),
];

$detector = new ShieldfyDetector(... $firewalls);

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

At the Command Line

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

Installation

Install the package via composer:

composer require shieldfy/waf-detector

DOWNLOAD

You Might Also Like

Leave a Reply