Mr.Combet Webshell
Your IP :
18.222.80.161
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
home
/
jaibalajigroup
/
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; } }