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

/home/dev2.destoffenstraat.com/vendor-1/magento/framework/Filesystem/File/

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Filesystem/File/Read.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Filesystem\File; use Magento\Framework\Filesystem\DriverInterface; use Magento\Framework\Exception\FileSystemException; class Read implements ReadInterface { /** * Full path to file * * @var string */ protected $path; /** * Mode to open the file * * @var string */ protected $mode = 'r'; /** * Opened file resource * * @var resource */ protected $resource; /** * @var \Magento\Framework\Filesystem\DriverInterface */ protected $driver; /** * Constructor * * @param string $path * @param DriverInterface $driver */ public function __construct($path, DriverInterface $driver) { $this->path = $path; $this->driver = $driver; $this->open(); } /** * Open file * * @return $this */ protected function open() { $this->assertValid(); $this->resource = $this->driver->fileOpen($this->path, $this->mode); return $this; } /** * Assert file existence * * @return bool * @throws \Magento\Framework\Exception\FileSystemException */ protected function assertValid() { if (!$this->driver->isExists($this->path)) { throw new FileSystemException( new \Magento\Framework\Phrase('The "%1" file doesn\'t exist.', [$this->path]) ); } return true; } /** * Reads the specified number of bytes from the current position. * * @param int $length The number of bytes to read * @return string */ public function read($length) { return $this->driver->fileRead($this->resource, $length); } /** * Return file content * * @param string|null $flag * @param resource|null $context * @return string */ public function readAll($flag = null, $context = null) { return $this->driver->fileGetContents($this->path, $flag, $context); } /** * Reads the line with specified number of bytes from the current position. * * @param int $length The number of bytes to read * @param string $ending [optional] * @return string */ public function readLine($length, $ending = null) { return $this->driver->fileReadLine($this->resource, $length, $ending); } /** * Reads one CSV row from the file * * @param int $length [optional] * @param string $delimiter [optional] * @param string $enclosure [optional] * @param string $escape [optional] * @return array|bool|null */ public function readCsv($length = 0, $delimiter = ',', $enclosure = '"', $escape = '\\') { return $this->driver->fileGetCsv($this->resource, $length, $delimiter, $enclosure, $escape); } /** * Returns the current cursor position * * @return int */ public function tell() { return $this->driver->fileTell($this->resource); } /** * Seeks to the specified offset * * @param int $offset * @param int $whence * @return int */ public function seek($offset, $whence = SEEK_SET) { return $this->driver->fileSeek($this->resource, $offset, $whence); } /** * Checks if the current position is the end-of-file * * @return bool */ public function eof() { return $this->driver->endOfFile($this->resource); } /** * Closes the file. * * @return bool */ public function close() { return $this->driver->fileClose($this->resource); } /** * {@inheritDoc} * * @return array */ public function stat() { return $this->driver->stat($this->path); } }