!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/main_file/vendor/mtdowling/jmespath.php/src/   drwxrwxr-x
Free 12.94 GB of 57.97 GB (22.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     AstRuntime.php (1.43 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace JmesPath;

/**
 * Uses an external tree visitor to interpret an AST.
 */
class AstRuntime
{
    private 
$parser;
    private 
$interpreter;
    private 
$cache = [];
    private 
$cachedCount 0;

    public function 
__construct(
        
Parser $parser null,
        callable 
$fnDispatcher null
    
) {
        
$fnDispatcher $fnDispatcher ?: FnDispatcher::getInstance();
        
$this->interpreter = new TreeInterpreter($fnDispatcher);
        
$this->parser $parser ?: new Parser();
    }

    
/**
     * Returns data from the provided input that matches a given JMESPath
     * expression.
     *
     * @param string $expression JMESPath expression to evaluate
     * @param mixed  $data       Data to search. This data should be data that
     *                           is similar to data returned from json_decode
     *                           using associative arrays rather than objects.
     *
     * @return mixed Returns the matching data or null
     */
    
public function __invoke($expression$data)
    {
        if (!isset(
$this->cache[$expression])) {
            
// Clear the AST cache when it hits 1024 entries
            
if (++$this->cachedCount 1024) {
                
$this->cache = [];
                
$this->cachedCount 0;
            }
            
$this->cache[$expression] = $this->parser->parse($expression);
        }

        return 
$this->interpreter->visit($this->cache[$expression], $data);
    }
}

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