⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.140
Server IP:
68.65.123.197
Server:
Linux premium49.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
smarbgfw
/
www
/
core
/
app
/
Http
/
Middleware
/
View File Name :
VerifyCsrfMiddleware.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Session\TokenMismatchException; use Illuminate\Support\Facades\Config; class VerifyCsrfMiddleware extends \Illuminate\Foundation\Http\Middleware\VerifyCsrfToken { public function handle($request, Closure $next) { if ($this->isReading($request) || $this->excludedRoutes($request) || $this->tokensMatch($request) || $this->runningUnitTests()) { return $this->addCookieToResponse($request, $next($request)); } throw new TokenMismatchException; } protected function excludedRoutes($request) { $routes = Config::get('indipay.remove_csrf_check'); foreach($routes as $route) if ($request->is($route)) return true; return false; } }