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:18:50
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/dev2.destoffenstraat.com/vendor-1/magento/framework/HTTP/PhpEnvironment/

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/HTTP/PhpEnvironment/Response.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\Framework\HTTP\PhpEnvironment; /** * Base HTTP response object */ class Response extends \Laminas\Http\PhpEnvironment\Response implements \Magento\Framework\App\Response\HttpInterface { /** * Flag; is this response a redirect? * * @var boolean */ protected $isRedirect = false; /** * @inheritdoc */ public function getHeader($name) { $header = false; $headers = $this->getHeaders(); if ($headers->has($name)) { $header = $headers->get($name); if (is_iterable($header)) { $header = $header[0]; } } return $header; } /** * Send the response, including all headers, rendering exceptions if so requested. * * @return void */ public function sendResponse() { $this->send(); } /** * @inheritdoc */ public function appendBody($value) { $body = $this->getContent(); $this->setContent($body . $value); return $this; } /** * @inheritdoc */ public function setBody($value) { $this->setContent($value); return $this; } /** * Clear body * * @return $this */ public function clearBody() { $this->setContent(''); return $this; } /** * @inheritdoc */ public function setHeader($name, $value, $replace = false) { $value = (string)$value; if ($replace) { $this->clearHeader($name); } $this->getHeaders()->addHeaderLine($name, $value); return $this; } /** * @inheritdoc */ public function clearHeader($name) { $headers = $this->getHeaders(); if ($headers->has($name)) { $headerValues = $headers->get($name); if (!is_iterable($headerValues)) { $headerValues = [$headerValues]; } foreach ($headerValues as $headerValue) { $headers->removeHeader($headerValue); } } return $this; } /** * Remove all headers * * @return $this */ public function clearHeaders() { $headers = $this->getHeaders(); $headers->clearHeaders(); return $this; } /** * @inheritdoc */ public function setRedirect($url, $code = 302) { $this->setHeader('Location', $url, true) ->setHttpResponseCode($code); return $this; } /** * @inheritdoc */ public function setHttpResponseCode($code) { if (!is_numeric($code) || (100 > $code) || (599 < $code)) { throw new \InvalidArgumentException('Invalid HTTP response code'); } $this->isRedirect = (300 <= $code && 307 >= $code); $this->setStatusCode($code); return $this; } /** * @inheritdoc */ public function setStatusHeader($httpCode, $version = null, $phrase = null) { $version = $version === null ? $this->detectVersion() : $version; $phrase = $phrase === null ? $this->getReasonPhrase() : $phrase; $this->setVersion($version); $this->setHttpResponseCode($httpCode); $this->setReasonPhrase($phrase); return $this; } /** * @inheritdoc */ public function getHttpResponseCode() { return $this->getStatusCode(); } /** * Is this a redirect? * * @return boolean */ public function isRedirect() { return $this->isRedirect; } /** * @inheritDoc * * @return string[] * @SuppressWarnings(PHPMD.SerializationAware) */ public function __sleep() { return ['content', 'isRedirect', 'statusCode']; } }