Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.15.10.50
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-websocket /
vendor /
psy /
psysh /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
CodeCleaner
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Command
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Exception
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
ExecutionLoop
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Formatter
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Input
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Output
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Readline
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Reflection
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Sudo
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
TabCompletion
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
Util
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
VarDumper
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
VersionUpdater
[ DIR ]
drwxr-xr-x
2018-10-13 15:16
CodeCleaner.php
10.34
KB
-rw-r--r--
2018-10-13 15:16
ConfigPaths.php
6.31
KB
-rw-r--r--
2018-10-13 15:16
Configuration.php
33.93
KB
-rw-r--r--
2018-10-13 15:16
ConsoleColorFactory.php
2.26
KB
-rw-r--r--
2018-10-13 15:16
Context.php
7.75
KB
-rw-r--r--
2018-10-13 15:16
ContextAware.php
567
B
-rw-r--r--
2018-10-13 15:16
ExecutionClosure.php
3
KB
-rw-r--r--
2018-10-13 15:16
ExecutionLoop.php
1.68
KB
-rw-r--r--
2018-10-13 15:16
ExecutionLoopClosure.php
3.44
KB
-rw-r--r--
2018-10-13 15:16
ParserFactory.php
2.28
KB
-rw-r--r--
2018-10-13 15:16
Shell.php
36.85
KB
-rw-r--r--
2018-10-13 15:16
Sudo.php
4.04
KB
-rw-r--r--
2018-10-13 15:16
functions.php
12.08
KB
-rw-r--r--
2018-10-13 15:16
Save
Rename
<?php /* * This file is part of Psy Shell. * * (c) 2012-2018 Justin Hileman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Psy; use PhpParser\Lexer; use PhpParser\Parser; use PhpParser\ParserFactory as OriginalParserFactory; /** * Parser factory to abstract over PHP parser library versions. */ class ParserFactory { const ONLY_PHP5 = 'ONLY_PHP5'; const ONLY_PHP7 = 'ONLY_PHP7'; const PREFER_PHP5 = 'PREFER_PHP5'; const PREFER_PHP7 = 'PREFER_PHP7'; /** * Possible kinds of parsers for the factory, from PHP parser library. * * @return array */ public static function getPossibleKinds() { return ['ONLY_PHP5', 'ONLY_PHP7', 'PREFER_PHP5', 'PREFER_PHP7']; } /** * Is this parser factory supports kinds? * * PHP parser < 2.0 doesn't support kinds, >= 2.0 — does. * * @return bool */ public function hasKindsSupport() { return \class_exists('PhpParser\ParserFactory'); } /** * Default kind (if supported, based on current interpreter's version). * * @return string|null */ public function getDefaultKind() { if ($this->hasKindsSupport()) { return \version_compare(PHP_VERSION, '7.0', '>=') ? static::ONLY_PHP7 : static::ONLY_PHP5; } } /** * New parser instance with given kind. * * @param string|null $kind One of class constants (only for PHP parser 2.0 and above) * * @return Parser */ public function createParser($kind = null) { if ($this->hasKindsSupport()) { $originalFactory = new OriginalParserFactory(); $kind = $kind ?: $this->getDefaultKind(); if (!\in_array($kind, static::getPossibleKinds())) { throw new \InvalidArgumentException('Unknown parser kind'); } $parser = $originalFactory->create(\constant('PhpParser\ParserFactory::' . $kind)); } else { if ($kind !== null) { throw new \InvalidArgumentException('Install PHP Parser v2.x to specify parser kind'); } $parser = new Parser(new Lexer()); } return $parser; } }