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 08:03:35
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

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

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Config/AbstractXml.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Configuration XML-files merger */ namespace Magento\Framework\Config; /** * @api * @since 100.0.2 */ abstract class AbstractXml { /** * Data extracted from the merged configuration files * * @var array */ protected $_data; /** * Dom configuration model * @var \Magento\Framework\Config\Dom */ protected $_domConfig = null; /** * @var \Magento\Framework\Config\DomFactory */ protected $domFactory; /** * Instantiate with the list of files to merge * * @param array $configFiles * @param \Magento\Framework\Config\DomFactory $domFactory * @throws \InvalidArgumentException */ public function __construct( $configFiles, \Magento\Framework\Config\DomFactory $domFactory ) { $this->domFactory = $domFactory; if (empty($configFiles)) { throw new \InvalidArgumentException('There must be at least one configuration file specified.'); } $this->_data = $this->_extractData($this->_merge($configFiles)); } /** * Get absolute path to the XML-schema file * * @return string */ abstract public function getSchemaFile(); /** * Get absolute path to per-file XML-schema file * * @return string */ public function getPerFileSchemaFile() { return null; } /** * Extract configuration data from the DOM structure * * @param \DOMDocument $dom * @return array */ abstract protected function _extractData(\DOMDocument $dom); /** * Merge the config XML-files * * @param array $configFiles * @return \DOMDocument * @throws \Magento\Framework\Exception\LocalizedException If a non-existing or invalid XML-file passed */ protected function _merge($configFiles) { foreach ($configFiles as $key => $content) { try { $this->_getDomConfigModel()->merge($content); } catch (\Magento\Framework\Config\Dom\ValidationException $e) { throw new \Magento\Framework\Exception\LocalizedException( new \Magento\Framework\Phrase( 'The XML in file "%1" is invalid:' . "\n%2\nVerify the XML and try again.", [$key, $e->getMessage()] ) ); } } $this->_performValidate(); return $this->_getDomConfigModel()->getDom(); } /** * Perform xml validation * * @param string $file * @return $this * @throws \Magento\Framework\Exception\LocalizedException If invalid XML-file passed */ protected function _performValidate($file = null) { $errors = []; $this->_getDomConfigModel()->validate($this->getSchemaFile(), $errors); if (!empty($errors)) { $phrase = (null === $file) ? new \Magento\Framework\Phrase('Invalid Document %1%2', [PHP_EOL, implode("\n", $errors)]) : new \Magento\Framework\Phrase('Invalid XML-file: %1%2%3', [$file, PHP_EOL, implode("\n", $errors)]); throw new \Magento\Framework\Exception\LocalizedException($phrase); } return $this; } /** * Get Dom configuration model * * @return \Magento\Framework\Config\Dom * @throws \Magento\Framework\Config\Dom\ValidationException */ protected function _getDomConfigModel() { if (null === $this->_domConfig) { $this->_domConfig = $this->domFactory->createDom( [ 'xml' => $this->_getInitialXml(), 'idAttributes' => $this->_getIdAttributes(), 'schemaFile' => $this->getPerFileSchemaFile() ] ); } return $this->_domConfig; } /** * Get XML-contents, initial for merging * * @return string */ abstract protected function _getInitialXml(); /** * Get list of paths to identifiable nodes * * @return array */ abstract protected function _getIdAttributes(); }