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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/dokan/script/vendor/laravel/framework/src/Illuminate/Routing/   drwxrwxrwx
Free 13.19 GB of 57.97 GB (22.75%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ImplicitRouteBinding.php (2.33 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Routing;

use 
Illuminate\Contracts\Routing\UrlRoutable;
use 
Illuminate\Database\Eloquent\ModelNotFoundException;
use 
Illuminate\Support\Reflector;
use 
Illuminate\Support\Str;

class 
ImplicitRouteBinding
{
    
/**
     * Resolve the implicit route bindings for the given route.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  \Illuminate\Routing\Route  $route
     * @return void
     *
     * @throws \Illuminate\Database\Eloquent\ModelNotFoundException
     */
    
public static function resolveForRoute($container$route)
    {
        
$parameters $route->parameters();

        foreach (
$route->signatureParameters(UrlRoutable::class) as $parameter) {
            if (! 
$parameterName = static::getParameterName($parameter->getName(), $parameters)) {
                continue;
            }

            
$parameterValue $parameters[$parameterName];

            if (
$parameterValue instanceof UrlRoutable) {
                continue;
            }

            
$instance $container->make(Reflector::getParameterClassName($parameter));

            
$parent $route->parentOfParameter($parameterName);

            if (
$parent instanceof UrlRoutable && in_array($parameterNamearray_keys($route->bindingFields()))) {
                if (! 
$model $parent->resolveChildRouteBinding(
                    
$parameterName$parameterValue$route->bindingFieldFor($parameterName)
                )) {
                    throw (new 
ModelNotFoundException)->setModel(get_class($instance), [$parameterValue]);
                }
            } elseif (! 
$model $instance->resolveRouteBinding($parameterValue$route->bindingFieldFor($parameterName))) {
                throw (new 
ModelNotFoundException)->setModel(get_class($instance), [$parameterValue]);
            }

            
$route->setParameter($parameterName$model);
        }
    }

    
/**
     * Return the parameter name if it exists in the given parameters.
     *
     * @param  string  $name
     * @param  array  $parameters
     * @return string|null
     */
    
protected static function getParameterName($name$parameters)
    {
        if (
array_key_exists($name$parameters)) {
            return 
$name;
        }

        if (
array_key_exists($snakedName Str::snake($name), $parameters)) {
            return 
$snakedName;
        }
    }
}

:: 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.0058 ]--