!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/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/   drwxr-xr-x
Free 13.25 GB of 57.97 GB (22.85%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     DescribedAs.php (1.81 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Hamcrest\Core;

/*
 Copyright (c) 2009 hamcrest.org
 */
use Hamcrest\BaseMatcher;
use 
Hamcrest\Description;
use 
Hamcrest\Matcher;

/**
 * Provides a custom description to another matcher.
 */
class DescribedAs extends BaseMatcher
{

    private 
$_descriptionTemplate;
    private 
$_matcher;
    private 
$_values;

    const 
ARG_PATTERN '/%([0-9]+)/';

    public function 
__construct($descriptionTemplateMatcher $matcher, array $values)
    {
        
$this->_descriptionTemplate $descriptionTemplate;
        
$this->_matcher $matcher;
        
$this->_values $values;
    }

    public function 
matches($item)
    {
        return 
$this->_matcher->matches($item);
    }

    public function 
describeTo(Description $description)
    {
        
$textStart 0;
        while (
preg_match(self::ARG_PATTERN$this->_descriptionTemplate$matchesPREG_OFFSET_CAPTURE$textStart)) {
            
$text $matches[0][0];
            
$index $matches[1][0];
            
$offset $matches[0][1];

            
$description->appendText(substr($this->_descriptionTemplate$textStart$offset $textStart));
            
$description->appendValue($this->_values[$index]);

            
$textStart $offset strlen($text);
        }

        if (
$textStart strlen($this->_descriptionTemplate)) {
            
$description->appendText(substr($this->_descriptionTemplate$textStart));
        }
    }

    
/**
     * Wraps an existing matcher and overrides the description when it fails.
     *
     * @factory ...
     */
    
public static function describedAs(/* $description, Hamcrest\Matcher $matcher, $values... */)
    {
        
$args func_get_args();
        
$description array_shift($args);
        
$matcher array_shift($args);
        
$values $args;

        return new 
self($description$matcher$values);
    }
}

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