@php use Illuminate\Support\Facades\Cache; use Carbon\Carbon; $ip = request()->ip(); $blacklistKey = 'ip_blacklist_' . $ip; $timestampsKey = 'ip_throttle_' . $ip . '_timestamps'; $blacklisted = Cache::get($blacklistKey); $timestamps = Cache::get($timestampsKey, []); $restrictionLiftTime = null; if ($blacklisted && count($timestamps) > 0) { $lastTimestamp = max($timestamps); $restrictionLiftTime = Carbon::createFromTimestamp($lastTimestamp) ->addSeconds(config('simple-firewall.blacklist_duration')) ->diffForHumans(); } else { $restrictionLiftTime = 'No restrictions'; } $customizerHidden = 'customizer-hide'; $pageConfigs = ['myLayout' => 'blank']; @endphp @extends('layouts/layoutMaster' , ['body_class' => 'authentication']) @section('title', 'Access Restricted') @section('vendor-style') @endsection @section('page-style') @endsection @section('vendor-script') @endsection @section('page-script') {{-- --}} @endsection @section('content') @include('_partials.auth-section')
Access from your IP address has been temporarily restricted
Too many requests from your IP address have triggered the site's automated defenses.
This website uses a security service to monitor requests to check for activity that is malicious, abnormal or unexpected.
Please contact site admin to request your IP If you're the website administrator, please address is unblocked. review this quide.
Restrictions Lifted: {{ $restrictionLiftTime }}
Your IP Address: {{ request()->ip() }}
Time: {{ date('Y-m-d H:i:s') }}
{{ $exception->getMessage() }}
Back to Homepage {{--