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

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

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

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

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Controller\Result; use Magento\Framework\App\Response\HttpInterface as HttpResponseInterface; use Magento\Framework\Controller\AbstractResult; use Magento\Framework\Translate\InlineInterface; /** * A possible implementation of JSON response type (instead of hardcoding json_encode() all over the place) * Actual for controller actions that serve ajax requests * * @api * @since 100.0.2 */ class Json extends AbstractResult { /** * @var \Magento\Framework\Translate\InlineInterface */ protected $translateInline; /** * @var string */ protected $json; /** * @var \Magento\Framework\Serialize\Serializer\Json */ private $serializer; /** * @param \Magento\Framework\Translate\InlineInterface $translateInline * @param \Magento\Framework\Serialize\Serializer\Json $serializer */ public function __construct( InlineInterface $translateInline, \Magento\Framework\Serialize\Serializer\Json $serializer = null ) { $this->translateInline = $translateInline; $this->serializer = $serializer ?: \Magento\Framework\App\ObjectManager::getInstance() ->get(\Magento\Framework\Serialize\Serializer\Json::class); } /** * Set json data * * @param mixed $data * @param boolean $cycleCheck Optional; whether or not to check for object recursion; off by default * @param array $options Additional options used during encoding * @return $this * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function setData($data, $cycleCheck = false, $options = []) { if ($data instanceof \Magento\Framework\DataObject) { $data = $data->toArray(); } $this->json = $this->serializer->serialize($data); return $this; } /** * @param string $jsonData * @return $this */ public function setJsonData($jsonData) { $this->json = (string)$jsonData; return $this; } /** * {@inheritdoc} */ protected function render(HttpResponseInterface $response) { $this->translateInline->processResponseBody($this->json, true); $response->setHeader('Content-Type', 'application/json', true); $response->setBody($this->json); return $this; } }