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 07:30:22
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/dev2.destoffenstraat.com/vendor-1/magento/framework/Webapi/Rest/Request/Deserializer/

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Webapi/Rest/Request/Deserializer/Xml.php

<?php /** * XML deserializer of REST request content. * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Webapi\Rest\Request\Deserializer; use Magento\Framework\App\State; use Magento\Framework\Phrase; class Xml implements \Magento\Framework\Webapi\Rest\Request\DeserializerInterface { /** * @var \Magento\Framework\Xml\Parser */ protected $_xmlParser; /** * @var \Magento\Framework\App\State */ protected $_appState; /** * @param \Magento\Framework\Xml\Parser $xmlParser * @param State $appState */ public function __construct(\Magento\Framework\Xml\Parser $xmlParser, State $appState) { $this->_xmlParser = $xmlParser; $this->_appState = $appState; } /** * Load error string. * * Is null if there was no error while loading * * @var string */ protected $_errorMessage = null; /** * Convert XML document into array. * * @param string $xmlRequestBody XML document * @return array Data converted from XML document to array. Root node is excluded from response. * @throws \InvalidArgumentException In case of invalid argument type. * @throws \Magento\Framework\Webapi\Exception If decoding error occurs. */ public function deserialize($xmlRequestBody) { if (!is_string($xmlRequestBody)) { throw new \InvalidArgumentException( sprintf('"%s" data type is invalid. String is expected.', gettype($xmlRequestBody)) ); } /** Disable external entity loading to prevent possible vulnerability */ $previousLoaderState = libxml_disable_entity_loader(true); set_error_handler([$this, 'handleErrors']); $this->_xmlParser->loadXML($xmlRequestBody); restore_error_handler(); libxml_disable_entity_loader($previousLoaderState); /** Process errors during XML parsing. */ if ($this->_errorMessage !== null) { if ($this->_appState->getMode() !== State::MODE_DEVELOPER) { $exceptionMessage = new Phrase('Decoding error.'); } else { $exceptionMessage = new Phrase('Decoding Error: %1', [$this->_errorMessage]); } throw new \Magento\Framework\Webapi\Exception($exceptionMessage); } $data = $this->_xmlParser->xmlToArray(); /** Data will always have exactly one element so it is safe to call reset here. */ return reset($data); } /** * Handle any errors during XML loading. * * @param integer $errorNumber * @param string $errorMessage * @param string $errorFile * @param integer $errorLine * @return void * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function handleErrors($errorNumber, $errorMessage, $errorFile, $errorLine) { if ($this->_errorMessage === null) { $this->_errorMessage = $errorMessage; } else { $this->_errorMessage .= $errorMessage; } } }