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 : 216.73.216.117
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
flex /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Command
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Configurator
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Event
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Unpack
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Update
[ DIR ]
drwxrwxr-x
2022-08-07 09:39
Cache.php
5.28
KB
-rw-rw-r--
2022-08-07 09:39
ComposerRepository.php
1.49
KB
-rw-rw-r--
2022-08-07 09:39
Configurator.php
3.19
KB
-rw-rw-r--
2022-08-07 09:39
CurlDownloader.php
8.5
KB
-rw-rw-r--
2022-08-07 09:39
Downloader.php
18.51
KB
-rw-rw-r--
2022-08-07 09:39
Flex.php
43.66
KB
-rw-rw-r--
2022-08-07 09:39
GithubApi.php
6.04
KB
-rw-rw-r--
2022-08-07 09:39
InformationOperation.php
1.86
KB
-rw-rw-r--
2022-08-07 09:39
Lock.php
1.83
KB
-rw-rw-r--
2022-08-07 09:39
Options.php
2.29
KB
-rw-rw-r--
2022-08-07 09:39
PackageFilter.php
5.12
KB
-rw-rw-r--
2022-08-07 09:39
PackageJsonSynchronizer.php
8.98
KB
-rw-rw-r--
2022-08-07 09:39
PackageResolver.php
5.17
KB
-rw-rw-r--
2022-08-07 09:39
ParallelDownloader.php
9.29
KB
-rw-rw-r--
2022-08-07 09:39
Path.php
966
B
-rw-rw-r--
2022-08-07 09:39
Recipe.php
2.9
KB
-rw-rw-r--
2022-08-07 09:39
Response.php
1.95
KB
-rw-rw-r--
2022-08-07 09:39
ScriptExecutor.php
4.74
KB
-rw-rw-r--
2022-08-07 09:39
SymfonyBundle.php
3.67
KB
-rw-rw-r--
2022-08-07 09:39
TruncatedComposerRepository.php
1.51
KB
-rw-rw-r--
2022-08-07 09:39
Unpacker.php
8.61
KB
-rw-rw-r--
2022-08-07 09:39
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Flex; use Composer\Composer; use Composer\Package\PackageInterface; /** * @author Fabien Potencier <fabien@symfony.com> */ class SymfonyBundle { private $package; private $operation; private $vendorDir; public function __construct(Composer $composer, PackageInterface $package, string $operation) { $this->package = $package; $this->operation = $operation; $this->vendorDir = rtrim($composer->getConfig()->get('vendor-dir'), '/'); } public function getClassNames(): array { $uninstall = 'uninstall' === $this->operation; $classes = []; $autoload = $this->package->getAutoload(); $isSyliusPlugin = 'sylius-plugin' === $this->package->getType(); foreach (['psr-4' => true, 'psr-0' => false] as $psr => $isPsr4) { if (!isset($autoload[$psr])) { continue; } foreach ($autoload[$psr] as $namespace => $paths) { if (!\is_array($paths)) { $paths = [$paths]; } foreach ($paths as $path) { foreach ($this->extractClassNames($namespace, $isSyliusPlugin) as $class) { // we only check class existence on install as we do have the code available // in contrast to uninstall operation if (!$uninstall && !$this->isBundleClass($class, $path, $isPsr4)) { continue; } $classes[] = $class; } } } } return $classes; } private function extractClassNames(string $namespace, bool $isSyliusPlugin): array { $namespace = trim($namespace, '\\'); $class = $namespace.'\\'; $parts = explode('\\', $namespace); $suffix = $parts[\count($parts) - 1]; $endOfWord = substr($suffix, -6); if ($isSyliusPlugin) { if ('Bundle' !== $endOfWord && 'Plugin' !== $endOfWord) { $suffix .= 'Bundle'; } } elseif ('Bundle' !== $endOfWord) { $suffix .= 'Bundle'; } $classes = [$class.$suffix]; $acc = ''; foreach (\array_slice($parts, 0, -1) as $part) { if ('Bundle' === $part || ($isSyliusPlugin && 'Plugin' === $part)) { continue; } $classes[] = $class.$part.$suffix; $acc .= $part; $classes[] = $class.$acc.$suffix; } return array_unique($classes); } private function isBundleClass(string $class, string $path, bool $isPsr4): bool { $classPath = ($this->vendorDir ? $this->vendorDir.'/' : '').$this->package->getPrettyName().'/'.$path.'/'; $parts = explode('\\', $class); $class = $parts[\count($parts) - 1]; if (!$isPsr4) { $classPath .= str_replace('\\', '', implode('/', \array_slice($parts, 0, -1))).'/'; } $classPath .= str_replace('\\', '/', $class).'.php'; if (!file_exists($classPath)) { return false; } // heuristic that should work in almost all cases $classContents = file_get_contents($classPath); return (false !== strpos($classContents, 'Symfony\Component\HttpKernel\Bundle\Bundle')) || (false !== strpos($classContents, 'Symfony\Component\HttpKernel\Bundle\AbstractBundle')); } }