Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
vendor /
symfony /
flex /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Command
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Configurator
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Event
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Unpack
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Update
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
Configurator.php
4.25
KB
-rwxrwxr-x
2025-11-16 09:38
Downloader.php
18.14
KB
-rwxrwxr-x
2025-11-16 09:38
Flex.php
33.68
KB
-rwxrwxr-x
2025-11-16 09:38
GithubApi.php
5.89
KB
-rwxrwxr-x
2025-11-16 09:38
InformationOperation.php
1.81
KB
-rwxrwxr-x
2025-11-16 09:38
Lock.php
1.83
KB
-rwxrwxr-x
2025-11-16 09:38
Options.php
4.2
KB
-rwxrwxr-x
2025-11-16 09:38
PackageFilter.php
5.71
KB
-rwxrwxr-x
2025-11-16 09:38
PackageJsonSynchronizer.php
15.59
KB
-rwxrwxr-x
2025-11-16 09:38
PackageResolver.php
5.79
KB
-rwxrwxr-x
2025-11-16 09:38
Path.php
966
B
-rwxrwxr-x
2025-11-16 09:38
Recipe.php
2.91
KB
-rwxrwxr-x
2025-11-16 09:38
Response.php
1.95
KB
-rwxrwxr-x
2025-11-16 09:38
ScriptExecutor.php
4.9
KB
-rwxrwxr-x
2025-11-16 09:38
SymfonyBundle.php
3.66
KB
-rwxrwxr-x
2025-11-16 09:38
SymfonyPackInstaller.php
478
B
-rwxrwxr-x
2025-11-16 09:38
Unpacker.php
8.55
KB
-rwxrwxr-x
2025-11-16 09:38
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\EventDispatcher\ScriptExecutionException; use Composer\IO\IOInterface; use Composer\Semver\Constraint\MatchAllConstraint; use Composer\Util\ProcessExecutor; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\StreamOutput; use Symfony\Component\Process\PhpExecutableFinder; /** * @author Fabien Potencier <fabien@symfony.com> */ class ScriptExecutor { private $composer; private $io; private $options; private $executor; public function __construct(Composer $composer, IOInterface $io, Options $options, ?ProcessExecutor $executor = null) { $this->composer = $composer; $this->io = $io; $this->options = $options; $this->executor = $executor ?: new ProcessExecutor(); } /** * @throws ScriptExecutionException if the executed command returns a non-0 exit code */ public function execute(string $type, string $cmd, array $arguments = []) { $parsedCmd = $this->options->expandTargetDir($cmd); if (null === $expandedCmd = $this->expandCmd($type, $parsedCmd, $arguments)) { return; } $cmdOutput = new StreamOutput(fopen('php://temp', 'rw'), OutputInterface::VERBOSITY_VERBOSE, $this->io->isDecorated()); $outputHandler = function ($type, $buffer) use ($cmdOutput) { $cmdOutput->write($buffer, false, OutputInterface::OUTPUT_RAW); }; $this->io->writeError(\sprintf('Executing script %s', $parsedCmd), $this->io->isVerbose()); $exitCode = $this->executor->execute($expandedCmd, $outputHandler); $code = 0 === $exitCode ? ' <info>[OK]</>' : ' <error>[KO]</>'; if ($this->io->isVerbose()) { $this->io->writeError(\sprintf('Executed script %s %s', $cmd, $code)); } else { $this->io->writeError($code); } if (0 !== $exitCode) { $this->io->writeError(' <error>[KO]</>'); $this->io->writeError(\sprintf('<error>Script %s returned with error code %s</>', $cmd, $exitCode)); fseek($cmdOutput->getStream(), 0); foreach (explode("\n", stream_get_contents($cmdOutput->getStream())) as $line) { $this->io->writeError('!! '.$line); } throw new ScriptExecutionException($cmd, $exitCode); } } private function expandCmd(string $type, string $cmd, array $arguments) { switch ($type) { case 'symfony-cmd': return $this->expandSymfonyCmd($cmd, $arguments); case 'php-script': return $this->expandPhpScript($cmd, $arguments); case 'script': return $cmd; default: throw new \InvalidArgumentException(\sprintf('Invalid symfony/flex auto-script in composer.json: "%s" is not a valid type of command.', $type)); } } private function expandSymfonyCmd(string $cmd, array $arguments) { $repo = $this->composer->getRepositoryManager()->getLocalRepository(); if (!$repo->findPackage('symfony/console', new MatchAllConstraint())) { $this->io->writeError(\sprintf('<warning>Skipping "%s" (needs symfony/console to run).</>', $cmd)); return null; } $console = ProcessExecutor::escape($this->options->get('root-dir').'/'.$this->options->get('bin-dir').'/console'); if ($this->io->isDecorated()) { $console .= ' --ansi'; } return $this->expandPhpScript($console.' '.$cmd, $arguments); } private function expandPhpScript(string $cmd, array $scriptArguments): string { $phpFinder = new PhpExecutableFinder(); if (!$php = $phpFinder->find(false)) { throw new \RuntimeException('The PHP executable could not be found, add it to your PATH and try again.'); } $arguments = $phpFinder->findArguments(); if ($env = (string) getenv('COMPOSER_ORIGINAL_INIS')) { $paths = explode(\PATH_SEPARATOR, $env); $ini = array_shift($paths); } else { $ini = php_ini_loaded_file(); } if ($ini) { $arguments[] = '--php-ini='.$ini; } if ($memoryLimit = (string) getenv('COMPOSER_MEMORY_LIMIT')) { $arguments[] = "-d memory_limit={$memoryLimit}"; } $phpArgs = implode(' ', array_map([ProcessExecutor::class, 'escape'], $arguments)); $scriptArgs = implode(' ', array_map([ProcessExecutor::class, 'escape'], $scriptArguments)); return ProcessExecutor::escape($php).($phpArgs ? ' '.$phpArgs : '').' '.$cmd.($scriptArgs ? ' '.$scriptArgs : ''); } }