Kernel : Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
Disable function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Safe mode : OFF
Host : diestoffstrasse.com | Server ip : 127.0.0.1 | Your ip : 127.0.0.1 | Time @ Server : 24 Aug 2025 00:35:06
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/dev2.destoffenstraat.com/vendor-1/magento/framework/Backup/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Backup/Snapshot.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Class to work with full filesystem and database backups * * @author Magento Core Team <core@magentocommerce.com> */ namespace Magento\Framework\Backup; use Exception; use Magento\Framework\App\Filesystem\DirectoryList; use Magento\Framework\Filesystem as AppFilesystem; class Snapshot extends Filesystem { /** * Database backup manager * * @var Db */ protected $_dbBackupManager; /** * Filesystem facade * * @var AppFilesystem */ protected $_filesystem; /** * @var Factory */ protected $_backupFactory; /** * @param AppFilesystem $filesystem * @param Factory $backupFactory */ public function __construct(AppFilesystem $filesystem, Factory $backupFactory) { $this->_filesystem = $filesystem; $this->_backupFactory = $backupFactory; } /** * Implementation Rollback functionality for Snapshot * * @throws Exception * @return bool */ public function rollback() { $result = parent::rollback(); $this->_lastOperationSucceed = false; try { $this->_getDbBackupManager()->rollback(); } catch (Exception $e) { $this->_removeDbBackup(); throw $e; } $this->_removeDbBackup(); $this->_lastOperationSucceed = true; return $result; } /** * Implementation Create Backup functionality for Snapshot * * @throws Exception * @return bool */ public function create() { $this->_getDbBackupManager()->create(); try { $result = parent::create(); } catch (Exception $e) { $this->_removeDbBackup(); throw $e; } $this->_lastOperationSucceed = false; $this->_removeDbBackup(); $this->_lastOperationSucceed = true; return $result; } /** * Overlap getType * * @return string * @see BackupInterface::getType() */ public function getType() { return 'snapshot'; } /** * Create Db Instance * * @return BackupInterface */ protected function _createDbBackupInstance() { return $this->_backupFactory->create(Factory::TYPE_DB) ->setBackupExtension('sql') ->setTime($this->getTime()) ->setBackupsDir($this->_filesystem->getDirectoryWrite(DirectoryList::VAR_DIR)->getAbsolutePath()) ->setResourceModel($this->getResourceModel()); } /** * Get database backup manager * * @return Db */ protected function _getDbBackupManager() { if ($this->_dbBackupManager === null) { $this->_dbBackupManager = $this->_createDbBackupInstance(); } return $this->_dbBackupManager; } /** * Set Db backup manager * * @param AbstractBackup $manager * @return $this */ public function setDbBackupManager(AbstractBackup $manager) { $this->_dbBackupManager = $manager; return $this; } /** * Get Db Backup Filename * * @return string */ public function getDbBackupFilename() { return $this->_getDbBackupManager()->getBackupFilename(); } /** * Remove Db backup after added it to the snapshot * * @return $this */ protected function _removeDbBackup() { @unlink($this->_getDbBackupManager()->getBackupPath()); return $this; } }