WhatWaf is an advanced firewall detection tool who's goal is to give you the idea of "There's a WAF?". WhatWaf works by detecting a firewall on a web application.
This repo is forked from https://github.com/Ekultek/WhatWaf and has been modified to fit my uses.
Ensure you have Python installed and preferably inside a virtual environment.
- Install the required packages:
pip install git+https://github.com/tommylge/whatwaf
import whatwaf
detected_protections = whatwaf.detection_main(response)
<response>
: Scrapy response object (must include body attribute).
Example return:
[
'cloudflare',
'akamai',
'perimeterx',
]