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


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

namespace PhpParser;

abstract class 
NodeAbstract implements Node
{
    protected 
$attributes;

    
/**
     * Creates a Node.
     *
     * @param array $attributes Array of attributes
     */
    
public function __construct(array $attributes = array()) {
        
$this->attributes $attributes;
    }

    
/**
     * Gets the type of the node.
     *
     * @return string Type of the node
     */
    
public function getType() {
        return 
strtr(substr(rtrim(get_class($this), '_'), 15), '\\''_');
    }

    
/**
     * Gets line the node started in.
     *
     * @return int Line
     */
    
public function getLine() {
        return 
$this->getAttribute('startLine', -1);
    }

    
/**
     * Sets line the node started in.
     *
     * @param int $line Line
     */
    
public function setLine($line) {
        
$this->setAttribute('startLine', (int) $line);
    }

    
/**
     * Gets the doc comment of the node.
     *
     * The doc comment has to be the last comment associated with the node.
     *
     * @return null|Comment\Doc Doc comment object or null
     */
    
public function getDocComment() {
        
$comments $this->getAttribute('comments');
        if (!
$comments) {
            return 
null;
        }

        
$lastComment $comments[count($comments) - 1];
        if (!
$lastComment instanceof Comment\Doc) {
            return 
null;
        }

        return 
$lastComment;
    }

    public function 
setAttribute($key$value) {
        
$this->attributes[$key] = $value;
    }

    public function 
hasAttribute($key) {
        return 
array_key_exists($key$this->attributes);
    }

    public function &
getAttribute($key$default null) {
        if (!
array_key_exists($key$this->attributes)) {
            return 
$default;
        } else {
            return 
$this->attributes[$key];
        }
    }

    public function 
getAttributes() {
        return 
$this->attributes;
    }
}

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