Download the PHP package noobsec/antiscanscanclub-laravel without Composer
On this page you can find all versions of the php package noobsec/antiscanscanclub-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download noobsec/antiscanscanclub-laravel
More information about noobsec/antiscanscanclub-laravel
Files in noobsec/antiscanscanclub-laravel
Package antiscanscanclub-laravel
Short Description A Laravel Package to Block Automated Scanners from Scanning your Site
License MIT
Homepage https://github.com/noobsec/AntiScanScanClub-laravel
Informations about the package antiscanscanclub-laravel
AntiScanScanClub
A Laravel Package to Block Automated Scanners from Scanning your Site.
- Installation
- Configuration
- Usage
- Changelog
- Contributing
- Security
- Credits
- License
- Version
Installation
- Please keep up-to-date this package to latest commit
Laravel 5+
Setup
-
Publish the config file
- Create middleware
Configuration
- Add
ASSC_LIST
in .env file:
NOTE: Blacklists file will be stored in storage/app/
path
-
Edit the AntiScanScanMiddleware file (app/Http/Middleware/AntiScanScanMiddleware.php), approx like this:
- Add middleware to global HTTP middleware stack, edit Kernel file (app/Http/Kernel.php):
Usage
-
Init AntiScanScanClub source
-
Check whether the client IP has been blocked or not
-
Add client IP to blacklists files
-
Prevention of illegal input based on filter rules
- Prevention of access to credentials and/ important files/path
e.g: wp-admin.php
, .git/
, backups.tar.gz
, www.sql
_(see many more at filter_files.txt)_
-
Remove client IP from blacklists file
-
Purge and/ clean all client IPs from blacklists file
-
Whitelisting one files/path from filterFile() rejection
-
Whitelisting all public files recursively from filterFile() rejection
-
Whitelisting uri of all registered routes from filterFile() rejection
-
Add file and/ path to filterFile() rejection
- Restoring filterFile() rules to default
NOTE
- If you call
filterInput()
and/filterFile()
method, you no longer need to calladdToBlacklisted()
method. - Or if you want to call
whitelistFile()
,whitelistPublicFiles()
and/whitelistAllRoutes()
method, make sure this is called beforefilterFile()
and/searchIp()
method (or comment these methods, please check middleware).
Changelog
Please see the CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING.md for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- noobSecurity
- dwisiswant0
- enygma
- maurosoria
- All Contributors
Supporting Materials
License
license. Please see the LICENSE file for more information.
Version
Current version is 2.0.3 and still development.