Download the PHP package seanhayes-com/laravel5-probe-detection without Composer
On this page you can find all versions of the php package seanhayes-com/laravel5-probe-detection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download seanhayes-com/laravel5-probe-detection
More information about seanhayes-com/laravel5-probe-detection
Files in seanhayes-com/laravel5-probe-detection
Package laravel5-probe-detection
Short Description A Laravel 5 package to log known website probing attacks.
License MIT
Homepage https://github.com/seanhayes-com/laravel5-probe-detection
Informations about the package laravel5-probe-detection
Laravel 5 Probe Detection
Log and ban known website probing attacks and eliminate wasted site resources
Minimum Requirements
Laravel 5.1 and PHP 5.5.9
Installation
You can install the package via composer:
Step 2: Configuration
Add the following to your config/app.php
in the providers
array:
You should also add the following to the aliases
array:
You can then publish the migration with:
After the migration has been published you can create the prob_log
table by running the migrations:
You can optionally publish the config file with:
Configuration
Change settings in config/probe.php
Add routes to handle certain common attack vectors or URIs added to watch_uris in config/probe.php
Usage
Include the path in your Controller or AppServiceProvider
And the call to process the request in your method
Troubleshooting
If you experience file cache errors, you can change your CACHE_DRIVER to array in your .env file.