ionut/securitylistener

This package is abandoned and no longer maintained. The author suggests using the ionut/sylar package instead.

Sylar it's the Intrusion Detection System(IDS) which you can trust!

v0.8 2015-11-23 21:13 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:38:43 UTC


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

What's the deal with video cameras? If the intruder is quick enough you might as well never find him.

Then why do people bother to install them? The truth hides behind finding common breaches and identifying areas that are a common target for intruders.

Sylar is like a video camera for your website, but better - it only records the requests that look like might harm your website. It doesn't block them nor remove the harmful characters - its only job is to show you areas of the website that are commonly tried to be breached by hackers .

Under the hood, it digests PSR-7 Requests and logs everything into PSR-3 Loggers, it follows BDD and the code is formatted based on the PSR-2 standard.

And it also has a nice dashboard that provides you in real-time with useful statistics about the latest attempted intrusions on your website.

Installation

composer require ionut/sylar

Quickstart

<?php
use Ionut\Sylar\Integrations\Standalone;

$sylar = new Standalone('path/to/your.log');
$sylar->run();

Dashboard

Although not publicly released yet, it's important to state that Sylar will have a nice dashboard, hopefully, at the end of May.

Frameworks

Adapters for ease of use in frameworks haven't been written yet. If time is short please use the standalone example from the Quickstart section, it works no matter what framework you use / don't use.

License

The Sylar library is open-sourced software licensed under the MIT license.