Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Latest Stable Version Total Downloads License composer.lock Build Status

brutalforce

composer require rmanara/brutalforce

Brute-Force method is used from many hackers but the brutalforce will help you void this problem by check the client IP and will count how many request in less than a 1 seconds, it will set a session and will reset after one minute

It is very simple setup and can be used in any frameworks.

very simple setup

<?php
//
require_once './vendor/autoload.php';
//
use BrutalForce\Initiate
//
$init = new Initiate();
//display on the footer after the jQuery url been loaded
//if rate "MEDIUM" as it is normall
//if rate "MEDIUM HIGHT" as it is normall
//if rate "LOW" it's is too quickly
$rate = $init->Rate();
//this point you can stop the request
####### here is another way to use
$predict = $init->predict();
//if is below 0.5 the request is too quickly and it can be a robot 
// over 0.5 then it's fine.

About

No description, website, or topics provided.

Resources

Packages

No packages published

Languages