Adaptation of xWAF - Web Application Firewall to be used with composer.
composer require rodolfomatos/teatime:dev-master
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.
- www-data write access to /var/log/teatime.log
- 418.php available in html document root