shell bypass 403

UnknownSec Shell

: /home/bouloter/infix/app/Http/Middleware/ [ drwxr-xr-x ]

name : XAuthorizationHeader.php
<?php

namespace App\Http\Middleware;

use Closure;

class XAuthorizationHeader
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next) {
        // check if we have an X-Authorization header present
        if($auth = $request->header('X-Authorization')) {
            $request->headers->set('Authorization', 'Bearer '. $auth);
        }
        return $next($request);
    }
}

© 2025 UnknownSec
afwwrfwafr45458465
Password