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

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

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

File Path : /home/dev2.destoffenstraat.com/vendor-1/magento/framework/Archive/AbstractArchive.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Class to work with archives * * @author Magento Core Team <core@magentocommerce.com> */ namespace Magento\Framework\Archive; class AbstractArchive { /** * Write data to file. If file can't be opened - throw exception * * @param string $destination * @param string $data * @return true * @throws \Exception */ protected function _writeFile($destination, $data) { $destination = trim($destination); if (false === file_put_contents($destination, $data)) { throw new \Exception("Can't write to file: " . $destination); } return true; } /** * Read data from file. If file can't be opened, throw to exception. * * @param string $source * @return string * @throws \Magento\Framework\Exception\LocalizedException */ protected function _readFile($source) { $data = ''; if (is_file($source) && is_readable($source)) { $data = @file_get_contents($source); if ($data === false) { throw new \Magento\Framework\Exception\LocalizedException( new \Magento\Framework\Phrase("Can't get contents from: %1", [$source]) ); } } return $data; } /** * Get file name from source (URI) without last extension. * * @param string $source * @param bool $withExtension * @return string */ public function getFilename($source, $withExtension = false) { $file = str_replace(dirname($source) . '/', '', $source); if (!$withExtension) { $file = substr($file, 0, strrpos($file, '.')); } return $file; } }