rodolfomatos/teatime

xWAF + extras converted to be used with composer

dev-master / 0.2.x-dev 2019-07-26 15:06 UTC

This package is auto-updated.

Last update: 2024-09-27 02:19:19 UTC


README

Adaptation of xWAF - Web Application Firewall to be used with composer.

Sample Usage

composer require rodolfomatos/teatime:dev-master

Including this project in Mautic

just add in app/autoload.php after:

$loader = require __DIR__.'/../vendor/autoload.php';

the following:

// Web Application Firewall
use rodolfomatos\teatime\cup;
$waf = new cup();
$waf->html_headers();
$waf->start();
//Done, Protection enabled.

Other requisites

  • www-data write access to /var/log/teatime.log
  • 418.php available in html document root