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 15:21:55
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

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

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

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

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Resolve URN path to a real schema path */ namespace Magento\Framework\Config\Dom; use Magento\Framework\Component\ComponentRegistrar; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Exception\NotFoundException; use Magento\Framework\Phrase; /** * @api * @since 100.0.2 */ class UrnResolver { /** * Get real file path by it's URN reference * * @param string $schema * @return string * @throws NotFoundException */ public function getRealPath($schema) { if (strpos($schema, 'urn:') !== 0) { return $schema; } $componentRegistrar = new ComponentRegistrar(); $matches = []; $modulePattern = '/urn:(?<vendor>([a-zA-Z]*)):module:(?<module>([A-Za-z0-9\_]*)):(?<path>(.+))/'; $frameworkPattern = '/urn:(?<vendor>([a-zA-Z]*)):(?<framework>(framework[A-Za-z\-]*)):(?<path>(.+))/'; $setupPattern = '/urn:(?<vendor>([a-zA-Z]*)):(?<setup>(setup[A-Za-z\-]*)):(?<path>(.+))/'; if (preg_match($modulePattern, $schema, $matches)) { //urn:magento:module:Magento_Catalog:etc/catalog_attributes.xsd $package = $componentRegistrar ->getPath(ComponentRegistrar::MODULE, $matches['module']); } elseif (preg_match($frameworkPattern, $schema, $matches)) { //urn:magento:framework:Module/etc/module.xsd //urn:magento:framework-amqp:Module/etc/module.xsd $package = $componentRegistrar ->getPath(ComponentRegistrar::LIBRARY, $matches['vendor'] . '/' . $matches['framework']); } elseif (preg_match($setupPattern, $schema, $matches)) { //urn:magento:setup: $package = $componentRegistrar ->getPath(ComponentRegistrar::SETUP, $matches['vendor'] . '/' . $matches['setup']); } else { throw new NotFoundException(new Phrase("Unsupported format of schema location: '%1'", [$schema])); } $schemaPath = $package . '/' . $matches['path']; if (empty($package) || !file_exists($schemaPath)) { throw new NotFoundException( new Phrase("Could not locate schema: '%1' at '%2'", [$schema, $schemaPath]) ); } return $schemaPath; } /** * Callback registered for libxml to resolve URN to the file path * * @param string $public * @param string $system * @param array $context * @return resource * @throws LocalizedException * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function registerEntityLoader($public, $system, $context) { if (strpos($system, 'urn:') === 0) { $filePath = $this->getRealPath($system); } else { if (file_exists($system)) { $filePath = $system; } else { throw new LocalizedException(new Phrase("File '%system' cannot be found", ['system' => $system])); } } return fopen($filePath, "r"); } }